[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backspace and delete
- To: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>, "Tzafrir Cohen" <tzafrir(at-nospam)technion.ac.il>
- Subject: Re: backspace and delete
- From: "Shachar Shemesh" <linuxil(at-nospam)consumer.org.il>
- Date: Tue, 7 Aug 2001 17:49:08 +0200
- Cc: "Linux-IL Mailing List" <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- References: <Pine.GSO.3.95-heb-2.07.1010807153837.6812L-100000@csd> <20010807164230.B2260@leeor.math.technion.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
Ahh, now if you thought Nadav's explanation was difficult, let's add some
more junk to the pile.
The standard with most linux terminals is a ^?, while most windows terminals
default to ^H. there is also no way to change the setting until you log in,
so making a mistake while typing your username (or worst - password) is
sometimes unrectifiable.
It would have been possible to do the setty in the login script, only, as
mentioned, it cannot be the same script when connecting from Windows or
Linux.
If that's not frustrating enough, most shells will accept either ^H or ^?,
regardless of setty options, which means you only find out you are
misconfigured after you started FTP, and now have to quit, setty, and
resume.
My solution? I use putty, which not only is free (beer and speach), supports
SSH, and is the best telnet emulation I've seen for Windows, it is identical
in behaviour to almost all linux terminals, which allows you to bypass
almost all of these problems. Not only do backspace and delete work out of
the box, so do end, home, and the alt-key combinations.
Shachar
----- Original Message -----
From: "Nadav Har'El" <nyh@math.technion.ac.il>
To: "Tzafrir Cohen" <tzafrir@technion.ac.il>
Cc: "Linux-IL Mailing List" <linux-il@linux.org.il>
Sent: Tuesday, August 07, 2001 3:42 PM
Subject: Re: backspace and delete
>
> XTerm*VT100*backarrowKey: true
> XTerm*VT100*deleteIsDEL: true
> XTerm*VT100*ttyModes: intr^? erase^H
>
> Other terminal emulators should have similar configuration parameters.
> But again, these are not necessary: you can live with whatever character
> the terminal emulator generates (but only if it generates one character
and
> not a multi-character escape sequence!!) and teach the kernel and
applications
> to recognize it, using the stty command.
>
> I hope this "article" helps ;)
>
> --
> Nadav Har'El | Tuesday, Aug 7 2001, 18 Av
5761
> nyh@math.technion.ac.il
|-----------------------------------------
> Phone: +972-53-245868, ICQ 13349191 |Help Wanted: Telepath. You know where
to
> http://nadav.harel.org.il |apply.
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il