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