[olug] stty?

Vincent vincentr at cox.net
Sat Jul 5 19:36:21 UTC 2003


This sets the terminal's behavior and environment.

A common manual use is to change the default row and column settings in a terminal.
Let's say you're in a serial console and want more room on the screen than your default (25x80).
Just do this:
stty rows 50 cols 120; LINES=50; COLUMNS=120

You can also have a lot of fun by dropping erase, kill, echo or quit stty commands into someone else's .bashrc file.  :)


----- Original Message ----- 
From: "CM Miller" <cmmiller1973 at yahoo.com>
To: <olug at olug.org>
Sent: Friday, July 04, 2003 3:54 PM
Subject: [olug] stty?


> 
> 
> Can someone please explain what stty is/does? 
> 
> I've read the man pages, but didn't get much info.
> from it. 
> 
> Here is my ssty output: 
> 
> [cmmiller at phoenix cmmiller]$ stty -a
> speed 38400 baud; rows 22; columns 94; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D;
> eol = <undef>; eol2 = <undef>;
> start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
> ^W; lnext = ^V; flush = ^O;
> min = 1; time = 0;
> -parenb -parodd cs8 -hupcl -cstopb cread -clocal
> -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr
> -igncr icrnl -ixon -ixoff -iuclc -ixany
> -imaxbel
> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel
> nl0 cr0 tab0 bs0 vt0 ff0
> isig icanon iexten echo echoe echok -echonl -noflsh
> -xcase -tostop -echoprt echoctl echoke
> 
> 
> =====
> GTFG
> 
> GAIM ID:  cmmiller1973
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


More information about the OLUG mailing list