Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Request: ncurses or ncurses-term #108

Open
legeana opened this issue Jan 29, 2024 · 4 comments
Open

Request: ncurses or ncurses-term #108

legeana opened this issue Jan 29, 2024 · 4 comments

Comments

@legeana
Copy link

legeana commented Jan 29, 2024

Probably based on https://slackware.pkgs.org/15.0/slackware-x86_64/ncurses-6.3-x86_64-1.txz.html

This would solve

E558: Terminal entry not found in terminfo
'alacritty' not known. Available builtin terminals are:
    builtin_ansi
    builtin_vt320
    builtin_vt52
    builtin_xterm
    builtin_iris-ansi
    builtin_pcansi
    builtin_win32
    builtin_amiga
    builtin_dumb
    builtin_debug
defaulting to 'ansi'
@Mcklaren
Copy link
Contributor

Mcklaren commented Feb 4, 2024

Hi,

ncurses is installed on unraid

/var/lib/pkgtools/packages/ncurses-6.4-x86_64-1

Can you test please ?

Best regards.

@legeana
Copy link
Author

legeana commented Feb 9, 2024

There is an empty file at the location you mention above:

# ls -l /var/lib/pkgtools/packages/ncurses*
-rw-r--r-- 1 root root 0 Dec  1 19:47 /var/lib/pkgtools/packages/ncurses-6.4-x86_64-1

# wc -c /var/lib/pkgtools/packages/ncurses*
0 /var/lib/pkgtools/packages/ncurses-6.4-x86_64-1

However the terminfo isn't present/stripped.

# ls -l /usr/share/terminfo/*
/usr/share/terminfo/a:
total 1.5K
-rw-r--r-- 1 root root 1.5K Dec  1 19:47 ansi

/usr/share/terminfo/d:
total 512
-rw-r--r-- 1 root root 308 Dec  1 19:47 dumb

/usr/share/terminfo/l:
total 2.0K
-rw-r--r-- 1 root root 1.7K Dec  1 19:47 linux

/usr/share/terminfo/x:
total 6.5K
-rw-r--r-- 1 root root 2.3K Dec  1 19:47 xterm
-rw-r--r-- 1 root root 2.4K Dec  1 19:47 xterm-256color
-rw-r--r-- 1 root root 1.5K Dec  1 19:47 xterm-color

I might be checking the wrong thing, so I appreciate your help figuring this out in case I'm just missing something obvious.

The thing I'm trying to solve is having complete terminfo on my unraid installation. For example https://slackware.pkgs.org/15.0/slackware-x86_64/ncurses-6.3-x86_64-1.txz.html contains a lot of /usr/share/terminfo files, while UnRaid doesn't.

@Mcklaren
Copy link
Contributor

Hi,

Unraid works a little different than slackware and what I wanted to show you is that the packages that are installed appear there but the files do not have content as they do in slackware.
But if what you need are terminfo fonts you could look if you really need this package ?

https://packages.slackware.com/?r=slackware64-15.0&p=aaa_terminfo-6.3-x86_64-1.txz

If you need this package we can add it in the next version.

Best regards.

@legeana
Copy link
Author

legeana commented Feb 21, 2024

Hi,
Thank you for looking into it. I don't think the aaa_terminfo is what I'm looking for since it doesn't contain terminals I use, e.g. alacritty or kitty. The package itself has this in its description The complete set (from which this is derived) can be found in the ncurses package which makes me believe ncurses package is probably what I'm looking for, or a package derived from it with just terminfo part.

Best regards,
Lisa

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants