Backspace not mapped (^H) at telnet login prompt.
We are running RHEL with telnet-server-0.17-39. Backspace is properly mapped (via profile) once logged in but at the login prompt using backspace just gives ^H. Anyone have any ideas how I can 'correct' this mapping prior to login?
Backspace is (and needs to be) set to dataval 8. Before you all shout "use ssh!", we can't as we are running a very old app that requires a specific telnet client. Thanks in advance for any help. Ivan |
Moin,
I'm not sure - have you tried to set TERM to another terminal type before starting telnet? Jan |
We need ther TERM sert to vt220 for our application.
Thanks though. Ivan |
Moin,
Quote:
|
TERM cannot be set on the client side, only server side by .profile.
Please, let's not get distracted. We need the backspace key to be properly understood by the telnet login process. |
Moin,
from man telnet: Quote:
Jan |
The setting needs to be in place BEFORE login.
I think it's not possible, but posted this thread to see if anyone could help by proving me wrong. Ivan |
You just need the first paragraph here: http://www.acm.uiuc.edu/workshops/cool_unix/stty.html
|
The setting needs to be server side and in place before login, hence stty, .profile etc cannot assist here.
Thanks Ivan |
Moin,
sorry, I don't understand, why you didn't check the possible solutions we showed you. We did try to explain, which client side settings are probably available to the server before login. Why didn't you do some checks and tell us about the particular results? Jan |
Uuugh. You are missing the point. STTY can only be run once logged in (usually in /etc/profile or ~/.profile) and .telnetrc is only accessed after login. We need this setting at first connect; sorry I though I'd made this clear.
I see no way to test a your suggestions - for example where would I put the STTY command so it execute at connect (not login). I appretiate you help, but not your tone. Ivan |
Hi, I am also looking for how to change the login process to look for a ^H. Has anyone found out how to make this happen?
Thanks |
"Hi, I am also looking for how to change the login process to look for a ^H. Has anyone found out how to make this happen?"
+1 Anyone has a solution? Thanks |
All times are GMT -5. The time now is 06:22 AM. |