Up to [cvs.NetBSD.org] / pkgsrc / misc / rlwrap
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
PR/4997 from Leonardo Taccary, thanks!
Update misc/rlwrap to rlwrap-0.42.
Changes:
0.42
----
* Added --mirror-arguments (-U) option
* On SunOS tcgetattr(slave pty) failed with "Invalid argument"
* If the completion list contained two words, one of which a
prefix of the other (e.g. "sea" and "seagull") the shorter one would
be skipped when displaying a list of completions
* reading completion files (with the -f option, or from
$RLWRAP_HOME/<command>_completions) could fail with an incorrect
ENOENT ("No such file or directory")
* rlwrap -z listing wouldn't list filters
* When both master and slave pty are unfit for sensing slave
commands terminal settings, rlwrap now bails out with an error
"cannot determine terminal mode of slave command"
0.41
----
* Slightly late SIGCHLD could cause an I/O error on master pty
* Added -W (-polling) option to poll slave pty for changes in its
interrupt character and ISIG flag.
* if $TERM is not found in termcap/terminfo database, use vt100
0.40
----
* configure will now find tgetent() in libtinfo
* compiling with gcc -O2 made rlwrap hang after CTRL-D on empty line
* HP-UX 11 has weird tgetent() return values, confusing rlwrap
* On Solaris, rlwrap would sometimes fail with "TIOCSWINSZ failed on
slave pty"
* Single quote ' is now word-breaking by default
* multi-line edit would mangle upper ASCII and UTF-8 (and still does
that to UTF16 :( )
* added --extra-char-after-completion and -multi-line-ext options
* rlwrap now recognises the 'rmcup' and 'rmkx' character sequences used by
programs that use an alternate screen (like editors and pagers) to return
from it.
* configure will now correctly determine pty type on SCO OpenServer
* rlwrap --no-children would leak file descriptors to /proc/<command_pid>/wchan
* non-ASCII characters in multi-line input are no longer replaced
by spaces after calling an external editor
* running rlwrap within emacs would crash (division by zero).
rlwrap now bails out whenever terminal width == 0
* added --enable-proc-mountpoint config option to use alternate linux-like
proc filesystems (like in FreeBSD) for finding <command>s working dir (-c option)
and kernel function in which <command> is sleeping (-N option)
* added prototype for copy_without_ignore_markers, fixing a segfault on NetBSD/amd64
* commands final output before dying was lost on FreeBSD
* Filters now get complete echo lines even if the echo comes back in chunks
Updated to version 0.30.
Pkgsrc changes:
- Added option "debug" (off by default).
- Explicitly listed licence information.
Changes since version 0.28:
===========================
0.30 rlwrap can now use putenv() on machines that don't have
setenv() (like some Solaris systems)
EOF on stdin (e.g. by pressing CTRL-D) would end prompt colouring.
added -q option
0.29 added -A option to handle (ANSI-)coloured prompts
added -p option to colourise uncoloured prompts
added -t option to set terminal type for client command
rlwrap now copies its terminal settings from the client
even when this has put its terminal in single-keypress
(uncooked) mode. A rlwrapped emacs will now respond to CTRL-C
and CTRL-G as it should.
fixed a long-standing bug where long output lines with the -r option
would put mutilated words into the completion list. Drawback:
prompts are not put into the completion list anymore (bug or feature?).
rlwrap now handles output to the client before input from the
client, and only handles keyboard input when all client I/O has
been handled. This will make rlwrap a little better behaved when
handling large chunks of (pasted) input, especially with colourised
prompts
error messages and warnings now include the rlwrap version number
rlwrap now prints a warning when started in vi mode when the
terminal is too dumb to support upwards cursor movement
added a very simple custom malloc/free debugger for use with the
--debug option. Rather fragile and not well tested, use with care.
Whenever TERM is not set, rlwrap assumes vt100. Set TERM=dumb if
you really have a dumb terminal.
rlwrap now leaves the handling of multi-line prompts and edit
buffers to readline (except when in horizontal-scroll mode or when
configured with --enable-homegrown-redisplay).
whenever --always-readline is set, SIGWINCH not passed to
client command immediately, but only *after* accepting a line.
multi-byte prompts and input no longer confuse rlwrap (provided
your readline lib supports multi-byte characters)
--spy-on-readline now enabled by default
the configure script will now find term.h on cygwin
dropped the assumption that tgetent() and friends are only ever
declared in term.h; rlwrap now has proper terminal handling also
under SunOS.
the rlwrap source should again be fit for consumption by older
(C91 compliant) compilers