summaryrefslogtreecommitdiff
path: root/usr.bin/vi/ex/script.h
blob: 3f6b284efdd159557dbf44917f1ba12e028a9ddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*	$OpenBSD: script.h,v 1.4 2014/11/12 16:29:04 millert Exp $	*/

/*-
 * Copyright (c) 1993, 1994
 *	The Regents of the University of California.  All rights reserved.
 * Copyright (c) 1993, 1994, 1995, 1996
 *	Keith Bostic.  All rights reserved.
 *
 * See the LICENSE file for redistribution information.
 *
 *	@(#)script.h	10.2 (Berkeley) 3/6/96
 */

struct _script {
	pid_t	 sh_pid;		/* Shell pid. */
	int	 sh_master;		/* Master pty fd. */
	int	 sh_slave;		/* Slave pty fd. */
	char	*sh_prompt;		/* Prompt. */
	size_t	 sh_prompt_len;		/* Prompt length. */
	char	 sh_name[64];		/* Pty name */
	struct winsize sh_win;		/* Window size. */
	struct termios sh_term;		/* Terminal information. */
};