Opened 4 years ago

Last modified 4 years ago

#9064 assigned defect

terminfo is missing rxvt-unicode-256color

Reported by: lunar Owned by: runa
Priority: Low Milestone:
Component: Archived/Tor Cloud Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

One user reported that when doing sudo -u debian-tor arm as suggested in the documentation, the command failed because their TERM variable contained rxvt-unicode-256color. The terminfo
database might need an update.

They've work around the issue but manually specifying TERM=xterm.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by isis

I use urxvt, and in my experience it doesn´t handle ANSI escape characters correctly for many programs. For example, for emacs, I have to do:

alias e='TERM=screen-bce.linux emacs --no-site-file -nw '

another TERM setting which I have found helpful for remote screen/tmux sessions inside a urxvt terminal is 'screen-16color-bce' which is also what I use locally for arm.

I´m not sure if this helps any, but hopefully it saves a bit of trouble digging through the terminfo db.

comment:2 Changed 4 years ago by runa

  • Owner changed from runa to atagar
  • Status changed from new to assigned

atagar; is this something which can/should be fixed in arm?

comment:3 Changed 4 years ago by atagar

  • Owner changed from atagar to runa

Thanks! Reproed the issue and fixed...

https://gitweb.torproject.org/arm.git/commitdiff/b2c2568479105e38ea632e8c9f0525019699005a

Be aware that it will be quite a while before the next arm release. I'm not sure if this is something you want to work around in Tor Cloud for the meantime.

comment:4 Changed 4 years ago by atagar

Lunar points out that the above approach is a bad idea. Replaced with a warning...

https://gitweb.torproject.org/arm.git/commitdiff/954f194560e43ac8e4fa588abc041a1d7a98ef31

comment:5 Changed 4 years ago by rransom

Why not just install ncurses-term on the Amazon instances? The correct terminfo file for PuTTY is also in that package.

Note: See TracTickets for help on using tickets.