"Thomas Adam" <[EMAIL PROTECTED]> writes: > 2008/8/7 Micah Cowan <[EMAIL PROTECTED]>: >> However, if you use bash, it will set _shell_ variables, COLUMNS and >> LINES, automatically. This isn't something that screen does, but bash. >> Bash does _not_ export these by default, however; you'll need to do >> >> $ export COLUMNS LINES > > Rather unportably between Unixes: > > eval $(resize)
resize requires having a terminal type that actually does xterm-style answerback, which as at best a "maybe". What you *really* want is the output of stty: $ stty -a |grep rows speed 38400 baud; rows 56; columns 144; line = 0; because it's a property of the tty, and changed there - putting the values in the environment is an old and not-really-workable hack. _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
