When screen -d fails with this error, you probably have no valid TERM
variable in your current terminal session. Confirm with echo $TERM

If it is indeed empty, you could try

env TERM=xterm screen -d

Cheers, Jürgen

丸山直昌 <[email protected]> schrieb am Fr., 28. Nov. 2025, 21:34:

> What is this?  Is it a bug?
>
> [maruyama@pc07{272}] ~% uname -a
> FreeBSD pc07.mar 13.5-RELEASE-p6 FreeBSD 13.5-RELEASE-p6 GENERIC amd64
> [maruyama@pc07{273}] ~% screen -version
> Screen version 5.0.1 (build on 2025-10-24 08:10:56)
> [maruyama@pc07{274}] ~% tty
> /dev/pts/11
> [maruyama@pc07{275}] ~% screen -list
> There is a screen on:
>         6879.pts-0.pc07 (2025/11/28 18時47分18秒)       (Attached)
> 1 Socket in /usr/home/maruyama/.screen.
> [maruyama@pc07{276}] ~% screen -d
> Cannot find terminfo entry for ''.
> [maruyama@pc07{277}] ~% screen -list
> There is a screen on:
>         6879.pts-0.pc07 (2025/11/28 18時47分18秒)       (Attached)
> 1 Socket in /usr/home/maruyama/.screen.
> [maruyama@pc07{278}] ~%
>
> --------
> (Mr.) NaoMASA MARUYAMA
> [email protected]
>
>

Reply via email to