version 1.1, 1995/10/18 08:46:17 |
version 1.2, 1995/12/14 03:12:16 |
|
|
/* $NetBSD: tip.h,v 1.3 1994/12/08 09:31:10 jtc Exp $ */ |
/* $NetBSD: tip.h,v 1.4 1995/10/29 00:49:43 pk Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1989, 1993 |
* Copyright (c) 1989, 1993 |
|
|
#include <sys/file.h> |
#include <sys/file.h> |
#include <sys/time.h> |
#include <sys/time.h> |
|
|
#include <sgtty.h> |
#include <termios.h> |
#include <signal.h> |
#include <signal.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
|
|
#define NOFILE ((FILE *)NULL) |
#define NOFILE ((FILE *)NULL) |
#define NOPWD ((struct passwd *)0) |
#define NOPWD ((struct passwd *)0) |
|
|
struct sgttyb arg; /* current mode of local terminal */ |
struct termios term; /* current mode of terminal */ |
struct sgttyb defarg; /* initial mode of local terminal */ |
struct termios defterm; /* initial mode of terminal */ |
struct tchars tchars; /* current state of terminal */ |
struct termios defchars; /* current mode with initial chars */ |
struct tchars defchars; /* initial state of terminal */ |
|
struct ltchars ltchars; /* current local characters of terminal */ |
|
struct ltchars deflchars; /* initial local characters of terminal */ |
|
|
|
FILE *fscript; /* FILE for scripting */ |
FILE *fscript; /* FILE for scripting */ |
|
|
|
|
int stoprompt; /* for interrupting a prompt session */ |
int stoprompt; /* for interrupting a prompt session */ |
int timedout; /* ~> transfer timedout */ |
int timedout; /* ~> transfer timedout */ |
int cumode; /* simulating the "cu" program */ |
int cumode; /* simulating the "cu" program */ |
|
int bits8; /* terminal is is 8-bit mode */ |
|
#define STRIP_PAR (bits8 ? 0377 : 0177) |
|
|
char fname[80]; /* file name buffer for ~< */ |
char fname[80]; /* file name buffer for ~< */ |
char copyname[80]; /* file name buffer for ~> */ |
char copyname[80]; /* file name buffer for ~> */ |