You are not logged in.

#1 2023-07-02 00:17:13

CaeriTech
Member
Registered: 2021-07-12
Posts: 41

tput: unknown terminal "linux"

Until recently (perhaps before upgrading to mkinitcpio 36) tput worked in one on my kernel hooks.  However, I now get the error below:

tput: unknown terminal "linux"

I had always added the terminal files to /etc/mkinitcpio.conf:

FILES=(/usr/lib/terminfo/l/linux ...

and likewise have the TERMINFO variable set in the hook:

export TERMINFO=/usr/lib/terminfo/

Do the changes to  mkinitcpio 36 require I do something else to have tput function as before?


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 wayland only because I can.  ]=-
    Backward compatibility is for the masses. There's no dual-boot here.

    [CaeriTech remains only artificially intelligent.  Turing would be aghast at just how artificial.]

Offline

#2 2023-07-02 08:36:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,648

Re: tput: unknown terminal "linux"

ncurses got updated around the same time, but I'd first check whether the terminfo made it into the initramfs

lsinitcpio /boot/initramfs-linux.img | grep linux # adjust the initramfs name

Offline

#3 2023-07-02 10:47:30

loqs
Member
Registered: 2014-03-06
Posts: 18,884

Re: tput: unknown terminal "linux"

seth wrote:

ncurses got updated around the same time

https://gitlab.archlinux.org/archlinux/ … 4986153f49

Offline

#4 2023-07-02 15:04:57

CaeriTech
Member
Registered: 2021-07-12
Posts: 41

Re: tput: unknown terminal "linux"

loqs wrote:
seth wrote:

ncurses got updated around the same time

https://gitlab.archlinux.org/archlinux/ … 4986153f49

Well that's a bummer.

Does that mean I have no choice but to hard-code the screen width and colour codes or is there some other mechanism to determine these codes on the fly?


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 wayland only because I can.  ]=-
    Backward compatibility is for the masses. There's no dual-boot here.

    [CaeriTech remains only artificially intelligent.  Turing would be aghast at just how artificial.]

Offline

Board footer

Powered by FluxBB