File win/tty/getline.c


Included Files


Typedef getlin_hook_proc

typedef boolean (*getlin_hook_proc)(char*)

Global Variable morc

char morc
Visible in:  src/windows.c
   win/tty/getline.c
Used in: xwaitforspace()win/tty/getline.c

External Variables

erase_char
extern char erase_char

kill_char
extern char kill_char


Global Function tty_get_ext_cmd()

int tty_get_ext_cmd ( void )
Prototyped in: include/wintty.h
Calls: extcmd_via_menu()src/cmd.c
  hooked_tty_getlin()win/tty/getline.c
  pline()src/pline.c
  savech()src/cmd.c
  strncmpi()src/hacklib.c
References Functions: ext_cmd_getlin_hook()win/tty/getline.c
References Variables: extcmdlistsrc/cmd.c
  iflagssrc/decl.c
  in_doagainsrc/decl.c

Global Function tty_getlin()

void tty_getlin ( const char* query, char* bufp )
Prototyped in: include/wintty.h
Calls: hooked_tty_getlin()win/tty/getline.c

Global Function xwaitforspace()

void xwaitforspace ( const char* s )
Prototyped in: include/wintty.h
Calls: strchr(), tty_nhbell(), tty_nhgetch()
References Variables: iflagssrc/decl.c
  morcwin/tty/getline.c
  ttyDisplay

Local Function ext_cmd_getlin_hook()

static boolean ext_cmd_getlin_hook ( char* base )
Prototyped in: win/tty/getline.c
Calls: strncmpi()src/hacklib.c
  strcpy(), strlen()
Used in: tty_get_ext_cmd()win/tty/getline.c
References Variables: extcmdlistsrc/cmd.c

Local Function hooked_tty_getlin()

static void hooked_tty_getlin ( const char* query, char* bufp, getlin_hook_proc hook )
Prototyped in: win/tty/getline.c
Calls: eos()src/hacklib.c
  pgetchar()src/cmd.c
  pline()src/pline.c
  addtopl(), fflush(), more(), putsyms(), sprintf(), strcat(), tty_clear_nhwindow(), tty_doprev_message(), tty_nhbell()
Called by: tty_get_ext_cmd()win/tty/getline.c
  tty_getlin()win/tty/getline.c
References Variables: WIN_MESSAGEsrc/decl.c
  toplinessrc/decl.c
  windowprocssrc/windows.c
  erase_char, kill_char, ttyDisplay, wins