[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BASH trivia
If you use PuTTY from Windows machines to telnet/ssh into systems, if you want
the shell to be aware of when you've "zoomed" a window or maximized it (in
Win2K, just double-click on the title-bar -- it doesn't "shade" like KDE/GNOME
do), set this option:
shopt -s checkwinsize
If you're in the middle of a vim session, vim will re-paint the screen with
line-wrapping reflecting the new size.
It will even re-wrap the scrollback history to be adjusted to the new size!
Very useful when doing long listings 'ls -al' and the filenames start wrapping
on you.
Also very handy when you've got several sessions visible on your desktop at the
same time. Double-click on the title-bar of the session of interest, and you've
got all the terminal real estate you can use. Another double-click restores it
to the original size (usually 80x25, unless you've adjusted it).
BTW, these are up on the kwiki at http://www.archlug.org/kwiki/CommandLineKwikis
Mike/
---------------------------------------------
http://www.valuenet.net
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.