LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2013, 06:58 AM   #1
Gleylancer
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware+RHEL
Posts: 24

Rep: Reputation: Disabled
Erase char for remote SSH session


I'm on Slackware 14 (without X, just plain Bash) and I am connecting via SSH to some Alcatel switches. These have set the erase char to ^H, thus my backspace key is not working when I am connected. When I use PuTTY, I have the option to just change the backspace key from Control-? to Control-H. Where do I do this in Slackware?
 
Old 01-29-2013, 07:33 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
usually it is the stty command. See man page for details. Probably:
stty erase ^H
 
Old 01-29-2013, 07:47 AM   #3
Gleylancer
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware+RHEL
Posts: 24

Original Poster
Rep: Reputation: Disabled
No, that doesn't work, it changes the erase char for the local console, but it has no effect when I connect via SSH to the alcatel switch.
 
Old 01-29-2013, 08:16 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
it do have effect, at least I tried it using linux and bash. But it has no effect using tcsh (in the same terminal). It was not related to the host, it worked exactly the same way on the local and remote environmment.
using tcsh I could redefine delete by:
bindkey "^G" backward-delete-char

I do not know what kind of shell is running on the alcatel switch, probably you need to config its key bindings.

Last edited by pan64; 01-29-2013 at 08:20 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to kill a Firefox window through remote ssh session JimiSc Linux - Software 8 06-26-2012 01:12 AM
LXer: Importing a remote desktop session via ssh tunnel LXer Syndicated Linux News 0 08-14-2009 07:20 PM
How to logoff the remote ssh session of a user after a certain idle time. ashishshukla Linux - Server 3 10-07-2008 08:57 AM
View remote SSH session nikko Slackware 2 06-17-2004 01:46 AM
Opening remote files (during ssh session) with applications on local computer? The_Fed Linux - Newbie 3 05-10-2004 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration