On Thursday 27 December 2007, [EMAIL PROTECTED] wrote: > I'm building up a minimal install a bit at a time... Or I should say > building down. It was a full install at one point. > > I'm getting strange behavior in vim when accessing the minimal machine > thru ssh from another gentoo box. > > When using vims search tool on the remote (/) normally you can scroll > thru previous search strings with up/down arrow. But I'm getting <up> > printed literally instead when I press up/down to access a previous > search. > > It seems a safe bet it has to do with paring down the install since it > worked normally previously. > > I've edited down the world list, changed a number of USE flags, > changed the profile to hardened/x86/minimal. Ran emerge -vuDN world > followed by `emerge --depclean' and `revdep-rebuild'. All succeeded. > > Does anyone know what library might be involved with scrolling > previous/next with up/down arrow keys in vim? I thought readline > right away but that is installed and at the newest version. > > I also thought it might be from coming in via ssh with xterm going to > a console only install so I tried: TERM=linux ssh [...] > > It made no difference at all. > > Any ideas what else to look at?
Last time I was troubled with a similar behaviour over ssh, I discovered that the default shell for the user on the remote machine (CentOS) was not /bin/bash, but /bin/<zsh, or something_else>. Changed this to good ol' bash and all these inconsistencies between my Gentoo and the remote box disappeared. HTH. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

