[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tset?



> As I sometimes use the first box in local mode I want the screen size to
> depend on how I access it and I want it to stick when I su to root. 

I generally put something like this in login files (as well as aliasing it to 'rs'):

eval `resize`
stty cols $COLUMNS rows $LINES

You may find it useful to do conditional checking on the terminal type before doing this or your fixed configuration.


Reply to: