From d0d107c16c51594f90ef014cf205e96893bc7a82 Mon Sep 17 00:00:00 2001 From: heinz Date: Wed, 9 Jan 2008 13:40:37 +0000 Subject: 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 --- misc/rlwrap/Makefile | 8 ++++++-- misc/rlwrap/distinfo | 8 ++++---- misc/rlwrap/options.mk | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 misc/rlwrap/options.mk (limited to 'misc/rlwrap') diff --git a/misc/rlwrap/Makefile b/misc/rlwrap/Makefile index 481c27e23b5..604bd6407a8 100644 --- a/misc/rlwrap/Makefile +++ b/misc/rlwrap/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/08/24 09:54:31 heinz Exp $ +# $NetBSD: Makefile,v 1.2 2008/01/09 13:40:37 heinz Exp $ # -DISTNAME= rlwrap-0.28 +DISTNAME= rlwrap-0.30 CATEGORIES= misc MASTER_SITES= http://utopia.knoware.nl/~hlub/uck/rlwrap/ @@ -9,12 +9,16 @@ MAINTAINER= heinz@NetBSD.org HOMEPAGE= http://utopia.knoware.nl/~hlub/uck/rlwrap/ COMMENT= Provides command line editing and history for other commands +#LICENSE= gnu-gpl-v2 + PKG_DESTDIR_SUPPORT= user-destdir BUILDLINK_API_DEPENDS.readline+=readline>=4.2 GNU_CONFIGURE= yes +.include "options.mk" + USE_GNU_READLINE= yes USE_LANGUAGES= c USE_TOOLS+= gmake diff --git a/misc/rlwrap/distinfo b/misc/rlwrap/distinfo index a77fab26f49..42d8257e9b7 100644 --- a/misc/rlwrap/distinfo +++ b/misc/rlwrap/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/08/24 09:54:31 heinz Exp $ +$NetBSD: distinfo,v 1.2 2008/01/09 13:40:38 heinz Exp $ -SHA1 (rlwrap-0.28.tar.gz) = b48bb61902e9c76eb22c63acd8c20a40a88a9a82 -RMD160 (rlwrap-0.28.tar.gz) = 09666c3706c4d0fd0acd1963ca212ab264dad022 -Size (rlwrap-0.28.tar.gz) = 163374 bytes +SHA1 (rlwrap-0.30.tar.gz) = 26f3a6348710fee5e87f5274ddc29af8eaaf65d2 +RMD160 (rlwrap-0.30.tar.gz) = 23f19b9e98f61183fe719ee7a62db9d8ee2cf602 +Size (rlwrap-0.30.tar.gz) = 184037 bytes diff --git a/misc/rlwrap/options.mk b/misc/rlwrap/options.mk new file mode 100644 index 00000000000..79d4346a6ce --- /dev/null +++ b/misc/rlwrap/options.mk @@ -0,0 +1,16 @@ +# $NetBSD: options.mk,v 1.1 2008/01/09 13:40:38 heinz Exp $ +# +PKG_OPTIONS_VAR= PKG_OPTIONS.rlwrap +PKG_SUPPORTED_OPTIONS= debug +PKG_SUGGESTED_OPTIONS= # empty + +.include "../../mk/bsd.prefs.mk" +.include "../../mk/bsd.options.mk" + +### +### debug option +### + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.endif -- cgit v1.2.3