Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
What is TERM set to? –  Dennis Williamson May 13 '10 at 10:33
    
xterm, on my home machine; will check at work later –  monguin May 14 '10 at 3:33
    
xterm on my work machine as well. –  monguin May 14 '10 at 16:23
add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.