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

Ncurses package missing terminfo for simple terminal (st) #4034

Closed
averms opened this issue Jul 10, 2019 · 5 comments
Closed

Ncurses package missing terminfo for simple terminal (st) #4034

averms opened this issue Jul 10, 2019 · 5 comments

Comments

@averms
Copy link

averms commented Jul 10, 2019

Problem description
st st-256color st-meta st-meta-256color are missing from the ncurses package. Without these, sshing from my linux laptop that uses st doesn't work well.

Steps to reproduce

  1. Install st
  2. SSH into termux
  3. Type some characters
  4. Press backspace

The character are not deleted.

Expected behavior

I would expect the characters to be deleted.

Solution

Upstream ncurses does in fact distribute st terminfos, however it seems that you are not packaging them. The solution would be to package them.

@ghost
Copy link

ghost commented Jul 10, 2019

st st-256color st-meta st-meta-256color terminfo is available in st package from x11-repo.

@ghost ghost closed this as completed Jul 10, 2019
@ghost
Copy link

ghost commented Jul 10, 2019

These files can be moved to ncurses though as installing st will download additional dependencies.

@ghost ghost reopened this Jul 10, 2019
@ghost ghost added the enhancement label Jul 10, 2019
@averms
Copy link
Author

averms commented Jul 12, 2019

Yeah, the ncurses package on my Arch machine includes all the st stuff.
I assume

# Strip away 30 years of cruft to decrease size.
has something to do with it.

@Shourai
Copy link

Shourai commented Jul 20, 2019

These files can be moved to ncurses though as installing st will download additional dependencies.

I experience the same thing as @a-vrma does when using st to ssh to termux.
Though installing st from the x11-repo does work, it is as you said also installing additional dependencies.

Though a workaround without installing anything is just setting the TERM variable to something else as mentioned in #1061 (comment).
TERM=vt100
Works for me, but not an ideal solution.

@ghost ghost changed the title Ncurses package missing terminfo for simple terminal Ncurses package missing terminfo for simple terminal (st) Jul 20, 2019
ghost pushed a commit that referenced this issue Jul 20, 2019
ghost pushed a commit that referenced this issue Jul 20, 2019
@ghost
Copy link

ghost commented Jul 20, 2019

Done in a6c4958.

@ghost ghost closed this as completed Jul 20, 2019
ghost pushed a commit that referenced this issue Jul 21, 2019
@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants