0

When I use reset in gnome-terminal (bash, Ubuntu 9.04), the window width resets, though the height does not. On my personal computer, this does not happen in xterm or konsole. On my work computer (RHEL 5 or maybe 4), this does not happen in any terminals, including gnome-terminal. I assume there is some environment variable that controls this, but my .bashrc at work is hundreds of lines long, so I'm not sure where to look in there.

3
  • What is TERM set to? May 13, 2010 at 10:33
  • xterm, on my home machine; will check at work later
    – monguin
    May 14, 2010 at 3:33
  • xterm on my work machine as well.
    – monguin
    May 14, 2010 at 16:23

1 Answer 1

0

To check your current terminal size settings use:

stty size

You'll get something like this:

$ stty size
70 196

If your width is smaller than it should be, then you can change your terminals height and width with this command:

stty rows 70 cols 200; reset

or just width:

stty cols 200; reset

Where 200 is the new width.

But resizing your gnome-terminal will most like change cols setting again. And this does not solve the underlying problem.

Also I could not reproduce this problem with gnome-terminal 3.0.1-0ubuntu3 from ubuntu oneiric.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .