Question about $TERM

9 views
Skip to first unread message

Wayne Seguin

unread,
Nov 27, 2009, 12:55:24 AM11/27/09
to terminat...@googlegroups.com, Wayne Seguin
Hello everyone.

I very much like Terminator however I have ran into one issue that is preventing me from using it as my main terminal.

Is there a way to set the TERM that it exports to something other than 'terminator' ?
I get many of errors when ssh'ing to a host about it not knowing the 'terminator' term type.

Thank you!

~Wayne

Martin Dorey

unread,
Nov 27, 2009, 1:55:32 AM11/27/09
to terminat...@googlegroups.com, waynee...@gmail.com
> I get many of errors when ssh'ing to a host
> about it not knowing the 'terminator' term
> type.

It's more than just the name that host doesn't know. Notably, it doesn't know that Terminator doesn't wrap at the margin. Applications that care about the terminal type are going to need to know that. More generally, they're going to need to know Terminator's terminfo. If you can't or don't want to install Terminator on the remote host, then another option is to install just its terminfo file on the remote host, either in a system-wide directory, typically /usr/share/terminfo/t/, or in a subdirectory of your home, conventionally ~/.terminfo/t/. If you can't or don't want to install even the terminfo file on your remote host, then you're doomed to either warnings (TERM=terminator) and/or malfunctioning applications (TERM=xterm) or not using Terminator. The only alternative would be to find some other terminal type whose already-installed terminfo was a sufficiently good match to Terminator's for your needs. I don't think there is one. vt100-no-am might be the closest.
--

You received this message because you are subscribed to the Google Groups "terminator-users" group.
To post to this group, send email to terminat...@googlegroups.com.
To unsubscribe from this group, send email to terminator-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/terminator-users?hl=en.


Elliott Hughes

unread,
Nov 27, 2009, 1:56:01 AM11/27/09
to terminator-users
see "Why am I having problems with terminfo/curses?", specifically
"Terminfo problems when using SSH" in http://software.jessies.org/terminator/faq.html#heading_toc_j_7

--elliott

Martin Dorey

unread,
Nov 27, 2009, 11:39:12 AM11/27/09
to waynee...@gmail.com, terminat...@googlegroups.com
> Can I rsync the .terminfo/t/ directory to user
> account on the remote host to accomplish
> this?

Absolutely. There's no need to copy it regularly. It doesn't change except when Terminator is installed and only rarely then. The last change was fairly recent - to tell vim etc about Ben Longbons's 256 color support. Before that, nope, I don't even remember the previous change.

----- Original Message -----
From: Wayne Seguin <waynee...@gmail.com>
To: Martin Dorey
Cc: Wayne Seguin <waynee...@gmail.com>
Sent: Fri Nov 27 03:38:32 2009
Subject: Re: [terminator-users] Question about $TERM

On Nov 27, 2009, at 01:55 , Martin Dorey wrote:
>> I get many of errors when ssh'ing to a host
>> about it not knowing the 'terminator' term
>> type.
>
> It's more than just the name that host doesn't know. Notably, it doesn't know that Terminator doesn't wrap at the margin. Applications that care about the terminal type are going to need to know that. More generally, they're going to need to know Terminator's terminfo. If you can't or don't want to install Terminator on the remote host, then another option is to install just its terminfo file on the remote host, either in a system-wide directory, typically /usr/share/terminfo/t/, or in a subdirectory of your home, conventionally ~/.terminfo/t/. If you can't or don't want to install even the terminfo file on your remote host, then you're doomed to either warnings (TERM=terminator) and/or malfunctioning applications (TERM=xterm) or not using Terminator. The only alternative would be to find some other terminal type whose already-installed terminfo was a sufficiently good match to Terminator's for your needs. I don't think there is one. vt100-no-am might be the closest.
>
> ----- Original Message -----
> From: Wayne Seguin <waynee...@gmail.com>
> To: terminat...@googlegroups.com <terminat...@googlegroups.com>
> Cc: Wayne Seguin <waynee...@gmail.com>
> Sent: Thu Nov 26 21:55:24 2009
> Subject: [terminator-users] Question about $TERM
>
> Hello everyone.
>
> I very much like Terminator however I have ran into one issue that is preventing me from using it as my main terminal.
>
> Is there a way to set the TERM that it exports to something other than 'terminator' ?
> I get many of errors when ssh'ing to a host about it not knowing the 'terminator' term type.
>
> Thank you!
>
> ~Wayne

Martin,

Thank you for the response. Can I rsync the .terminfo/t/ directory to user account on the remote host to accomplish this?

~Wayne


Wayne Seguin

unread,
Nov 27, 2009, 12:34:40 PM11/27/09
to terminat...@googlegroups.com, Wayne Seguin

On Nov 27, 2009, at 11:39 , Martin Dorey wrote:

>> Can I rsync the .terminfo/t/ directory to user
>> account on the remote host to accomplish
>> this?
>
> Absolutely. There's no need to copy it regularly. It doesn't change except when Terminator is installed and only rarely then. The last change was fairly recent - to tell vim etc about Ben Longbons's 256 color support. Before that, nope, I don't even remember the previous change.

Perfect, this I can do easily, thank you very much :D

~Wayne

Reply all
Reply to author
Forward
0 new messages