View previous topic :: View next topic |
Author |
Message |
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Mar 25, 2018 9:27 pm Post subject: open terminal failed: missing or unsuitable terminal: xterm- |
|
|
Code: | $ tmux attach
open terminal failed: missing or unsuitable terminal: xterm-256color |
Code: | $ tmux
open terminal failed: missing or unsuitable terminal: xterm-256color |
The session does still exist (tmux list-sessions).
Assume the terminal supports 256 colours? Code: | $ tmux -2 attach
open terminal failed: missing or unsuitable terminal: xterm-256color |
_________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Mar 25, 2018 9:30 pm Post subject: |
|
|
Unfortunately the solution is to kill the tmux server, which of course kills the session.
The cause was apparently having upgraded ncurses Code: | >>> emerge (1 of 6) sys-libs/ncurses-6.1-r1 |
It'd be nice if emerge could warn if something running was likely break :)
I didn't find any related results, and hopefully I'll now remember to postpone upgrading if ncurses is on the list. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Mar 25, 2018 9:37 pm Post subject: |
|
|
I had the same problem (with the same solution), but I found a workaround is to just set $TERM to something without -256color in it. -88color worked. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Mar 25, 2018 9:55 pm Post subject: |
|
|
That's a certainly a better option if something "valuable" is in the session. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Mar 26, 2018 6:55 am Post subject: |
|
|
There is an open bug _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Mar 26, 2018 12:59 pm Post subject: |
|
|
Thanks for the link. For whatever reason, didn't even occur to me that it was a bug. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Mon Mar 26, 2018 1:05 pm Post subject: |
|
|
I'm having this problem at the moment. I attach to my tmux session by TERM="xterm" tmux attach for now until I'm ready to terminate the session. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Mon Mar 26, 2018 2:00 pm Post subject: |
|
|
It seems that after a reboot the issue vanished. |
|
Back to top |
|
|
hujuice Guru
Joined: 16 Oct 2007 Posts: 336 Location: Rome, Italy
|
Posted: Tue Jun 05, 2018 10:21 am Post subject: |
|
|
Zucca wrote: | I'm having this problem at the moment. I attach to my tmux session by TERM="xterm" tmux attach for now until I'm ready to terminate the session. |
It works for me too. Thank you.
HUjuice _________________ Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo. |
|
Back to top |
|
|
|