Skip to content

Releases: hanslub42/rlwrap

0.48

13 Nov 10:56

Choose a tag to compare

Bug fixes

  • rlwrap would mess up history when compiled with readline-8.3
  • --filter 'filter_commandline $with <shell_metachars' would not find filters in $RLWRAP_FILTERDIR
  • rlwrap would not always honour show-mode-in-prompt
  • make pipeline filter find filters in $RLWRAP_FILTERDIR

New features

  • allow full user control of word-breakers with --break-chars='precisely:...'
  • simplify handling of --prompt-colour, which now accepts general (ANSI) color codes for e.g. 256-color terminals
  • add -i option to filters logger and logger.py (making them useful stand-alone)
  • add example filter null2.py (to show how to make argparse print filter help with e.g. rlwrap -z null2.py)

0.47.1

22 Aug 07:36

Choose a tag to compare

Minor bug fix

  • Correct typo (== instead of = in a configure test) that caused a mis-configuration on systems where sh is linked to dash

0.47

20 Aug 21:19

Choose a tag to compare

Bug fix

  • use libptytty by default and add --with-libptytty option to configure. Keep the original ptytty.c code as a fallback.

  • add libtinfow to the list of libraries that are checked for the presence of tgetent()

  • only look for filters in $RLWRAP_FILTERDIR and don't add this directory to filter's PATH

  • have rlwrap source conform to POSIX.1c (as we cannot use Polarhome anymore to test on ancient systems)

  • extend testclient with a test that spawns a child and then dies (testing the effect of --skip-setctty)

  • make configure backdate src/completion.rb a few seconds to prevent spurious calls to rbgen

0.46.2

05 May 10:25

Choose a tag to compare

Bug fix

  • python filters would cause "invalid escape sequence" SyntaxWarnings
    with python 3.12 or newer.

  • --skip-ctty option skips making slave pty a controlling terminal

  • warn (don't die) when a specified completion file is not found

  • configure will bail out (not just warn) when no termcap -like
    library is found.

  • additionally check for TERM when INSIDE_EMACS is set
    (allowing the use of rlwrap within shells run by emacs)

  • gcc -Wformat-security would warn about rl_message() being
    used in an unsafe manner.

  • silence unhelpful input/output error messages at command exit

0.46.1

06 Nov 10:08

Choose a tag to compare

Bug fix

When compiled with readline-8.2, correctly handle echo'ed user input when accepting a line (see #168)

This will disable bracketed-paste when compiled with readline-8.1 or earlier.

sha256 checksums:

  • 2711986a1248f6ac59e2aecf5586205835970040d300a42b4bf8014397e73e37 rlwrap-0.46.1.tar.gz
  • dbe2effb9717e9d0cabc90324d90d551381b9f46ecec76bf46b2188ecf9a1d26 rlwrap-0.46.1.zip

v0.46

20 Oct 20:48
3282c9d

Choose a tag to compare

Bug fixes:

  • rlwrapfilter.py would not find collections.Callable with newer (>= 3.10) python
  • rlwrapfilter.py would choke on rlwrap version strings (like 0.45.2) that cannot be converted by float()
  • rlwrap could segfault or garble prompts containing a carriage return
  • configure.ac would complain about obsolete macros with newest autoconf
  • Bind TAB to self-insert if no completions are specified on the rlwrap command line

sha256 checksums:

  • b4bd79fda824426dae65236e338ba7daf3f0d0acad7c1561d4d5e6dadcfd539d rlwrap-0.46.tar.gz
  • ff9a03e6388d63dd89270f092e3cbfea6260b5fd2b04f8868b6f369f9c43a90d rlwrap-0.46.zip

v0.45.2

15 Jun 09:16

Choose a tag to compare

Bug fixes:

  • rlwrap enables bracketed-paste when instructed to do so by .inputrc, but would then never disable it at exit.
  • rlwrap -z (i.e. rlwrap when using a filter) would still open /tmp/rlwrap.debug after forking the filter command, preventing other users from running it afterwards

sha256 checksums:

  • 9f8870deb46e473d21b5db89d709b6497f4ef9fa06d44eebc5f821daa00c8eca rlwrap-0.45.2.tar.gz
  • f66b7ec6aff108d93bfb8dcbe5166064865bcefbeead4518e5da38b8dc8d6571 rlwrap-0.45.2.zip

v0.45.1

19 May 06:22

Choose a tag to compare

Bug fixes:

  • rlwrap would always open /tmp/rlwrap.debug after forking child command, preventing other users from running it.
  • Fix args to setitimer() call to prevent EINVAL error on return
  • advise about --always-readline if in direct mode at first user ENTER keystroke
  • check for I_SWROPT even if isastream() is present (compile would fail on Oracle linux)

v0.45

11 Feb 11:40

Choose a tag to compare

0.45

New features:

  • --only-cook '!<regexp>' enables confident mode where every
    possible prompt that matches a regexp is cooked immediately
    (so that even prompts that get printed while handling a large
    paste are cooked).
  • --no-children (-N) now enables direct mode whenever the client
    switches to the alternate screen. This makes editors and pagers
    usable even when using --always-readline on non-linux systems
  • --always-echo echoes user input even when the client has
    switched off ECHO.
  • filter makefilter to easily employ shell commands (like sed,
    or grep) as rlwrap filters
  • filters can change (some) bindable and internal readline
    variables with a new RlwrapFilter method tweak_readline_oob()

Bug Fixes:

  • rlwrap now correctly handles bracketed paste
  • --ansi-colour-aware (-A) didn't do anything at all. Now it
    recognises colour codes as well as common control codes like
    window titles.

v0.44

30 Jan 20:11

Choose a tag to compare

New Features

  • rlwrap is now aware of multi-byte characters and correctly handles prompts (or things that look like prompts, e.g. progress indicators) that contain them.
  • rlwrap filters can now also filter signals (see RlwrapFilter(3pm)), changing them, or providing extra input to the rlwrapped command.
  • Key sequences can now be bound to rlwrap-direct-keypress (using a new readline command rlwrap-direct-prefix) (contributed by Yuri d'Elia)

Bug fixes

  • now works with the readline 8.1 (which exposed an old bug caused by rlwrap mis-handling enabled bracketed-paste)
  • binding accept-line to a key would make pressing that key mess up the display

See the NEWS for more details