sysutils/screen and its now default "screen.xterm-256color" terminal type
Victor Sudakov
vas at sibptus.ru
Thu Apr 30 02:29:03 UTC 2020
Yuri Pankov wrote:
> >
> > Have you noticed that the recent versions of sysutils/screen force the
> > setting of $TERM to "screen.xterm-256color"? FreeBSD does not know this
> > terminal type, which leads to different errors in programs running under
> > screen ("using dumb terminal" etc).
> >
> > I've opened a PR
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246029 but the
> > maintainer is too quick to close it IMHO.
> >
> > Does anyone care to view/comment on the PR?
>
> $ screen --version
> Screen version 4.08.00 (GNU) 05-Feb-20
>
> Not a screen user myself, I just installed the latest screen from ports to
> check, and not seeing this behavior: without ~/.screenrc I get $TERM of
> "screen", and with "term xterm256-color" in ~/.screenrc I get exactly that
> in $TERM.
This is probably because you are starting screen from a tty (console or
ssh) session. Start it from xterm and you'll see it.
>
> What are your other related settings? Or could it be stale system-wide
> configuration somewhere, stale patches?
No, you are just not using a FreeBSD desktop system :-) which I do.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200430/80d6726f/attachment.sig>
More information about the freebsd-questions
mailing list