[6710] in RedHat Linux List
Re: TERM - Point me in right direction ?
daemon@ATHENA.MIT.EDU (Sheldon E. Newhouse)
Fri Nov 29 16:47:43 1996
Date: Fri, 29 Nov 1996 16:46:42 -0500 (EST)
From: "Sheldon E. Newhouse" <sen1@math.msu.edu>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.91.961130033654.10938A-100000@numedics.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Sat, 30 Nov 1996, Allen Francom wrote:
> > > When I login to Linux machines I've built, the default behavior of
> > > LOGIN does not allow for vt100 backspace, so I get ^H and can't
> > > effectively edit a login: password: if I make a mistake in the process.
> > >
> > > Is there a way... Correction, what is the way to fix this ?
> > Try
> > stty dec
> > in your startup file. (e.g. .bash_profile or .bashrc )
> >
> > Also, try
> > man stty
> > and look at erase, echoe.
> >
> > -sen
> >
> > ---------------------------------------------------------------------------
> > | Sheldon E. Newhouse | e-mail: sen1@math.msu.edu |
> > ---------------------------------------------------------------------------
>
>
> Aha ! I haven't had coffee yet, but a few new cells started working...
>
> What if were to say:
>
> "When I telnet onto my host and get a login prompt, if I mistype
> my username it won't let me edit it, and I have to hit return
> and follow the path of failure..."
>
> ???
>
> Then it is not a problem with the console devices tty1..etc., and MAY NOT
> BE a problem with regular GETTY.
>
> It is definitely a problem with telnet. Maybe on the client side ?
>
> No, wait. I can do just about everything right once I login and TERM
> is set.
>
> How do I set TERM before someone logs-in via telnet, I guess is the
> real question.
Sorry about my previous post. I did not read your message carefully. I
tried my telnets and logins. Here is my situation.
If I make a mistake at the login prompt, then 'Bksp' gives me 'Ctrl-H',
but 'delete' does move me back.
Also, I can erase the whole line and start over with 'Ctrl-U'
Same for passwd: prompt.
That is good enough for me. For security reasons, I'd be leery of
tampering with the keyboard settings on logins.
Is this closer to what your question was about?
-sen
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1@math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null