LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (http://www.linuxquestions.org/questions/general-10/)
-   -   Survey : rows & columns values of your Terminal? (http://www.linuxquestions.org/questions/general-10/survey-rows-and-columns-values-of-your-terminal-4175470278/)

patrick295767 07-20-2013 02:10 AM

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

druuna 07-20-2013 04:07 AM

"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.

TobiSGD 07-20-2013 08:24 AM

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.

H_TeXMeX_H 07-20-2013 12:00 PM

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.

patrick295767 07-20-2013 12:34 PM

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?

Habitual 07-24-2013 08:35 PM

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" :)

fogpipe 07-25-2013 01:52 AM

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.


All times are GMT -5. The time now is 05:45 AM.