Module Name: src Committed By: snj Date: Sun Jul 23 14:41:26 UTC 2017
Modified Files: src/lib/libedit [netbsd-8]: Makefile editline.3 editrc.5 el.c el.h prompt.c read.c refresh.c refresh.h terminal.c Added Files: src/lib/libedit [netbsd-8]: literal.c literal.h Log Message: Pull up following revision(s) (requested by kre in ticket #102): lib/libedit/Makefile: 1.64-1.65 lib/libedit/editline.3: 1.94-1.96 lib/libedit/editrc.5: 1.33 lib/libedit/el.c: 1.93-1.94 lib/libedit/el.h: 1.42 lib/libedit/literal.c: 1.1-1.3 lib/libedit/literal.h: 1.1-1.2 lib/libedit/prompt.c: 1.27 lib/libedit/read.c: 1.103 lib/libedit/refresh.c: 1.52-1.54 lib/libedit/refresh.h: 1.11 lib/libedit/terminal.c: 1.33 Make the default editrc file be $EDITRC (from env) if set, falling back to $HOME/.editrc otherwise. Better support for this in sh coming. -- Include EDITRC in doc. -- mention the limitation of the literal sequence delimiter. -- - handle literal escape sequence printing. - factor out common code in allocation and freeing of the display. -- - add literal sequence handling. -- remove unused variable -- add literal escape sequence support, patterned after the tcsh ones. -- fix comment -- Fix an obvious, but almost invisible typo (avoid some core dumps). -- Allow wide characters (properly encoded as byte strings according to LC_CTYPE) to be (perhaps part of) the "invisible" characters in a prompt, or the required prompt character which follows the literal sequence (this character must be one with a printing column width >= 1). The literal indicator character (which is just a marker, and not printed anywhere) (the PSlit parameter in sh(1)) can also be a wide char (passed to libedit as a wchar_t, encoded as that by sh(1) or other applications that support this.) Note: this has currently only been tested with everything ascii (C locale). -- Remove workaround for ancient HTML generation code. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.63.8.1 src/lib/libedit/Makefile cvs rdiff -u -r1.93 -r1.93.4.1 src/lib/libedit/editline.3 cvs rdiff -u -r1.32 -r1.32.8.1 src/lib/libedit/editrc.5 \ src/lib/libedit/terminal.c cvs rdiff -u -r1.92 -r1.92.8.1 src/lib/libedit/el.c cvs rdiff -u -r1.41 -r1.41.8.1 src/lib/libedit/el.h cvs rdiff -u -r0 -r1.3.4.2 src/lib/libedit/literal.c cvs rdiff -u -r0 -r1.2.4.2 src/lib/libedit/literal.h cvs rdiff -u -r1.26 -r1.26.8.1 src/lib/libedit/prompt.c cvs rdiff -u -r1.102 -r1.102.6.1 src/lib/libedit/read.c cvs rdiff -u -r1.51 -r1.51.8.1 src/lib/libedit/refresh.c cvs rdiff -u -r1.10 -r1.10.8.1 src/lib/libedit/refresh.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.