Chad Perrin wrote:
> Eben King wrote:
>
>> All that is true. If you do any work on Solaris machines, it looks a
>> bit different (no syntax highlighting) and may work a bit different
>> (but I haven't uncovered that yet). Also, if you try to use an
>> editor through an SSH connection, your terminal may be messed up, and
>> control keys may not work at all. This includes the arrow keys, as
>> they send some sequence starting with escape (^[). Under such
>> circumstances, emacs won't work at all, and you'll have to use
>> h/j/k/l to move around in vim.
>
>
> This problem must be particular to Solaris. I use vim across SSH on
> my Debian GNU/Linux machines all the time, and I've done so with other
> distributions as well without any problems. Is this perhaps a problem
> specific to the vi(m) and/or ssh variant(s) used by Solaris?
It's probably just the terminal type. Solaris boxes usually default to
'suncmd' or some such, under the assumption you're using Sun's
commandtool or shelltool. Since only Sun's know how to deal with them,
they're somewhat useless in the real world. (personal opinion)
You can probably clear things up by setting your TERM type to vt100 or
xterm after you log into the sun.
setenv TERM vt100
or
TERM=vt100
export TERM
depending on your shell flavor. Your editors should work as expected
after that.
Mike
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:41:10 EDT