13.3. Using stty

Stty is a command that lets you set up your terminal characteristics. To find out what your current stty options are, use stty -a.

						$ stty -a 
speed 9600 baud; rows 24; columns 80; 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
					

One of the most common problems when setting ...

Get Linux and Unix Shell Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.