./misc/rlwrap, Provides command line editing and history for other commands

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.43nb1, Package name: rlwrap-0.43nb1, Maintainer: leot

rlwrap is a 'readline wrapper' that uses the GNU readline library to
allow the editing of keyboard input for any other command. Input history
is remembered across invocations, separately for each command; history
completion and search work as in bash and completion word lists can be
specified on the command line.


Required to run:
[lang/perl5] [devel/readline] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0c0a3a6012a003d4ae3a44e9f82f9090b4ac4650
RMD160: 8c122eb2acb8963132be744aae0f6d416169877e
Filesize: 305.8 KB

Version history: (Expand)


CVS history: (Expand)


   2018-09-18 16:30:17 by Leonardo Taccari | Files touched by this commit (2)
Log message:
rlwrap: Add URL of upstream pull request in patch-configure.ac
   2018-09-18 16:17:26 by Leonardo Taccari | Files touched by this commit (3)
Log message:
rlwrap: Properly include <util.h> for openpty(3)

Previously on NetBSD and probably other system that has openpty(3)
in util.h the compilation lead to a:

 ptytty.c: In function 'ptytty_get_pty':
 ptytty.c:72:7: warning: implicit declaration of function 'openpty' \ 
[-Wimplicit-function-declaration]
    if (openpty(&pfd, fd_tty, tty_name, NULL, NULL) != -1) {
        ^~~~~~~

due a missing <util.h> inclusion.

Add a patch for configure.ac (and auto* tools to USE_TOOLS) in
order to address that.

Originally reported by Matthew Mondor via PR pkg/46190 and thanks
to Matthew and <wiz> for their analysis!
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-04-10 22:30:15 by Leonardo Taccari | Files touched by this commit (3) | Package updated
Log message:
Update misc/rlwrap to 0.43

pkgsrc changes:
 - depends on python3* now that filters can be written in Python
 - update MASTER_SITES and HOMEPAGE (old homepage seems no longer available)
 - take MAINTAINERship

Changes:
0.43
----
 - Added Hisanobu Okuda's rlwrapfilter.py python3 module
   and example filters. Filters can now be written in python
   as well as perl.
 - If a filter was used, rlwrap would pass all input, output,
   history items, prompts, ... through the filter, even if it
   wouldn't change them. Now, at startup, filters (even filter
   pipelines) tell rlwrap which messages they handle, after which
   rlwrap won't bother them with anything else.
 - Added bindable readline command rlwrap-direct-keypress
   that bypasses readline editing and sends its keypress directly
   to the rlwrapped command (like CTRL-G for the Erlang shell)
 - Added bindable readline command rlwrap-hotkey that passes
   the current input buffer and history to the filter (or
   filter pipeline) specified with the '-z' option. This can
   be used e.g. to insert the current selection at the cursor
   position, or to edit (re-write) the history.
   This uncovered quite a few bugs and inconsistencies:
      - My ncurses' termcap emulation misses some codes (like
        term_cursor_hpos) that its terminfo has. rlwrap now
        always searches terminfo before termcap.
      - rlwrap was confused about the role of history_offset,
        resulting in muddled and unclear (although correct) code.
      - rlwrap --history-size -0 would clobber the history file
        (as per the manual - that has been updated as well)
      - rlwrap's ad hoc way of sending lists of strings to filters
        by interspersing them with TABS or spaces is becoming
        unwieldy, it has been replaced by a standard encoding
        <length1><string1><length2><string2>.... (where the
        <lengths> are fixed length hexadecimal numbers (this is a
        contribution by Hisanobu Okuda)
 - Playing back a readline macro consisting of more than one line
   would crash with SIGSEGV
 - rlwrap with negative --histsize would fail when there is no
   history file yet.
 - An empty prompt would make $filter->{cumulative_output} miss
   its last line
 - Pre-given (-P) input would only be put in input line after
   cooking timeout (usually 40 msec)
 - One-shot (-o) rlwrap could accept more than one line when input
   in quick succession.
 - rlwrap didn't delete the tempfiles used in a multi-line
   edit
 - configure.ac now works even when cross-compiling (skipping some
   tests, but providing sensible defaults)
 - --enable-pedantic-ansi is a new configure option separate from
   --enable-debug (it used to be implied by --enable-debug)
 - --complete-filenames (-c) will now work on OS X and FreeBSD as well
   2017-01-04 23:19:17 by Roy Marples | Files touched by this commit (1)
Log message:
Use the curses framework.
   2016-07-09 08:39:18 by Thomas Klausner | Files touched by this commit (1068) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
   2015-11-04 00:49:56 by Alistair G. Crooks | Files touched by this commit (330)
Log message:
Add SHA512 digests for distfiles for misc category

Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-08-18 09:31:20 by Thomas Klausner | Files touched by this commit (282)
Log message:
Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.