[6714] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: TERM - Fixed !

daemon@ATHENA.MIT.EDU (Allen Francom)
Fri Nov 29 17:13:22 1996

Date: Sat, 30 Nov 1996 06:18:29 -0800 (PST)
From: Allen Francom <redhat_list@numedics.com>
To: redhat-list@redhat.com
cc: redhat-list@redhat.com
In-Reply-To: <Pine.SOL.3.95.961129164039.12234A-100000@chaos>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



Thank you Sheldon.


That did the trick.  Obviously something I never read somewhere...

Hit delete, hit delete, gotta remember to hit delete...


THX
-AEF


On Fri, 29 Nov 1996, Sheldon E. Newhouse wrote:

> 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
> 


--
  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


home help back first fref pref prev next nref lref last post