LinuxQuestions.org
Review your favorite Linux distribution.
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, 07: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, 08:33 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,169

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
usually it is the stty command. See man page for details. Probably:
stty erase ^H
 
Old 01-29-2013, 08: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, 09:16 AM   #4
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,169

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
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 09:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:12 AM
LXer: Importing a remote desktop session via ssh tunnel LXer Syndicated Linux News 0 08-14-2009 08:20 PM
How to logoff the remote ssh session of a user after a certain idle time. ashishshukla Linux - Server 3 10-07-2008 09:57 AM
View remote SSH session nikko Slackware 2 06-17-2004 02:46 AM
Opening remote files (during ssh session) with applications on local computer? The_Fed Linux - Newbie 3 05-10-2004 05:20 PM


All times are GMT -5. The time now is 02:49 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration