LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 07-20-2013, 03:10 AM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: Debian
Posts: 275

Rep: Reputation: 39
Survey : rows & columns values of your Terminal?


Hi Guys, I would like to survey the columns and rows values
of your favorite terminal. It may be under the console or X11, but also on BSD, Mac OS X, ... Amiga, Atari, ... handheld (N900,Zaurus,...)...

In Bash you may get the values by:

#!/bin/bash
echo "Lines: " $LINES
echo "Columns: " $COLUMNS

Please post these values (if possible with the machine [optional]).

Best regards
Pat
 
Old 07-20-2013, 05:07 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
"rows & columns values of your Terminal?" seems to indicate that there's only one terminal, which in my case isn't true.

For all three of my boxes: Console -> 80X25

My Debian box:

Terminal: Depending on the tasks I'm about to perform I've got 3 different terminal (xterm) settings:
- 80X70 ("default")
- 80X40 (will fit 2 horizontally, next to browser)
- 90X79 (will fit 3, vertically, on one screen)

The first and third are available by short-cut keys, the second from the task bar.

The other PC (LFS) is basically the same (third one is 90X90, due to a bigger screen)

My laptop (MacBookPro running Debian) only has the first 2.
 
Old 07-20-2013, 09:24 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
I seriously can't tell you and running your script (which by the way should be in code-tags) would be meaningless. I am using a tiling WM, the number of rows and columns changes with the number and size of tiles I have on any given workspace.
 
Old 07-20-2013, 01:00 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
The standard minimum number of columns is 80 on *nix machines, and maybe others.

The height varies, I mean I can change it myself.

Note that kernel 'make menuconfig' requires at least 19 lines by 80 columns.

My current height is 24 on the terminal.
 
Old 07-20-2013, 01:34 PM   #5
patrick295767
Member
 
Registered: Feb 2006
Distribution: Debian
Posts: 275

Original Poster
Rep: Reputation: 39
The default xterm is about 80 x 24

and into the console I have : 200 x 80
(framebuffer)

For this, you may press on : alt + f1


What about over putty?
 
Old 07-24-2013, 09:35 PM   #6
Habitual
Senior Member
 
Registered: Jan 2011
Distribution: Undecided
Posts: 3,619
Blog Entries: 1

Rep: Reputation: Disabled
Code:
Absolute upper-left X:  226
  Absolute upper-left Y:  53
  Relative upper-left X:  1
  Relative upper-left Y:  22
  Width: 1179
  Height: 989
  Depth: 32
  Visual: 0x104
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x400003 (not installed)
  Bit Gravity State: NorthWestGravityAbsolute upper-left X:  226
  Absolute upper-left Y:  53
  Relative upper-left X:  1
  Relative upper-left Y:  22
  Width: 1179
  Height: 989
  Depth: 32
  Visual: 0x104
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x400003 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +226+53  -195+53  -195-158  +226-158
  -geometry 107x47+225+31

  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +226+53  -195+53  -195-158  +226-158
  -geometry 107x47+225+31
Go "figure"
 
Old 07-25-2013, 02:52 AM   #7
fogpipe
Member
 
Registered: Mar 2011
Distribution: Slackware 64 -current multilib
Posts: 360

Rep: Reputation: 95
80x24 on both urxvt and xterm on slack 14 current on a pentium D with a 24" monitor. The console is also 80X24. I like nice big letters, my eyes arent that good the last decade or so.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] transposing rows to columns wilelucho Programming 6 03-29-2013 09:10 AM
[SOLVED] Creating columns from every 4 rows kbensch Linux - General 7 05-19-2012 12:35 PM
Formatting rows and columns kdelover Programming 4 08-31-2010 03:56 AM
columns & rows Ammad Linux - General 1 08-08-2005 05:02 AM
rows and columns digitalgravy Linux - General 2 03-16-2004 07:47 PM


All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration