Sun Apr 12 03:09:17 1998 Norbert Warmuth <k3190@fh-sw.de>

* cmd.c (view_other_cmd): #ifdef'd application_keypad_mode and
numeric_keypad_mode (don't include it in non text editions)
This commit is contained in:
Norbert Warmuth 1998-04-12 01:20:01 +00:00
parent fd6cdb19cc
commit f325bd79c0
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
Sun Apr 12 03:09:17 1998 Norbert Warmuth <k3190@fh-sw.de>
* cmd.c (view_other_cmd): #ifdef'd application_keypad_mode and
numeric_keypad_mode (don't include it in non text editions)
Sun Apr 12 02:48:26 1998 Norbert Warmuth <k3190@fh-sw.de>
* xv/xvscreen.c: removed duplicate (conflicting) definition
@ -5,7 +10,6 @@ Sun Apr 12 02:48:26 1998 Norbert Warmuth <k3190@fh-sw.de>
Sun Apr 12 02:24:57 1998 Norbert Warmuth <k3190@fh-sw.de>
* text.c (edition_post_exec), cmd.c (view_other_cmd): Don't change
the keypad mode when we don't use the alternate plus minus. Pavel
forgot an if-clause when he replaced the escape sequences (or

View File

@ -908,14 +908,11 @@ view_other_cmd (void)
#ifndef HAVE_X
if (use_mouse_p)
shut_mouse ();
#endif
#ifndef HAVE_X
if (clear_before_exec)
clr_scr ();
#endif
if (alternate_plus_minus)
numeric_keypad_mode ();
#endif
#ifndef HAVE_SLANG
/* With slang we don't want any of this, since there
* is no mc_raw_mode supported
@ -952,13 +949,13 @@ view_other_cmd (void)
if (!status_using_ncurses)
do_enter_ca_mode ();
if (alternate_plus_minus)
application_keypad_mode ();
reset_prog_mode ();
keypad(stdscr, TRUE);
#ifndef HAVE_X
if (use_mouse_p)
init_mouse ();
if (alternate_plus_minus)
application_keypad_mode ();
#endif
#ifdef HAVE_SUBSHELL_SUPPORT