On 5/7/07, Mick <[EMAIL PROTECTED]> wrote:
On Monday 07 May 2007 16:55, Ryan Sims wrote:
> On 5/7/07, Mick <[EMAIL PROTECTED]> wrote:
> > When I ssh into a Ubuntu server certain keyboard actions (like pressing
> > the Up or Left arrows) are not translated on the remote box, but give
> > ASCII responses; e.g. pressing Left Arrow, gives $ ^[[D which is annoying
> > as I have to delete part of the command I just typed to be able to
> > correct it.
> >
> > How can I set it up so that my Gentoo keyboard presses and behaviour is
> > reflected on the remote box?  Is it a matter of copying over the .bashrc
> > file from the Gentoo box?
>
> I *think* this is a termcap/terminfo issue rather than a bash issue.
> What does 'echo $TERM' say in your ssh session?

Thanks Ryan,
=================
$ echo $TERM
rxvt

$ sudo echo $TERM
rxvt
=================
which is the same like my Gentoo box.

--
Regards,
Mick

Ok, I may be a little out of my depth here, but we'll muddle through.
What does

bind -p | grep history

on each box tell you?  You could also try 'set -o history' on the box
that's giving you trouble. (I'm reneging on my idea re. termcap/info)


--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list

Reply via email to