home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / ask.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  1KB  |  40 lines

  1. /************************************************************************
  2.  * This program is Copyright (C) 1986-1996 by Jonathan Payne.  JOVE is  *
  3.  * provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is *
  5.  * included in all the files.                                           *
  6.  ************************************************************************/
  7.  
  8. extern bool
  9.     Asking,        /* are we on read a string from the terminal? */
  10.     InRealAsk;    /* are we currently executing real_ask()? */
  11.  
  12. extern int
  13.     AskingWidth;    /* width of question being asked */
  14.  
  15. extern char
  16.     Minibuf[LBSIZE];
  17.  
  18. #define NULL_ASK_EXT    ((bool (*) ptrproto((ZXchar))) NULL)
  19.  
  20. extern char
  21.     *ask_file proto((const char *prmt, char *def, char *buf)),
  22.     *ask proto((char *, char *, ...)),
  23.     *do_ask proto((const char *, bool (*) ptrproto((ZXchar)), const char *, const char *, ...));
  24.  
  25. extern bool    yes_or_no_p proto((char *, ...));
  26.  
  27. extern void    minib_add proto((char *str, bool movedown));
  28.  
  29. /* Variables: */
  30.  
  31. extern ZXchar    AbortChar;    /* VAR: cancels command input */
  32. #ifdef F_COMPLETION
  33. extern bool    DispBadFs;        /* VAR: display filenames with bad extensions? */
  34. extern char    BadExtensions[128];    /* VAR: extensions (e.g. ".o") to ignore */
  35. # ifndef MAC    /* no environment in MacOS */
  36. extern bool    DoEVexpand;        /* VAR: should we expand evironment variables? */
  37. # endif
  38. #endif
  39. extern bool    OneKeyConfirmation;        /* VAR: single y or n keystroke sufficient? */
  40.