Shell Behavior of tput since 14.0-RELEASE

Hello all,

This question is not important, but I'm curious.

To colorize the shell when I ssh in my FreeBSD router, I use this on login: tput AB 3 AF 0 cd
When I logout, this command is run: tput op cd.

The first colorize the background color to 3 and the foreground one to 0, then cd (clear to end of screen) in order the whole terminal to be colorized. At logout, I just undo with op but cd is needed as well.
This is documented here tput(1) and there terminfo(5).

This was perfectly working under FreeBSD 12 up to 13.2-RELEASE. With FreeBSD 14.0-RELEASE the cd command doesn't work anymore if preceded by any other command.

I mean tput cd works but tput op cd just does op. cd isn't executed.

Anyone knows why?
 
Back
Top