-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, Sep 2, 2008 at 9:32 PM, Aaron Davies wrote: > this is trivial, but it's been bugging me for a while. when i add a > bunch of screens at once from inside a running screen (using a shell > loop or something) all but the first don't resize to match the > terminal window until they're focused--when i first jump to them, if > it's running a shell, the prompt will be positioned 24 lines from the > bottom of the window, not at the top; if it's running a curses app, it > will be sized for 24x80; etc. Also, my caption won't add any but the > first new screen until I change screens again (or issue :redisplay). > Any way around either of these? (i should mention i'm running screen > 4.00.02, the stock version for SuSE 9.3, so if these are fixed in HEAD > or something, that's cool too. :) If you have your COLUMNS and LINES environment variables populated, screen honors them. I tried this in my .tcshrc file (which would be much much simpler to express in your .bashrc file) and it seems to solve that annoyance just fine. set screen_size = ( `stty size` ) if ( ! $?LINES && ! $?COLUMNS ) then foreach element ( $screen_size ) if ( ! $?LINES ) then setenv LINES $element endif if ( ! $?COLUMNS ) then setenv COLUMNS $element endif end endif - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://getfiregpg.org iD8DBQFIvspXNTm8fWdRgmIRApMGAKCBlZ6Tf7noznRHYdzQmcFUffljpwCfdTxD 80XxC4mfSKFMMZcMUpaUPdU= =PCrX -----END PGP SIGNATURE----- _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users