On 2023/10/24 08:21, Nicholas Marriott wrote: > 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
With older curses, this calls ioctl TIOCGETA on stderr and fails. 81046 tset CALL ioctl(2,TIOCGETA,0x798691d3a00) 81046 tset RET ioctl -1 errno 25 Inappropriate ioctl for device It will run under script instead though: $ /usr/bin/tset -sQ '-munknown:?vt220' vt220^M^M ^M^[[3g ^[H ^[H ^[H ^[H ^[H ^[H ^[H ^[H^M^MTERM=vt220;^M