Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keymaps and $TERM
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1173
Location: Burgas, Bulgaria

PostPosted: Fri Aug 14, 2020 6:39 pm    Post subject: keymaps and $TERM Reply with quote

To make linux console working correctly in X one need to set TERM=xterm or TERM=xterm-256color
to make it work in text mode one need to set TERM=linux

Didn't check whether TERM=linux works in X-mode, but TERM=xterm doesn't work in text mode for sure.
At least F1-F5 functional keys are not responding or generate wrong/different keycodes.

Looks like text mode is mostly ignored by developers.

Did I understand it right, that there is no unified solution and that is only my own problem to make
it work in each case?
_________________
Lefsha
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2486
Location: Frankfurt, Germany

PostPosted: Fri Aug 14, 2020 8:38 pm    Post subject: Reply with quote

Wait... Your terminal sets the TERM environment variable. You shouldn't set or modify it at all!
Back to top
View user's profile Send private message
lefsha
Veteran
Veteran


Joined: 30 Aug 2004
Posts: 1173
Location: Burgas, Bulgaria

PostPosted: Wed Aug 26, 2020 6:35 pm    Post subject: Reply with quote

mike155 wrote:
Wait... Your terminal sets the TERM environment variable. You shouldn't set or modify it at all!


Correct. I've change it long ago to get 256 color terminal according to some recommendations on the net.
Removed it all and it works both sides. Thx!
_________________
Lefsha
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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