Re: stty and sockets

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



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
connections:

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''.

Bill
-- 
INTERNET:   bill@xxxxxxxxxxxxx  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
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux