File win/tty/topl.c


Included Files


Preprocessor definitions

#define C( c )

External Variables

erase_char
extern char erase_char

Global Function addtopl()

void addtopl ( const char* s )
Prototyped in: include/wintty.h
Calls: cl_end()win/tty/termcap.c
  putsyms()win/tty/topl.c
  tty_curs()
Called by: hooked_tty_getlin()win/tty/getline.c
  tty_yn_function()win/tty/topl.c
  update_topl()win/tty/topl.c
References Variables: WIN_MESSAGEsrc/decl.c
  BASE_WINDOW, ttyDisplay, wins

Global Function more()

void more ( void )
Prototyped in: include/wintty.h
Calls: cl_end()win/tty/termcap.c
  home()win/tty/termcap.c
  putsyms()win/tty/topl.c
  standoutbeg()win/tty/termcap.c
  standoutend()win/tty/termcap.c
  topl_putsym()win/tty/topl.c
  xwaitforspace()win/tty/getline.c
  docorner(), tty_curs()
Called by: hooked_tty_getlin()win/tty/getline.c
  redotoplin()win/tty/topl.c
  tty_yn_function()win/tty/topl.c
  update_topl()win/tty/topl.c
References Variables: WIN_MESSAGEsrc/decl.c
  flagssrc/decl.c
  morcwin/tty/getline.c
  tc_gbl_datasrc/decl.c
  BASE_WINDOW, defmorestr, ttyDisplay, wins

Global Function putsyms()

void putsyms ( const char* str )
Prototyped in: include/wintty.h
Calls: topl_putsym()win/tty/topl.c
Called by: addtopl()win/tty/topl.c
  hooked_tty_getlin()win/tty/getline.c
  more()win/tty/topl.c
  redotoplin()win/tty/topl.c
  removetopl()win/tty/topl.c

Global Function tty_doprev_message()

int tty_doprev_message ( void )
Prototyped in: include/wintty.h
Calls: redotoplin()win/tty/topl.c
Called by: hooked_tty_getlin()win/tty/getline.c
  tty_yn_function()win/tty/topl.c
References Variables: WIN_MESSAGEsrc/decl.c
  morcwin/tty/getline.c
  toplinessrc/decl.c
  ttyDisplay, wins

Global Function tty_yn_function()

char tty_yn_function ( const char* query, const char* resp, char def )
Prototyped in: include/wintty.h
Calls: addtopl()win/tty/topl.c
  digit()src/hacklib.c
  eos()src/hacklib.c
  lowc()src/hacklib.c
  more()win/tty/topl.c
  pline()src/pline.c
  readchar()src/cmd.c
  removetopl()win/tty/topl.c
  tty_doprev_message()win/tty/topl.c
  tty_nhbell()win/tty/termcap.c
  sprintf(), strchr(), strcpy(), tty_clear_nhwindow()
References Variables: WIN_MESSAGEsrc/decl.c
  quitcharssrc/decl.c
  yn_numbersrc/decl.c
  erase_char, ttyDisplay, wins

Global Function update_topl()

void update_topl ( const char* bp )
Prototyped in: include/wintty.h
Calls: addtopl()win/tty/topl.c
  more()win/tty/topl.c
  redotoplin()win/tty/topl.c
  remember_topl()win/tty/topl.c
  docorner(), strcat(), strchr(), strlen(), strncmp(), strncpy()
References Variables: WIN_MESSAGEsrc/decl.c
  tc_gbl_datasrc/decl.c
  toplinessrc/decl.c
  ttyDisplay, wins

Local Function redotoplin()

static void redotoplin ( const char* str )
Prototyped in: win/tty/topl.c
Calls: cl_end()win/tty/termcap.c
  home()win/tty/termcap.c
  more()win/tty/topl.c
  putsyms()win/tty/topl.c
  end_glyphout(), g_putch()
Called by: tty_doprev_message()win/tty/topl.c
  update_topl()win/tty/topl.c
References Variables: ttyDisplay

Local Function remember_topl()

static void remember_topl ( void )
Prototyped in: win/tty/topl.c
Calls: alloc()src/alloc.c
  free(), strcpy(), strlen()
Called by: update_topl()win/tty/topl.c
References Variables: WIN_MESSAGEsrc/decl.c
  toplinessrc/decl.c
  wins

Local Function removetopl()

static void removetopl ( int n )
Prototyped in: win/tty/topl.c
Calls: putsyms()win/tty/topl.c
Called by: tty_yn_function()win/tty/topl.c

Local Function topl_putsym()

static void topl_putsym ( char c )
Prototyped in: win/tty/topl.c
Calls: backsp()win/tty/termcap.c
  cl_end()win/tty/termcap.c
  panic()src/end.c
  topl_putsym()win/tty/topl.c
  putchar(), tty_curs()
Called by: more()win/tty/topl.c
  putsyms()win/tty/topl.c
  topl_putsym()win/tty/topl.c
References Variables: WIN_MESSAGEsrc/decl.c
  tc_gbl_datasrc/decl.c
  BASE_WINDOW, ttyDisplay, wins