On Thu, 21 Mar 2002, Harry Putnam wrote:

> Thanks for the tips.  I have a hunch this is some basic thing that was
> changed with the update mentioned in OP, so a little reluctanct to
> start fussing with settings that have been good for over a year.

 To be frank, I think you'll find it easier in the long run to switch,
because the default in 7.2 and later is ^? for the backspace key, and
the tty settings and xterm will behave like that.

> Heres a small example of the problems that arise when you do:
> I put this in .bashrc now to set erase = ^?:
>       stty erase ^?
> seems innoucuous enough and does fix the behaviour in vim.  But
> unexpected things result, for example, when ssh into my own box from a
> remote using scp to move files I get this now:
> 
>        stty: standard input: Invalid argument
> 
> So I fix bashrc with:
>    if [ ! "SSH_TTY" ];then
>       stty erase ^?
>    fi
> And away we go, who knows what other unexpected things will crop up.

 It's only really a problem dealing with Solaris, where the default
appears to be ^H for backspace (and yet the console expects ^? for
delete ... but that's another rant :o)

> Also while setting stty erase ^? fixed that perticualr thing.  At the
> command line (in xterm) I used to be able to delete with delete key
> too.   Now I just get tildes (~~~~~~)

 That looks like a problem with the shell's key bindings (readline for
bash).  Have a quick look in /etc/inputrc for the following:

"\e[3~": delete-char




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to