Bjarni Ingi Gislason writes:
> 
> Package: tcsh
> Version: 6.14.00-7
> Severity: normal
> 
>   Output from "stty -a":
[...]

stty modes are relevant when you're entering text in the tty's canonical
input mode, where there are only a few controls (erase, werase, kill). tcsh
has its own command line editor with its own configuration command (bindkey).
There's a vi-like mode and an emacs-like mode, and tons of individual
functions that can be bound to the keys of your choosing.

In emacs mode (bindkey -e), the initial action bound to ^W is "kill-region".
If you run bindkey -l, you get a list of actions and descriptions in which
kill-region is described as "Cut area between mark and cursor and save in cut
buffer". I guess you have to be an emacs user to make sense of that.

In vi mode (bindkey -v), the initial action bound to ^W is
"backward-delete-word", which is much closer to the werase you were looking
for. So you should probably either use vi mode, or at least run "bindkey ^w
backward-delete-word"

-- 
Alan Curry



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to