delete button in console
Bertram Scharpf
lists at bertram-scharpf.de
Tue Dec 29 12:53:44 UTC 2015
Hi,
On Tuesday, 29. Dec 2015, 01:48:49 -0800, Sergei G wrote:
> When I ssh to a FreeBSD machine and press 'Delete' button in csh prompt
> I get character '~' printed on screen. Backspace works just fine.
>
> I think even an actual console behaves the same way.
>
> Is there a way to "map" the Delete button to work appropriately? Would
> it be my SSH client application or FreeBSD itself?
Before you post, try to ask something like
<http://www.google.de/search?q=csh+bindkey+delete-char>.
The solution is
% bindkey "\e[3~" delete-char
An even superior solution is
% exec zsh -l
You won't regret it.
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
More information about the freebsd-questions
mailing list