comparison liboctave/cmd-edit.cc @ 3225:7aae2c3636a7

[project @ 1998-12-04 23:20:12 by jwe]
author jwe
date Fri, 04 Dec 1998 23:20:26 +0000
parents 30770ba4457a
children cd454a6fa1a4
comparison
equal deleted inserted replaced
3224:1e7532b9173b 3225:7aae2c3636a7
22 22
23 #ifdef HAVE_CONFIG_H 23 #ifdef HAVE_CONFIG_H
24 #include <config.h> 24 #include <config.h>
25 #endif 25 #endif
26 26
27 #include <cstdlib>
27 #include <cstring> 28 #include <cstring>
28 #include <ctime> 29 #include <ctime>
29 30
30 #include <string> 31 #include <string>
31 32
137 138
138 gnu_readline::gnu_readline () 139 gnu_readline::gnu_readline ()
139 : command_editor (), previous_startup_hook (0), 140 : command_editor (), previous_startup_hook (0),
140 previous_event_hook (0), completion_function (0) 141 previous_event_hook (0), completion_function (0)
141 { 142 {
143 rl_terminal_name = ::getenv ("TERM");
144
142 rl_initialize (); 145 rl_initialize ();
143 146
144 do_blink_matching_paren (true); 147 do_blink_matching_paren (true);
145 148
146 // Bind operate-and-get-next. 149 // Bind operate-and-get-next.