1 /* Routines expected by the Midnight Commander
3 Copyright (C) 1999 The Free Software Foundation.
7 FIXME: This expects the user to always use slang instead of ncurses.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 This file just has dummy procedures that don't do nothing under X11
24 editions. I will make macros once I feel right with the Tk edition.
31 interrupts_enabled (void) { return 0; }
34 enable_interrupt_key(void) {}
37 disable_interrupt_key(void) {}
39 /* FIXME: We could provide a better way of doing this */
41 got_interrupt () { return 0; }
47 slang_set_raw_mode (void) {}
50 slang_prog_mode (void) {}
53 slang_shell_mode (void) {}
59 slang_keypad (int set
) {}
62 set_slang_delay (int v
) {}
65 hline (int ch
, int len
) {}
68 vline (int character
, int len
) {}
72 init_pair (int index
, char *foreground
, char *background
) {}
81 attrset (int color
) { }
84 do_define_key (int code
, char *strcap
) {}
87 load_terminfo_keys () {}