Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rxvt-unicode: fix terminfo for minimal install #9615

Closed
lemmi opened this issue Mar 10, 2019 · 4 comments · Fixed by #11106
Closed

rxvt-unicode: fix terminfo for minimal install #9615

lemmi opened this issue Mar 10, 2019 · 4 comments · Fixed by #11106
Labels
enhancement New feature or request

Comments

@lemmi
Copy link
Member

lemmi commented Mar 10, 2019

System

  • package:
    • rxvt-unicode-terminfo-9.22_9

Expected behavior

/usr/share/terminfo/r/ to be populated

Actual behavior

  • Install script fails

Steps to reproduce the behavior

  • Install void with base-minimal
  • Install rxvt-unicode-terminfo
  • use urxvt from remote host (ssh, run that minimal install in a container) and set TERM=rxvt-unicode-256color
  • Check weird behaviour:
    • can't use backspace in terminal
    • htop won't work
    • ...

So rxvt-unicode-terminfo ships with this install script:

case "${ACTION}" in
post)
	tic -s usr/share/terminfo/r/rxvt-unicode.terminfo
	;;
esac

It uses tic, but that's contained in ncurses, which is not a dependency of rxvt-unicode-terminfo.
The obvious solution is to add ncurses as a dependency to rxvt-unicode-terminfo. But I wanted to ask If we can just compile the files during build and get rid of the scripts.

@maxice8
Copy link
Contributor

maxice8 commented Mar 10, 2019

please check #9633

@maxice8
Copy link
Contributor

maxice8 commented Mar 10, 2019

We can certainly do that, Alpine and Arch Linux do it.

@Duncaen
Copy link
Member

Duncaen commented Mar 10, 2019

I think ncurses should be a dependency of base-minimal, like it is in base-system.

@am11
Copy link
Contributor

am11 commented Sep 13, 2019

I think ncurses should be a dependency of base-minimal, like it is in base-system.

Yes please. At least, nano and bash do not function properly in Void's docker container without ncurses present.

Bash:
It took me a while to figure out why pressing [BACKSPACE] was printing [SPACE] in the interactive shell and ←, → arrow keys were not doing anything.

Nano:
in a fresh VoidLinux docker container, after installing nano when i ran it, it reported:
Error opening terminal: xterm..

Just installing ncurses fixed both of these issues. (everything else mentioned on google, check the output of $TERM, output of stty -a etc. was in accord; I have tested it couple of times just to be sure). :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants