Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] remote ssh session does not reflect my keyboard inputs
Date: Mon, 07 May 2007 22:18:31
Message-Id: 200705072312.32777.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] remote ssh session does not reflect my keyboard inputs by Ryan Sims
1 On Monday 07 May 2007 16:55, Ryan Sims wrote:
2 > On 5/7/07, Mick <michaelkintzios@×××××.com> wrote:
3 > > When I ssh into a Ubuntu server certain keyboard actions (like pressing
4 > > the Up or Left arrows) are not translated on the remote box, but give
5 > > ASCII responses; e.g. pressing Left Arrow, gives $ ^[[D which is annoying
6 > > as I have to delete part of the command I just typed to be able to
7 > > correct it.
8 > >
9 > > How can I set it up so that my Gentoo keyboard presses and behaviour is
10 > > reflected on the remote box? Is it a matter of copying over the .bashrc
11 > > file from the Gentoo box?
12 >
13 > I *think* this is a termcap/terminfo issue rather than a bash issue.
14 > What does 'echo $TERM' say in your ssh session?
15
16 Thanks Ryan,
17 =================
18 $ echo $TERM
19 rxvt
20
21 $ sudo echo $TERM
22 rxvt
23 =================
24 which is the same like my Gentoo box.
25
26 --
27 Regards,
28 Mick

Replies