stty and sockets
On Wed, Mar 18, 2009, Jerry Geis wrote:
>With local com ports I can use stty to inspect the port settings.
>Is there a similiar method with a socket connection?
You can use stty with socket connections as well for many
settings (e.g. erase, kill, intr). I have this in my ~/XTerm
file to set what I consider sane values when making xterm
XTerm*ttyModes: intr ^C erase ^H kill ^U
These can also be set at the command line with:
stty intr '^C' erase '^H' kill '^U'
To see what the settings are ``stty -a'.
INTERNET: email@example.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
Voice: (206) 236-1676 Mercer Island, WA 98040-0820
Fax: (206) 232-9186
Foreign aid might be defined as a transfer from poor people in rich
countries to rich people in poor countries -- Douglas Casey
CentOS mailing list