I can't see what is different in tset, both old and new should just send is2 and that hasn't changed as far as I can tell.
Can someone show me the output of this from before the ncurses update (maybe 7.4-release): /usr/bin/tset -sQ '-munknown:?vt220' vt220 2>&1|cat -v On Mon, Oct 23, 2023 at 03:14:46PM -0600, Todd C. Miller wrote: > On Mon, 23 Oct 2023 13:16:36 -0400, Daniel Jakots wrote: > > > I installed a new machine on Saturday (with -current) and I noticed > > that when I logged in as root the terminal get cleared but not cleanly. > > I upgraded a existing machine to a newer snapshot and then the problem > > appeared as well. > > > > This happens when using `doas su -`, `ssh root@` and I think I had it on > > console as well. > > For some reason, it doesn't happen with my regular user. > > > > Previous snapshot was from 2023-10-13. I guess it's since the > > libcurses update on the 17th? > > This is probably caused by the tset(1) update. > > - todd >