CVS commit: othersrc/usr.bin/window

"Brian Buhrow" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	othersrc
Committed By:	buhrow
Date:		Mon Mar  2 20:04:57 UTC 2026

Modified Files:
	othersrc/usr.bin/window: wwwrite.c

Log Message:
Teach window(1) how to deal with ANSI terminal escape sequences.
Specifically: escape sequences begining with [ and which contain ? or numeric values.
This allows window(1) to work better with those terminal programs, especially those which use
readline(3) calls, which insist on emitting these extended escape sequences even if those
definitions are not in the termcap or terminfo spec for the terminal in use.
this new support is incomplete in the sense that we don't do anything with the numeric values,
but we do honor the functions of the actions requested as long as they were actions this
program already supported.
Preliminary testing shows a vast improvement with programs like gdb and the interactive python
shells.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/usr.bin/window/wwwrite.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.