* Configuring network terminal logins
@ 1997-02-05 5:00 Information Services
1997-02-06 5:00 ` Phil Farrell
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Information Services @ 1997-02-05 5:00 UTC (permalink / raw)
We're trying to set up some VT terminals to log into a DUNIX 3.2g box.
When the user tries to log in and makes a mistake, s/he naturally hits
Backspace to delete the character and instead gets a ^?.
When we do this on a serial-wired terminal it's OK.
We've tried altering gettydefs and inittab, but can't find where we can
map Backspace correctly.
Any pointers would be greatly appreciated
--
Warren Oldroyd
Information Services
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Configuring network terminal logins
1997-02-05 5:00 Configuring network terminal logins Information Services
@ 1997-02-06 5:00 ` Phil Farrell
1997-02-06 5:00 ` Erich Wimmer
1997-02-08 5:00 ` Warren Oldroyd
2 siblings, 0 replies; 4+ messages in thread
From: Phil Farrell @ 1997-02-06 5:00 UTC (permalink / raw)
To: Information Services
The 'erase' character is set by the stty command, usually in
your .login file.
stty erase ^H
sets it to the CONTROL-H, which is the "normal" backspace key.
stty erase ^?
sets it to the DELETE key.
You should be able to test where the user is logged in from
in the .login file and issue the appropriate stty command.
--
Phil Farrell, Computer Systems Manager
Stanford University School of Earth Sciences
farrell@pangea.stanford.edu
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Configuring network terminal logins
1997-02-05 5:00 Configuring network terminal logins Information Services
1997-02-06 5:00 ` Phil Farrell
@ 1997-02-06 5:00 ` Erich Wimmer
1997-02-08 5:00 ` Warren Oldroyd
2 siblings, 0 replies; 4+ messages in thread
From: Erich Wimmer @ 1997-02-06 5:00 UTC (permalink / raw)
Information Services wrote:
......
> map Backspace correctly.
try "stty erase <code>" (code = just type key you wan't to act as BS)
insert this command in /etc/profile or .profile depending on terminal
type.
--
Erich Wimmer
MCS AUI1
Wien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Configuring network terminal logins
1997-02-05 5:00 Configuring network terminal logins Information Services
1997-02-06 5:00 ` Phil Farrell
1997-02-06 5:00 ` Erich Wimmer
@ 1997-02-08 5:00 ` Warren Oldroyd
2 siblings, 0 replies; 4+ messages in thread
From: Warren Oldroyd @ 1997-02-08 5:00 UTC (permalink / raw)
Sorry I didn't make this completely clear. Thanks for responses, but
it's not what I'm after!
I'm talking about when the user makes a mistake logging in, ie if they
type their login name or password wrongly. At this point no .login or
.profile has run, so the terminal cannot be set from an stty line in the
login script.
I've since spoken to someone at Digital who says that it cannot be done.
Apparently it's fixed in v4 of DUNIX.
Of course, if anyone know different....?
In article <1AVykCAAiK+yEwm$@iskmc.demon.co.uk>, Information Services
<support@iskmc.demon.co.uk> writes
>We're trying to set up some VT terminals to log into a DUNIX 3.2g box.
>When the user tries to log in and makes a mistake, s/he naturally hits
>Backspace to delete the character and instead gets a ^?.
>
>When we do this on a serial-wired terminal it's OK.
>
>We've tried altering gettydefs and inittab, but can't find where we can
>map Backspace correctly.
>
>Any pointers would be greatly appreciated
--
Warren Oldroyd (aka Information Services!)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-02-08 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-05 5:00 Configuring network terminal logins Information Services
1997-02-06 5:00 ` Phil Farrell
1997-02-06 5:00 ` Erich Wimmer
1997-02-08 5:00 ` Warren Oldroyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox