Bug #981
closed
SSH shell Putty Function Keys
Added by Martin Hronek about 15 years ago.
Updated about 5 years ago.
Description
After SSH login with Putty and entering the shell with 8 the pos1 and home keys do not work properly in 1.2.3.
It seems like that the keybinds for the TCSH are not set.
According to http://www.ibb.net/~anne/keyboard/keyboard.html#Tcsh i edited the /etc/csh.cshrc probably setting in ~/.cshrc would work too.
After re login HOME POS1 and DEL Key work correctly.
- Project changed from pfSense Packages to pfSense
- Priority changed from Low to Very Low
- Affected Version changed from 1.2.3 to All
Did the entry now in ~/.tcshrc
This probably won't work for other programs you might run from the SSH session like editors, etc. This is also specific to PuTTY. Other SSH clients (like the OpenSSH client, for example) behave differently.
Erik Fonnesbeck wrote:
This probably won't work for other programs you might run from the SSH session like editors, etc. This is also specific to PuTTY. Other SSH clients (like the OpenSSH client, for example) behave differently.
This is correct it does not work for vi which is pretty annoying.
Fixing vi is a special case, and will probably take some fiddling with .exrc, to make things work as expected with home and end. And even then the results would vary from client to client.
This .exrc will fix vi in some clients (and break others) for end/home.
http://pingle.org/files/.exrc
Note that may fix it over SSH but will simultaneously break it from the actual console.
- Status changed from New to Needs Patch
HI,
you could also try to install VIM instead of VI to my knowledge this problems are resolved with VIM.
B/R M
- Status changed from Needs Patch to Closed
We have ee native and vim-console package available for installation. Beyond that, all tty framework was rewritten on FreeBSD since then.
I don't see a reason to add specific bits to accomodate putty or any other specific client. It's not a pfSense bug.
Also available in: Atom
PDF