The ~C / ~+ command is no longer optional.

This commit is contained in:
tls 2006-04-03 02:06:44 +00:00
parent eee85da04c
commit 6bd8b21472
3 changed files with 7 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2006/04/03 02:01:28 perry Exp $
# $NetBSD: Makefile,v 1.19 2006/04/03 02:06:44 tls Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
#
# Files are:
@ -23,19 +23,17 @@
# BIZ1031, BIZ1022, VENTEL, V831, V3451, HAYES, COURIER, T3000
# ACULOG turn on tip logging of ACU use
# PRISTINE no phone #'s put in ACU log file
# CONNECT worthless command
# DEFBR default baud rate to make connection at
# DEFFS default frame size for FTP buffering of
# writes on local side
# BUFSIZ buffer sizing from stdio, must be fed
# explicitly to remcap.c if not 1024
# CONNECT enable ~C command (connect pgm to remote)
WARNS=4
PROG= tip
CPPFLAGS+=-I${.CURDIR} \
-DDEFBR=9600 -DDEFFS=BUFSIZ -DCONNECT \
-DHAYES #-DV831 -DVENTEL -DHAYES -DCOURIER -DT3000 -DACULOG -DPRISTINE
-DDEFBR=9600 -DDEFFS=BUFSIZ -DHAYES \
#-DV831 -DVENTEL -DHAYES -DCOURIER -DT3000 -DACULOG -DPRISTINE
.PATH: ${.CURDIR}/aculib
SRCS= acu.c acutab.c cmds.c cmdtab.c cu.c hunt.c partab.c \
remote.c tip.c tipout.c value.c vars.c \

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmds.c,v 1.21 2006/04/03 02:01:28 perry Exp $ */
/* $NetBSD: cmds.c,v 1.22 2006/04/03 02:06:44 tls Exp $ */
/*
* Copyright (c) 1983, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: cmds.c,v 1.21 2006/04/03 02:01:28 perry Exp $");
__RCSID("$NetBSD: cmds.c,v 1.22 2006/04/03 02:06:44 tls Exp $");
#endif /* not lint */
#include "tip.h"
@ -507,7 +507,6 @@ pipeout(char c)
signal(SIGQUIT, SIG_DFL);
}
#ifdef CONNECT
/*
* Fork a program with:
* 0 <-> remote tty in
@ -559,7 +558,6 @@ consh(char c)
signal(SIGINT, SIG_DFL);
signal(SIGQUIT, SIG_DFL);
}
#endif
/*
* Escape to local shell

View File

@ -1,4 +1,4 @@
/* $NetBSD: cmdtab.c,v 1.6 2006/04/02 03:10:54 tls Exp $ */
/* $NetBSD: cmdtab.c,v 1.7 2006/04/03 02:06:44 tls Exp $ */
/*
* Copyright (c) 1983, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)cmdtab.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: cmdtab.c,v 1.6 2006/04/02 03:10:54 tls Exp $");
__RCSID("$NetBSD: cmdtab.c,v 1.7 2006/04/03 02:06:44 tls Exp $");
#endif /* not lint */
#include "tip.h"
@ -47,10 +47,8 @@ esctable_t etable[] = {
{ 'p', NORM, "put file to remote UNIX", cu_put },
{ '|', NORM, "pipe remote file", pipefile },
{ '$', NORM, "pipe local command to remote host", pipeout },
#ifdef CONNECT
{ 'C', NORM, "connect program to remote host",consh },
{ '+', NORM, "connect program to remote host",consh },
#endif
{ 'c', NORM, "change directory", chdirectory },
{ '.', NORM, "exit from tip", finish },
{CTRL('d'),NORM,"exit from tip", finish },