tech-x11 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: delete key funny character
> im having an isaue in xterm where the delete key shows ^? instead of
> normal behavior.
This sounds to me as though either (a) you've got ICANON turned off or
(b) your erase character is set to something other than delete. At
least, those are the commonest cases in my (admittedly limited)
experience which produce that symptom.
Try "stty everything" and see if (a) icanon is turned on in lflags (it
says icanon rather than -icanon) and (b) what your erase character is
("erase" in the character section).
Depending on how you start xterm, where this comes from may vary, and
there probably are other things it may vary with (such as X and OS
version), so I can't really say much about fixing it at the source.
But to fix the symptom, you could probably stty icanon, or
stty erase ^?, or the like, depending on what's wrong. (You may need
to write ^? as \^\? or some such, depending on your shell.)
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index