Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[xterm] modifier variable TERM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Thu Oct 08, 2015 6:30 am    Post subject: [xterm] modifier variable TERM Reply with quote

Bonjour,
Je me connecte sous solaris depuis un terminal gnome via ssh et losque je fais un "vi toto.txt", j'ai l'erreur suivante sous solaris :

Code:
xterm-256color : n'est pas un type de terminal connu
Impossible de déterminer le terminal utilisé. 'xterm-256color'est le seul défini.
[Utilisation du mode d'ouverture]


la variable est defini comme ceci :

Code:
TERM=xterm-256color


Sous Debian, je n'ai pas cette erreur et j'ai :

Code:

TERM=xterm


Comment changer ceci de manière globale ?
Peut on avoir les deux ?
Merci


Last edited by mcsky2 on Thu Oct 08, 2015 9:04 am; edited 1 time in total
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Thu Oct 08, 2015 8:43 am    Post subject: Reply with quote

Tu dois pouvoir tuner la configuration sous .ssh/config (ou authorized_keys) avec une section spéciale pour ton hôte solaris et un coup de SendEnv ou équivalent dedans? :)
Je n'ai pas regardé dans le détail, mais ça doit être faisable. Sinon il reste un bon gros hack de goret comme suggéré ici.

PS: Pourrais-tu STP mettre un titre un peu plus précis? Là... il ne ressemble pas à grand chose ;) (même s'il est en "conformité", d'après la police du fofo)
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum