UnRAIDES / unRAID-NerdTools

Install extra packages for advanced users.
GNU General Public License v3.0
26 stars 15 forks source link

Request: ncurses or ncurses-term #108

Open legeana opened 5 months ago

legeana commented 5 months ago

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 commented 5 months ago

Hi,

ncurses is installed on unraid

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

Can you test please ?

Best regards.

legeana commented 5 months ago

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 commented 4 months ago

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 commented 4 months ago

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