2 * Text edition support code
9 #error This file is for text-mode editions only.
20 #include "cons.saver.h"
22 char *default_edition_colors
=
23 "normal=lightgray,blue:"
24 "selected=black,cyan:"
26 "markselect=yellow,cyan:"
29 "reverse=black,lightgray:"
30 "dnormal=black,lightgray:"
32 "dhotnormal=yellow,lightgray:"
33 "dhotfocus=yellow,cyan:"
34 "viewunderline=brightred,blue:"
35 "menuhot=yellow,cyan:"
36 "menusel=white,black:"
37 "menuhotsel=yellow,black:"
38 "helpnormal=black,lightgray:"
39 "helpitalic=red,lightgray:"
40 "helpbold=blue,lightgray:"
41 "helplink=black,cyan:"
42 "helpslink=yellow,blue:"
45 "directory=white,blue:"
46 "execute=brightgreen,blue:"
47 "link=lightgray,blue:"
48 "device=brightmagenta,blue:"
53 edition_post_exec (void)
57 /* FIXME: Missing on slang endwin? */
61 keypad (stdscr
, TRUE
);
66 if (alternate_plus_minus
)
67 application_keypad_mode ();
71 edition_pre_exec (void)
73 if (clear_before_exec
)
76 if (!(console_flag
|| xterm_flag
))
85 keypad (stdscr
, FALSE
);
88 numeric_keypad_mode ();
90 /* on xterms: maybe endwin did not leave the terminal on the shell
91 * screen page: do it now.
93 * Do not move this before endwin: in some systems rmcup includes
94 * a call to clear screen, so it will end up clearing the sheel screen.
96 if (!status_using_ncurses
){
105 dlg_erase (midnight_dlg
);