home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / EDITOR / NVI179B / NVI179B.ZIP / ex / script.h < prev    next >
C/C++ Source or Header  |  1996-04-27  |  655b  |  24 lines

  1. /*-
  2.  * Copyright (c) 1993, 1994
  3.  *    The Regents of the University of California.  All rights reserved.
  4.  * Copyright (c) 1993, 1994, 1995, 1996
  5.  *    Keith Bostic.  All rights reserved.
  6.  *
  7.  * See the LICENSE file for redistribution information.
  8.  *
  9.  *    @(#)script.h    10.2 (Berkeley) 3/6/96
  10.  */
  11.  
  12. struct _script {
  13.     pid_t     sh_pid;        /* Shell pid. */
  14.     int     sh_master;        /* Master pty fd. */
  15.     int     sh_slave;        /* Slave pty fd. */
  16.     char    *sh_prompt;        /* Prompt. */
  17.     size_t     sh_prompt_len;        /* Prompt length. */
  18.     char     sh_name[64];        /* Pty name */
  19. #ifdef TIOCGWINSZ
  20.     struct winsize sh_win;        /* Window size. */
  21. #endif
  22.     struct termios sh_term;        /* Terminal information. */
  23. };
  24.