1 Tue Mar 23 14:36:51 1993 Brian Fox (bfox@eos.crseo.ucsb.edu)
3 * readline.c (rl_copy): Changed name to rl_copy_text.
5 Mon Mar 22 19:16:05 1993 Brian Fox (bfox@eos.crseo.ucsb.edu)
7 * dispose_cmd.c, several other files. Declare dispose_xxx () as
10 * builtins/hashcom.h: Make declarations of hashed_filenames be
11 "extern" to keep the SGI compiler happy.
13 * readline.c (rl_initialize_everything): Assign values to
14 out_stream and in_stream immediately, since
15 output_character_function () can be called before
16 readline_internal () is called.
18 Tue Dec 8 09:30:56 1992 Brian Fox (bfox@cubit)
20 * readline.c (rl_init_terminal) Set PC from BC, not from *buffer.
22 Mon Nov 30 09:35:47 1992 Brian Fox (bfox@cubit)
24 * readline.c (invoking_keyseqs_in_map, rl_parse_and_bind) Allow
25 backslash to quote characters, such as backslash, double quote,
26 and space. Backslash quotes all character indiscriminately.
28 * funmap.c (vi_keymap) Fix type in "vi-replace" declaration.
30 Fri Nov 20 10:55:05 1992 Brian Fox (bfox@cubit)
32 * readline.c (init_terminal_io, rl_prep_terminal): FINALLY!
33 Declare and use termcap variable `ospeed' when setting up terminal
36 Thu Oct 8 08:53:07 1992 Brian J. Fox (bfox@helios)
38 * Makefile, this directory: Include (as links to the canonical
39 sources), tilde.c, tilde.h, posixstat.h and xmalloc.c.
41 Tue Sep 29 13:07:21 1992 Brian J. Fox (bfox@helios)
43 * readline.c (init_terminal_io) Don't set arrow keys if the key
44 sequences that represent them are already set.
46 * readline.c (rl_function_of_keyseq) New function returns the first
47 function (or macro) found while searching a key sequence.
49 Mon Sep 28 00:34:04 1992 Brian J. Fox (bfox@helios)
51 * readline.c (LibraryVersion) New static char * contains current
52 version number. Version is at 2.0.
54 * readline.c (rl_complete_internal): Incorporated clean changes
55 from gilmore (gnu@cygnus.com) to support quoted substrings within
58 * readline.c (many locations) Added support for the _GO32_,
59 whatever that is. Patches supplied by Cygnus, typed in by hand,
62 Sun Aug 16 12:46:24 1992 Brian Fox (bfox@cubit)
64 * readline.c (init_terminal_io): Find out the values of the keypad
65 arrows and bind them to appropriate RL functions if present.
67 Mon Aug 10 18:13:24 1992 Brian Fox (bfox@cubit)
69 * history.c (stifle_history): A negative argument to stifle
72 Tue Jul 28 09:28:41 1992 Brian Fox (bfox@cubit)
74 * readline.c (rl_variable_bind): New local structure describes
75 booleans by name and address; code in rl_variable_bind () looks at
76 structure to set simple variables.
78 * parens.c (rl_insert_close): New variable rl_blink_matching_paren
79 is non-zero if we want to blink the matching open when a close is
80 inserted. If FD_SET is defined, rl_blink_matching_paren defaults
81 to 1, else 0. If FD_SET is not defined, and
82 rl_blink_matching_paren is non-zero, the close character(s) are/is
85 Wed Jul 22 20:03:59 1992 Brian Fox (bfox@cubit)
87 * history.c, readline.c, vi_mode.c: Cause the functions strchr ()
88 and strrchr () to be used instead of index () and rindex ()
89 throughout the source.
91 Mon Jul 13 11:34:07 1992 Brian Fox (bfox@cubit)
93 * readline.c: (rl_variable_bind) New variable "meta-flag" if "on"
94 means force the use of the 8th bit as Meta bit. Internal variable
97 Thu Jul 9 10:37:56 1992 Brian Fox (bfox@cubit)
99 * history.c (get_history_event) Change INDEX to LOCAL_INDEX. If
100 compiling for the shell, allow shell metacharacters to separate
101 history tokens as they would for shell tokens.
103 Sat Jul 4 19:29:12 1992 Brian Fox (bfox@cubit)
105 * vi_keymap.c: According to Posix, TAB self-inserts instead of
108 * vi_mode.c: (rl_vi_yank_arg) Enter VI insert mode after yanking
109 an arg from the previous line.
111 * search.c: New file takes over vi style searching and implements
112 non-incremental searching the history.
114 Makefile: Add search.c and search.o.
116 funmap.c: Add names for non-incremental-forward-search-history and
117 non-incremental-reverse-search-history.
119 readline.h: Add extern definitions for non-incremental searching.
121 vi_mode.c: Remove old search code; add calls to code in search.c.
123 Fri Jul 3 10:36:33 1992 Brian Fox (bfox@cubit)
125 * readline.c (rl_delete_horizontal_space); New function deletes
126 all whitespace surrounding point.
128 funmap.c: Add "delete-horizontal-space".
129 emacs_keymap.c: Put rl_delete_horizontal_space () on M-\.
131 * readline.c (rl_set_signals, rl_clear_signals); New function
132 rl_set_sighandler () is either defined in a Posix way (if
133 HAVE_POSIX_SIGNALS is defined) or in a BSD way. Function is
134 called from rl_set_signals () and rl_clear_signals ().
136 Fri May 8 12:50:15 1992 Brian Fox (bfox@cubit)
138 * readline.c: (readline_default_bindings) Do comparisons with
139 _POSIX_VDISABLE casted to `unsigned char'. Change tty characters
142 Thu Apr 30 12:36:35 1992 Brian Fox (bfox@cubit)
144 * readline.c: (rl_getc) Handle "read would block" error on
145 non-blocking IO streams.
147 * readline.c: (rl_signal_handler): Unblock only the signal that we
148 have caught, not all signals.
150 Sun Feb 23 03:33:09 1992 Brian Fox (bfox at gnuwest.fsf.org)
152 * readline.c: Many functions. Use only the macros META_CHAR and
153 UNMETA to deal with meta characters. Prior to this, we used
154 numeric values and tests.
156 * readline.c (rl_complete_internal) Report exactly the number of
157 possible completions, not the number + 1.
159 * vi_mode.c (rl_do_move) Do not change the cursor position when
162 * vi_mode.c (rl_vi_complete) Enter insert mode after completing
165 Fri Feb 21 05:58:18 1992 Brian Fox (bfox at gnuwest.fsf.org)
167 * readline.c (rl_dispatch) Increment rl_key_sequence_length for
168 meta characters that map onto ESC map.
170 Mon Feb 10 01:41:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
172 * history.c (history_do_write) Build a buffer of all of the lines
173 to write and write them in one fell swoop (lower overhead than
174 calling write () for each line). Suggested by Peter Ho.
176 * readline.c: Include hbullx20 as well as hpux for determining
179 * readline.c (rl_unix_word_rubout) As per the "Now REMEMBER"
180 comment, pass arguments to rl_kill_text () in the correct order to
181 preserve prepending and appending of killed text.
183 * readline.c (rl_search_history) malloc (), realloc (), and free
184 () SEARCH_STRING so that there are no static limits on searching.
186 * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
188 Fri Jan 31 14:51:02 1992 Brian Fox (bfox at gnuwest.fsf.org)
190 * readline.c (rl_signal_handler): Zero the current history entry's
191 pointer after freeing the undo_list when SIGINT received.
192 Reformat a couple of functions.
194 Sat Jan 25 13:47:35 1992 Brian Fox (bfox at bears)
196 * readline.c (parser_if): free () TNAME after use.
198 Tue Jan 21 01:01:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
200 * readline.c (rl_redisplay) and (rl_character_len): Display
201 Control characters as "^c" and Meta characters as "\234", instead
204 Sun Dec 29 10:59:00 1991 Brian Fox (bfox at gnuwest.fsf.org)
206 * readline.c (init_terminal_io) Default to environment variables
207 LINES and COLUMNS before termcap entry values. If all else fails,
208 then assume 80x24 terminal.
210 Sat Dec 28 16:33:11 1991 Brian Fox (bfox at gnuwest.fsf.org)
212 * readline.c: If this machine is USG and it is hpux, then define
215 * history.c: Cosmetic fixes.
217 Thu Nov 21 00:10:12 1991 Brian Fox (bfox at gnuwest.fsf.org)
219 * vi_mode.c: (rl_do_move) Place cursor at end of line, never at
220 next to last character.
222 Thu Nov 14 05:08:01 1991 Brian Fox (bfox at gnuwest.fsf.org)
224 * history.c (get_history_event) Non-anchored searches can have a
225 return index of greater than zero from get_history_event ().
227 Fri Nov 1 07:02:13 1991 Brian Fox (bfox at gnuwest.fsf.org)
229 * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
232 Mon Oct 28 11:34:52 1991 Brian Fox (bfox at gnuwest.fsf.org)
234 * readline.c; Use Posix directory routines and macros.
236 * funmap.c; Add entry for call-last-kbd-macro.
238 * readline.c (rl_prep_term); Use system EOF character on POSIX
241 Thu Oct 3 16:19:53 1991 Brian Fox (bfox at gnuwest.fsf.org)
243 * readline.c; Make a distinction between having a TERMIOS tty
244 driver, and having POSIX signal handling. You might one without
245 the other. New defines used HAVE_POSIX_SIGNALS, and
248 Tue Jul 30 22:37:26 1991 Brian Fox (bfox at gnuwest.fsf.org)
250 * readline.c: rl_getc () If a call to read () returns without an
251 error, but with zero characters, the file is empty, so return EOF.
253 Thu Jul 11 20:58:38 1991 Brian Fox (bfox at gnuwest.fsf.org)
255 * readline.c: (rl_get_next_history, rl_get_previous_history)
256 Reallocate the buffer space if the line being moved to is longer
257 the the current space allocated. Amazing that no one has found
260 Sun Jul 7 02:37:05 1991 Brian Fox (bfox at gnuwest.fsf.org)
262 * readline.c:(rl_parse_and_bind) Allow leading whitespace.
263 Make sure TERMIO and TERMIOS systems treat CR and NL
266 Tue Jun 25 04:09:27 1991 Brian Fox (bfox at gnuwest.fsf.org)
268 * readline.c: Rework parsing conditionals to pay attention to the
269 prior states of the conditional stack. This makes $if statements
272 Mon Jun 24 20:45:59 1991 Brian Fox (bfox at gnuwest.fsf.org)
274 * readline.c: support for displaying key binding information
275 includes the functions rl_list_funmap_names (),
276 invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
277 rl_dump_functions (), and rl_function_dumper ().
279 funmap.c: support for same includes rl_funmap_names ().
281 readline.c, funmap.c: no longer define STATIC_MALLOC. However,
282 update both version of xrealloc () to handle a null pointer.
284 Thu Apr 25 12:03:49 1991 Brian Fox (bfox at gnuwest.fsf.org)
286 * vi_mode.c (rl_vi_fword, fWord, etc. All functions use
287 the macro `isident()'. Fixed movement bug which prevents
288 continious movement through the text.
290 Fri Jul 27 16:47:01 1990 Brian Fox (bfox at gnuwest.fsf.org)
292 * readline.c (parser_if) Allow "$if term=foo" construct.
294 Wed May 23 16:10:33 1990 Brian Fox (bfox at gnuwest.fsf.org)
296 * readline.c (rl_dispatch) Correctly remember the last command
297 executed. Fixed typo in username_completion_function ().
299 Mon Apr 9 19:55:48 1990 Brian Fox (bfox at gnuwest.fsf.org)
301 * readline.c: username_completion_function (); For text passed in
302 with a leading `~', remember that this could be a filename (after
305 Thu Apr 5 13:44:24 1990 Brian Fox (bfox at gnuwest.fsf.org)
307 * readline.c: rl_search_history (): Correctly handle case of an
308 unfound search string, but a graceful exit (as with ESC).
310 * readline.c: rl_restart_output (); The Apollo passes the address
311 of the file descriptor to TIOCSTART, not the descriptor itself.
313 Tue Mar 20 05:38:55 1990 Brian Fox (bfox at gnuwest.fsf.org)
315 * readline.c: rl_complete (); second call in a row causes possible
316 completions to be listed.
318 * readline.c: rl_redisplay (), added prompt_this_line variable
319 which is the first character character following \n in prompt.
321 Sun Mar 11 04:32:03 1990 Brian Fox (bfox at gnuwest.fsf.org)
323 * Signals are now supposedly handled inside of SYSV compilation.
325 Wed Jan 17 19:24:09 1990 Brian Fox (bfox at sbphy.ucsb.edu)
327 * history.c: history_expand (); fixed overwriting memory error,
328 added needed argument to call to get_history_event ().
330 Thu Jan 11 10:54:04 1990 Brian Fox (bfox at sbphy.ucsb.edu)
332 * readline.c: added mark_modified_lines to control the
333 display of an asterisk on modified history lines. Also
334 added a user variable called mark-modified-lines to the
337 Thu Jan 4 10:38:05 1990 Brian Fox (bfox at sbphy.ucsb.edu)
339 * readline.c: start_insert (). Only use IC if we don't have an im
342 Fri Sep 8 09:00:45 1989 Brian Fox (bfox at aurel)
344 * readline.c: rl_prep_terminal (). Only turn on 8th bit
345 as meta-bit iff the terminal is not using parity.
347 Sun Sep 3 08:57:40 1989 Brian Fox (bfox at aurel)
349 * readline.c: start_insert (). Uses multiple
350 insertion call in cases where that makes sense.
352 rl_insert (). Read type-ahead buffer for additional
353 keys that are bound to rl_insert, and insert them
354 all at once. Make insertion of single keys given
355 with an argument much more efficient.
357 Tue Aug 8 18:13:57 1989 Brian Fox (bfox at aurel)
359 * readline.c: Changed handling of EOF. readline () returns
360 (char *)EOF or consed string. The EOF character is read from the
361 tty, or if the tty doesn't have one, defaults to C-d.
363 * readline.c: Added support for event driven programs.
364 rl_event_hook is the address of a function you want called
365 while Readline is waiting for input.
367 * readline.c: Cleanup time. Functions without type declarations
368 do not use return with a value.
370 * history.c: history_expand () has new variable which is the
371 characters to ignore immediately following history_expansion_char.
373 Sun Jul 16 08:14:00 1989 Brian Fox (bfox at aurel)
375 * rl_prep_terminal ()
376 BSD version turns off C-s, C-q, C-y, C-v.
378 * readline.c -- rl_prep_terminal ()
379 SYSV version hacks readline_echoing_p.
380 BSD version turns on passing of the 8th bit for the duration
383 Tue Jul 11 06:25:01 1989 Brian Fox (bfox at aurel)
385 * readline.c: new variable rl_tilde_expander.
386 If non-null, this contains the address of a function to call if
387 the standard meaning for expanding a tilde fails. The function is
388 called with the text sans tilde (as in "foo"), and returns a
389 malloc()'ed string which is the expansion, or a NULL pointer if
390 there is no expansion.
392 * readline.h - new file chardefs.h
393 Separates things that only readline.c needs from the standard
394 header file publishing interesting things about readline.
397 readline_default_bindings () now looks at terminal chararacters
398 and binds those as well.
400 Wed Jun 28 20:20:51 1989 Brian Fox (bfox at aurel)
402 * Made readline and history into independent libraries.