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