head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.122 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.120 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.118 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.116 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.114 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.112 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.110 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.108 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.106 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.104 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.102 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.100 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.98 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.96 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.94 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.92 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.90 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.88 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.86 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.84 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.82 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.80 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.78 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.74 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.54 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.76 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.72 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.70 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.68 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.66 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.64 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.62 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.60 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.58 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.56 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.52 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.50 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.48 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.46 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.44 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.42 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.40 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.38 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.36 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.34 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.32 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.30 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.28 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.26 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.24 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.22 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.20 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.18 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.16 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.14 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.12 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.10 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.8 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.6 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.2 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.4.0.22 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.20 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.18 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.16 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.14 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.12 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.10 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.8 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.6 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.4 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.2 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.3.0.38 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.36 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.34 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.32 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.30 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.28 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.26 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.24 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.22 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.20 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.1; locks; strict; comment @# @; 1.5 date 2011.02.23.11.00.17; author adam; state Exp; branches; next 1.4; 1.4 date 2008.08.13.11.11.38; author he; state Exp; branches; next 1.3; 1.3 date 2001.08.06.14.20.48; author jlam; state dead; branches; next 1.2; 1.2 date 99.07.13.00.56.13; author jlam; state Exp; branches; next 1.1; 1.1 date 99.02.23.18.56.59; author sommerfe; state Exp; branches; next ; desc @@ 1.5 log @Changes 6.2: a. Fixed a bug that caused the unconverted filename to be added to the list of completions when the application specified filename conversion functions. b. Fixed a bug that caused the wrong filename to be passed to opendir when the application has specified a filename dequoting function. c. Fixed a bug when repeating a character search in vi mode in the case where there was no search to repeat. d. When show-all-if-ambiguous is set, the completion routines no longer insert a common match prefix that is shorter than the text being completed. e. The full set of vi editing commands may now be used in callback mode. dimensions while running in `no-echo' mode. h. Fixed a bug that caused readline to dump core if an application called rl_prep_terminal without setting rl_instream. i. Fixed a bug that caused meta-prefixed characters bound to incremental search forward or backward to not be recognized if they were typed subsequently. j. The incremental search code treats key sequences that map to the same functions as (default) ^G, ^W, and ^Y as equivalent to those characters. k. Fixed a bug in menu-complete that caused it to misbehave with large negative argument. l. Fixed a bug that caused vi-mode yank-last-arg to ring the bell when invoked at the end of the line. m. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave as if it were a negative argument. n. Fixed a bug that caused directory names in words to be completed to not be dequoted correctly. New Features a. The history library does not try to write the history filename in the current directory if $HOME is unset. This closes a potential security problem if the application does not specify a history filename. b. New bindable variable `completion-display-width' to set the number of columns used when displaying completions. c. New bindable variable `completion-case-map' to cause case-insensitive completion to treat `-' and `_' as identical. d. There are new bindable vi-mode command names to avoid readline's case- insensitive matching not allowing them to be bound separately. e. New bindable variable `menu-complete-display-prefix' causes the menu completion code to display the common prefix of the possible completions before cycling through the list, instead of after. @ text @$NetBSD: patch-ah,v 1.4 2008/08/13 11:11:38 he Exp $ --- readline.h.orig 2006-08-16 21:16:59.000000000 +0200 +++ readline.h @@@@ -32,6 +32,7 @@@@ extern "C" { # include "keymaps.h" # include "tilde.h" #else +# include # include # include # include @ 1.4 log @Update from version 5.2nb1 to 5.2nb2. This imports some fixes from Debian. First and foremost: http://lists.gnu.org/archive/html/bug-bash/2006-11/msg00017.html Bug-Description: In some cases, code that is intended to be used in the presence of multibyte characters is called when no such characters are present, leading to incorrect display position calculations and incorrect redisplay. http://lists.gnu.org/archive/html/bug-readline/2007-01/msg00002.html Bug-Description: Readline neglects to reallocate the array it uses to keep track of wrapped screen lines when increasing its size. This will eventually result in segmentation faults when given sufficiently long input. http://lists.gnu.org/archive/html/bug-bash/2007-02/msg00054.html Bug-Description: When moving the cursor, bash sometimes misplaces the cursor when the prompt contains two or more multibyte characters. The particular circumstance that uncovered the problem was having the (multibyte) current directory name in the prompt string. ...all related to display.c. Also add include of to two of the readline header files. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -33,6 +33,7 @@@@ extern "C" { @ 1.3 log @Update readline to 4.2. Major changes from version 4.1: * bug fixes * improve linking with C++ code + a new file, rltypedefs.h, contains the new typedefs for function pointers + several minor additions to the API to customize look of readline + more complete documentation for public functions and variables @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.2 1999/07/13 00:56:13 jlam Exp $ d3 10 a12 11 --- chardefs.h.orig Thu Sep 25 10:59:00 1997 +++ chardefs.h Tue Jul 6 05:18:58 1999 @@@@ -51,7 +51,7 @@@@ #define meta_character_bit 0x080 /* x0000000, must be on. */ #define largest_char 255 /* Largest character value. */ -#define CTRL_CHAR(c) ((c) < control_character_threshold && (c) >= 0) +#define CTRL_CHAR(c) (((unsigned)(c)) < control_character_threshold) #define META_CHAR(c) ((c) > meta_character_threshold && (c) <= largest_char) #define CTRL(c) ((c) & control_character_mask) @ 1.2 log @ * Update "devel/readline" to 4.0. * Libtoolize library build. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Fix for arm (and anywhere else chars are unsigned by default) (should not cause problems on systems with signed chars.) @ text @d3 2 a4 2 --- chardefs.h.~1~ Thu Sep 25 10:59:00 1997 +++ chardefs.h Tue Feb 23 13:47:23 1999 @