John Jolet wrote:

>
> On Jan 23, 2006, at 1:00 PM, Tom Smith wrote:
>
>> John Jolet wrote:
>>
>>> what is the output of "echo $TERM"?
>>
>>
>> pcadobe ~ # echo $TERM
>> linux
>> pcadobe ~ #
>>
> try "export TERM=vt220" and see if that helps.

This did work for "pstree" but seriously broke functionality in Vim, an
app that is heavily used via SSH.

I did notice something interesting, though. If I set (in Kermit)

Terminal Type: vt220
Terminal Remote-Charset: cp437

pstree works fine but ViM doesn't. If I set the Remote-Charset, in
Kermit, to utf8 I again get the same behavior that I did when using
linux/cp437.

What emulation/charset does Gentoo use, by default, for SSH connections?
(I'm assuming this is an issue with Gentoo because this functionality
works fine on MDK and Fedora, for example--systems I'm migrating away
from. :-D )

On Fedora Core 1 & Mandrake 9.2 (both use TERM=linux), I get the
following output using linux/utf8:

init-+-4*[Xvnc]
     |-atd
     |-bdflush
     |-cdahubd
     |-4*[clipman]
     |-crond
     |-devfsd
     |-3*[dosexec-+-dosexec]
     |            `-xcrt]
     |-kapmd
     |-keventd
     |-khubd
     |-kinoded
     |-kjournald
     |-klogd
     |-ksoftirqd_CPU0
     |-kswapd
     |-kswsuspd
     |-kupdated
     |-master-+-nqmgr
     |        `-pickup
     |-mdrecoveryd
     |-mergevncd
     |-2*[mingetty]
     |-ntpd---ntpd
     |-pagebufd
     |-sshd---sshd---sshd---bash---su---bash---pstree
     |-syslogd
     |-vnetd
     |-xfs
     |-xfsdatad/0
     |-xfslogd/0
     |-xfssyncd
     |-xinetd
     `-xstartup---dosexec-+-dosexec
                          `-xcrt

-- 
gentoo-user@gentoo.org mailing list

Reply via email to