Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Telnet using VT100,vt100 and Del key

419 views
Skip to first unread message

Charles Wilkins

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to
Hi,

When I telnet to my RedHat-6.1 or Mandrake-6.1using certain versions
of vt100 or VT100 telnet, I find that the Delete key acts like the
Backspace key. This does not occur if I telnet from another linux box.

Is there a way to correct this for the vt100, VT100 Telnet session?

Feel free to e-mail me direct.
Thanks,
Charles

Raymond Doetjes

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to
There are 2 solutions for this, first of all most good terminal emulation
software allows you to configure the delete key to act either as a backspace
or a delete. The other solution is to create an extra entry in the termcap
that handles this issue correctly. But that will be a bad thing to do assoon
as you have seen the termcap file :) Besides the problem is that 99% of the
so called VT100 terminal emultaors aren't completly VT100 compliant and the
change keyboard maps and problems with scrolling occur. I suggest that you
get your self a good terminal emulator that allows you to configure your
keyboard (SmartTerm and Reflection can do that also cheaper telnet emulators
from Chameleon handle the Unix VT100 dialext good)

Raymond

Charles Wilkins <ch...@pcscs.com> schreef in berichtnieuws
3843914b...@news.supernews.com...

jj

unread,
Nov 30, 1999, 3:00:00 AM11/30/99
to

try erase stty ^H


ch...@pcscs.com (Charles Wilkins) wrote in
<3843914b...@news.supernews.com>:

NF Stevens

unread,
Dec 1, 1999, 3:00:00 AM12/1/99
to
ch...@pcscs.com (Charles Wilkins) wrote:

>Hi,
>
>When I telnet to my RedHat-6.1 or Mandrake-6.1using certain versions
>of vt100 or VT100 telnet, I find that the Delete key acts like the
>Backspace key. This does not occur if I telnet from another linux box.
>
>Is there a way to correct this for the vt100, VT100 Telnet session?
>

Linux's handling of backspace and delete is totally broken.
You need to change the keymaps so that the backspace key
actually generates a backspace character and the delete
key generates a delete character. Add "stty erase ^H" to your
.profile. If you want backspace to work correctly during login
you'll need to either hack mingetty or change the kernel so
that the default erase character is ^H.

Norman

Michael Fischer

unread,
Dec 5, 1999, 3:00:00 AM12/5/99
to
Charles Wilkins wrote:

> The bash prompt, however, still has the messed up Del key that
> behaves like the backspace key.
>
> Do you know specifically how to correct this?

These problems can crop up on systems other than Linux.
Re configure you telnet app. I had to do this telneting
to a RH box from Windoze 98. The thing is the app's
preferences/config/what-have-you.

Luck.


Charles Wilkins

unread,
Dec 6, 1999, 3:00:00 AM12/6/99
to


I have tried three different telnet apps and they all do the same
thing.

--Charles

NF Stevens

unread,
Dec 6, 1999, 3:00:00 AM12/6/99
to
ch...@pcscs.com (Charles Wilkins) wrote:

[snip]

>Hi Norman,
>Thanks for this tip. It has had a positive effect on the Del key in
>vi. The bash prompt, however, still has the messed up Del key that


>behaves like the backspace key.
>
>Do you know specifically how to correct this?

I don't use bash myself. There's a good version of the korn shell
(pdksh) which you could use instead.

Norman

Thomas Zajic

unread,
Dec 6, 1999, 3:00:00 AM12/6/99
to
On Fri, 03 Dec 1999 17:40:21 GMT, Charles Wilkins wrote:

> Thanks for this tip. It has had a positive effect on the Del key in
> vi. The bash prompt, however, still has the messed up Del key that
> behaves like the backspace key.
> Do you know specifically how to correct this?

[zlatko@sphere]:~$ cat ~/.inputrc
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
set meta-flag on
set convert-meta off
set output-meta on

Works Fine For Me[tm], YMMV. <http://www.ibbnet.nl/~anne/keyboard.html>
might help as well.

HTH,
Thomas
--
=-------------------------------------------------------------------------=
- Thomas Zajic <thomasDOTzajicATtelewebDOTat> Linux-2.0.38/slrn-0.9.5.7 -
- "It is not easy to cut through a human head with a hacksaw." (M. C.) -
=-------------------------------------------------------------------------=

0 new messages