Project

General

Profile

Actions

Bug #981

closed

SSH shell Putty Function Keys

Added by Martin Hronek over 14 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Very Low
Assignee:
-
Category:
-
Target version:
-
Start date:
10/31/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:

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.

Actions #1

Updated by Chris Buechler over 14 years ago

  • Project changed from pfSense Packages to pfSense
Actions #2

Updated by Chris Buechler over 14 years ago

  • Priority changed from Low to Very Low
  • Affected Version changed from 1.2.3 to All
Actions #3

Updated by Martin Hronek over 14 years ago

Did the entry now in ~/.tcshrc

Actions #4

Updated by Erik Fonnesbeck over 14 years ago

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.

Actions #5

Updated by Martin Hronek over 14 years ago

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.

Actions #6

Updated by Jim Pingle over 13 years ago

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.

Actions #7

Updated by Chris Buechler over 13 years ago

  • Status changed from New to Needs Patch
Actions #8

Updated by Martin Hronek over 13 years ago

HI,
you could also try to install VIM instead of VI to my knowledge this problems are resolved with VIM.

B/R M

Actions #9

Updated by Renato Botelho over 4 years ago

  • 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.

Actions

Also available in: Atom PDF