[Gllug] del/backspace in 'write'

Alain Williams addw at phcomp.co.uk
Mon Sep 17 15:33:08 UTC 2001


On Mon, Sep 17, 2001 at 11:09:35AM -0400, SteveC wrote:
> On Mon, 17 Sep 2001, Alain Williams wrote:
> > Keyboard mapping is one thing, what are your terminal settings ?
> > 	stty -a
> 
> Interesting! [reads man stty] Does this look good?: (debian potato)
> 
> steve at bartgs186:~$ stty -a
> speed 38400 baud; rows 24; columns 80; line = 0;
> intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 =
                                **
This shows that your erase character is the delete character, I forget which one you
were trying to use ? One good way of seeing what characters are generated is to run
the command:
	od -c
	>>X<<
Where X is the character that you want to know about. The point is that all too
often DEL (or something) gets mapped to an escape sequence.

> M-^?;
> 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
> 
> 
> have fun,
> 
> SteveC steve at fractalus.com fractalus.com/steve stevecoast at hushmail.com
> 
> 
> -- 
> Gllug mailing list  -  Gllug at linux.co.uk
> http://list.ftech.net/mailman/listinfo/gllug
> 
> 

-- 
Alain Williams

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list