home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / jove-4.16-src.tgz / tar.out / bsd / jove / proc.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  2KB  |  69 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. /* note: sysprocs.h must be included first */
  9.  
  10. extern char    ShcomBuf[LBSIZE];
  11.  
  12. extern char    *MakeName proto((char *command));
  13.  
  14. extern void
  15.     isprocbuf proto((char *bufname)),
  16.     get_FL_info proto((char *, char *)),
  17.     ChkErrorLines proto((void)),
  18.     ErrFree proto((void));
  19.  
  20. extern wait_status_t    UnixToBuf proto((int, char *, char *, char *));
  21.  
  22. /* flags for UnixToBuf: */
  23. #define UTB_DISP    1    /* Display output? */
  24. #define UTB_CLOBBER    2    /* (if UTB_DISP)  clear buffer at start? */
  25. #define UTB_ERRWIN    4    /* (if UTB_DISP) make window size error-window-size? */
  26. #define UTB_SH    8    /* shell command? */
  27. #define UTB_FILEARG    16    /* pass curbuf->b_fname as $0? */
  28.  
  29. #ifndef MSDOS_PROCS
  30. extern pid_t    ChildPid;    /* pid of any outstanding non-iproc process */
  31. extern void    dowait proto((wait_status_t *status));
  32. #endif
  33.  
  34. /* Commands: */
  35.  
  36. #ifdef SUBSHELL
  37. extern void
  38.     MakeErrors proto((void)),
  39.     FilterRegion proto((void)),
  40.     ShNoBuf proto((void)),
  41.     ShToBuf proto((void)),
  42.     ShellCom proto((void)),
  43.     Shtypeout proto((void));
  44. #endif
  45. /*
  46.  * Even if we don't have MakeErrors, the following are useful because we can
  47.  * load an error file and parse it with these.
  48.  */
  49. extern void
  50.     ErrParse proto((void)),
  51.     ShowErr proto((void)),
  52.     NextError proto((void)),
  53.     PrevError proto((void));
  54.  
  55. #ifdef SPELL
  56. extern void
  57.     SpelBuffer proto((void)),
  58.     SpelWords proto((void));
  59. #endif
  60.  
  61. /* Variables: */
  62.  
  63. extern int    EWSize;            /* VAR: percentage of screen to make the error window */
  64. extern char    ErrFmtStr[256];        /* VAR: format string for parse errors */
  65. #ifdef SUBSHELL
  66. extern bool    WtOnMk;            /* VAR: write files on compile-it command */
  67. extern bool    WrapProcessLines;    /* VAR: wrap process lines at CO-1 chars */
  68. #endif
  69.