On Fri, Aug 04, 2000 at 06:45:38AM +0000, Geoff Wing wrote:
>
> Here's something to check (Make sure you use single quotes in the first
> line or otherwise quote the dollar sign):
>
> % ssh -l cgreen x-1.net 'echo $TERM'
> <answer1>
> % ssh -l cgreen x-1.net
> x-1.net% echo $TERM
> <answer2>
>
> Make sure <answer1> and <answer2> are the same. Also check TERMINFO and
> TERMCAP depending upon what's set up. I use mutt with S-Lang with no
> problems.
>
They're not the same - so how do I fix it? :-)
ssh -l cgreen -x x-1.net 'echo $TERM' returns 'dumb', whereas
connecting to x-1.net and then 'echo $TERM' gives me the expected
'rxvt'.
I suppose I could have a little script on the remote system that does
something like:-
export TERM=rxvt
/home/d/cgreen/bin/mutt
It's difficult to test now anyway as it seems to work without when the
remote is compiled with ncurses. I'll bear the above in mind though,
thanks.
--
Chris Green ([EMAIL PROTECTED])
Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
WWW: http://www.isbd.co.uk/