Jake Posted December 6, 2007 Share Posted December 6, 2007 This is bugging me and nobody here seems to know the answer. I have to Telnet/SSH to lots of different unix boxes (AIX or Slowaris mostly). Sometimes the default keyboard settings work fine, sometimes they don't. Often the backspace key doesn't work, or doesn't work properly. If it does a ^H instead of backspacing I can change with a stty erase but WTF do you do if the backspace does nothing? Is it something to do with the terminal emulation? Or what? Cheers. Quote Link to comment Share on other sites More sharing options...
JustGav Posted December 6, 2007 Share Posted December 6, 2007 stty erase ^H and yes it is to do with VT100 and VT220 setting differences. Remember backspace and delete are two different keystrokes. Quote Link to comment Share on other sites More sharing options...
Suprash Posted December 7, 2007 Share Posted December 7, 2007 You know the answer to this then Jake, dont fuck up your key strokes...... Quote Link to comment Share on other sites More sharing options...
Jake Posted December 7, 2007 Author Share Posted December 7, 2007 Backspace is probably the most used key on my keyboard Quote Link to comment Share on other sites More sharing options...
carl0s Posted December 7, 2007 Share Posted December 7, 2007 I'm no where near an expert with *nix I'm afraid but I always just mess with the term type and the key code settings on my client (eric's telnet 98) I suppose if it's doing nothing (neither DEL (^?) or BS (^H) ) then maybe the term type is wrong at the other end, so the ^H (or whatever your client is configured to send) is being interpreted, but interpreted into no action. Have you looked at the term type ('set | grep TERM' or thereabouts) and setting it to vt100 or whatever ('export TERM=vt100' in bash) ? Your client is definately configured to send the ^H on these do-nothing-hosts is it? It's not trying to auto-detect the host terminal type and failing, so removing the control char/key code mapping for BS that it sends? Quote Link to comment Share on other sites More sharing options...
Wez Posted December 7, 2007 Share Posted December 7, 2007 On solaris I always change to 'bash' when I log as its more user friendly, tab completes and ok history etc. On AIX I just live with it, can be a real arse having to use ESC-K etc to repeat commands etc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.