diff --git a/appl/telnet/Config.generic b/appl/telnet/Config.generic deleted file mode 100644 index 4f7569cb0..000000000 --- a/appl/telnet/Config.generic +++ /dev/null @@ -1,916 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Config.generic 5.5 (Berkeley) 3/1/91 -# - -# This is the configuration file for building all of -# telnet/telnetd/libtelnet. If you want to add your -# own local configuration for a specific machine that -# is already listed here, it is best to create a new -# file called "Config.local", and put the definitions -# there. If you are adding definitions for a new system -# type, you can add them here. In this case, please send -# the new definition, and any changes you have to make to -# the code, back to "dab@cray.com" so that your changes -# can be put into the next release. -# -# Each definition must have the form: -# -# : -# make -f Makefile.generic ${WHAT} \ -# - -# DEFINES= -# -# Variables to be defined when actually compiling the source. Defined -# as: DEFINES="-D -D ... -D" -# -# TELNET/TELNETD CONFIGURATION -# -# LINEMODE Turns on support in telnetd for the linemode option. -# (Linemode is always on in the client). -# -# KLUDGELINEMODE Define this to get the kludged up version of linemode -# that was in 4.3BSD. This is a good thing to have -# around for talking to older systems. This has no -# effect on telnetd if LINEMODE has not been defined. -# -# DIAGNOSTICS Turns on diagnostic code in telnetd; adds extra -# logic and checks, and debuging output if started -# with the -D option. -# -# NO_URGENT Define this if you don't want telnetd to send -# IAC DM in urgent mode when the pty output queue -# is flushed. -# -# GENERATE_GA Turns on code to allow the generation of Go Ahead(GA) -# if the server is WONT SGA. This code is imprecise, -# it generates the GA when two seconds have elapsed -# and no input or output has occurred. -# -# AUTHENTICATION Enable the AUTHENTICATION option. -# -# ENCRYPTION Enable the ENCRYPT option. -# -# KRB4 Enable Kerberos Version 4 Authentication code -# in libtelnet/libtelnet.a -# -# KRB5 Enable Kerberos Version 5 Authentication code -# in libtelnet/libtelnet.a -# -# SPX Enable SPX authentication code in. -# libtelnet/libtelnet.a -# -# RSA_ENCPWD -# -# KRB4_ENCPWD -# -# -# DES_ENCRYPTION Enable DES encryption/decryption, requires -# getting a the initial key from Kerberos. This -# works with both Kerberos Version 4 and 5. -# -# ENV_HACK Turn on code to recognize and allow -# interoperability with systems that have their -# definitions for ENV_VALUE and ENV_VAR reversed. -# -# LOCAL SYSYTEM PARAMATERS -# -# TERMCAP Define this if your system is termcap based, -# otherwise a terminfo based system is assumed. -# -# SYSV_TERMIO Use the System V termio structure. (implies USE_TERMIO) -# -# NO_CC_T Define this if your termio.h file does not have -# a typedef for cc_t. -# -# USE_TERMIO Define this if you have the POSIX termios structures. -# This code works under the BSD 4.4 terminal driver. -# -# HAS_GETTOS Define this if you have the setsockopt() option for -# setting the IP Type Of Service bits, (IP_TOS) and -# you have the gettosbyname() function. -# -# NEWINIT Turns on the new init code for UNICOS systems. -# -# STREAMS This system needs for -# (Sun 4.0.3) -# -# FILIO_H This system should use instead -# of (Sun 4.0.3) -# -# HAVE_fd_set This system has a typedef for fd_set, but does -# not have FDSET() defined. -# -# NO_STRING_H If you don't have , but have -# -# NO_LOGIN_P If /bin/login doesn't understand the "-p" -# (preserve environment) option. -# -# LOGIN_ARGS if /bin/login understands environment variables -# after the login name. Only used if NO_LOGIN_P -# is defined. -# -# NO_LOGIN_F If /bin/login doesn't understand the "-f" option. -# Only used if AUTHENTICATION is defined. -# -# LOGIN_R This says that /bin/login understands the "-r host" -# option. Only used if NO_LOGIN_F is defined (and -# the system supports the TIOCSTI ioctl). -# -# LOGIN_HOST Only applies if LOGIN_R is defined. This -# specifies the hostname to be passed to "login -r" -# for successfully authenticated logins. This -# defaults to "localhost" (don't forget to include -# the quotes, e.g. -DLOGIN_HOST=\"localhost\"). -# -# It can also be set to host (-DLOGIN_HOST=host) -# to have the real hostname passed to "/bin/login -r". -# NOTE: If you do this, then anyone that wants to -# allow authenticated login access will have -# to add those remote hosts to their .rhosts, -# which sort of defeats the whole purpose of -# authenticated login... -# -# NO_BSD_SETJMP For UNICOS releases prior to 7.0. Turns off -# the inclusion of . -# -# STREAMS If the system has streams; causes -# to be included instead of -# -# MUST_ALIGN If !KRB & !HAVE_KRB4_DES_LIB and your words -# must be word aligned. -# -# STREAMSPTY Use /dev/ptmx to get a clean pty. Uses -# streams packet mode rather than Berkeley. -# Appropriate for SVr4 derivatives. -# -# UTMPX System has /etc/utmpx as well as /etc/utmp. -# Use makeutx and modutx to update utmp/x and wtmp/x. -# Appropriate for SVr4 derivatives. -# -# HAS_CGETENT If your system has the cgetent() and cgetstr() -# routines. This is a 4.4BSD feature, that -# eliminates grabbing the getty gettytab.c source. -# You need to include getent.o on the LIB_OBJ -# line if this is defined. -# -# OLD_ENVIRON Support for the old environment option. -# -# NO_MKTIME If you don't have mktime(). - -# LIB_OBJ= -# This is a list of object files that are needed but are not in -# the standard C library. -# -# strcasecmp.o If you don't have strncasecmp(3) -# strdup.o If you don't have strdup(3) -# setenv.o If you don't have setenv(3) and unsetenv(3) -# setsid.o If you don't have the POSIX setsid() call -# strerror.o If you don't have strerror(3) -# strftime.o If you don't have strftime(3) -# getopt.o If you don't have getopt(3) -# herror.o If you don't have herror(3) -# gettytab.o If you can get gettytab.c from getty source. -# getent.o If you can't get gettytab.c (or have -# HAS_CGETENT defined...) -# mem.o If you don't have mem*(3) routines. - -# LIB_SRC= -# This is a list of source modules for specificed in LIB_OBJ. -# This information is used by make for checking dependencies. - - -# LIBS= -# This is a list of libraries to be included. This will always -# include the telnet library, and will also include either -lcurses -# or -ltermcap, -lutil for 4.4bsd, and -lnet for UNICOS5.0 and earlier. -# Also -lkrb & -ldes if Kerberos. - -# LIBPATH= -# This is a list of the paths to all the libraries listed in LIBS. -# This information is used by make for checking dependencies. -# Don't forget libc.a - -# VPATH= -# Directory where gettytab.c can be found, if you have it. - -# LIBEXEC= -# Directory where the telnetd executable should be installed. - -# LCCFLAGS= -# Local flags for ${CC} (like -O) - -# AR= -# Name of "ar" program, usually just "ar". - -# ARFLAGS -# Flags to pass to ${AR} - -# RANLIB -# Name of "ranlib" program, set it to "NONE" if you don't -# have a "ranlib". - -all: - @echo "You must specify what type of system you are on," - @echo "or setup a Config.local file for your system." - @echo "Known system types are:" - @echo - @echo " 4.4bsd 4.3reno 4.4bsd.auth 4.3reno.auth 4.3tahoe 4.3bsd" - @echo " bsdi1.0 bsdi1.0.auth" - @echo " unicos9.0 unicos8.3 unicos8.0 unicos7.C unicos7.0 unicos6.1" - @echo " unicos9.0.auth unicos8.3.auth unicos8.0.auth unicos7.0.auth" - @echo " unicos7.C.auth unicos7.0.des.auth" - @echo " sun3.5 sun4.0.3c sun4.0 sun4.1 sun4.1.auth" - @echo " solaris2.2 solaris2.2.auth" - @echo " dynix3.0.12 dynix3.0.17" - @echo " ultrix3.1 ultrix4.0 ultrix4.1 ultrix4.3 ultrix4.3.auth" - @echo " irix4.0.1" - @echo " hpux8.0" - @echo " next1.0" - @echo " convex" - -4.4bsd: - make -f Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/usr/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\n4.4 BSD UNIX (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - -DHAS_CGETENT ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - -4.3reno: - make -f Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\n4.3BSD-Reno UNIX (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ - -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="gettytab.o" \ - LIB_SRC="gettytab.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - VPATH=/usr/src/libexec/getty \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - - -4.4bsd.auth 4.3reno.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION \ - -DKRB4 -DDES_ENCRYPTION" \ - AUTH_INC=-I/usr/include/kerberosIV - -4.3tahoe: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\n4.3BSD-Tahoe UNIX (%h) (%t)\r\n\r\r\n\r\"'\ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - INCLUDES="-I.." \ - LIB_OBJ="strdup.o setsid.o strftime.o gettytab.o" \ - LIB_SRC="strdup.c setsid.c strftime.c gettytab.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - VPATH=/usr/src/etc/getty \ - LIBEXEC=${DESTDIR}/etc \ - CC="${CC}" LCCFLAGS="-O" - -4.3bsd: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\n4.3BSD UNIX (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - INCLUDES="-I.." \ - LIB_OBJ="strdup.o setsid.o strftime.o \ - gettytab.o getopt.o herror.o" \ - LIB_SRC="strdup.c setsid.c strftime.c \ - gettytab.c getopt.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - VPATH=/usr/src/etc/getty \ - LIBEXEC=${DESTDIR}/etc \ - CC="${CC}" LCCFLAGS="-O" - -bsdi2.0: - make -f Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nBSDI BSD/OS 2.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ - -DOLD_ENVIRON ${AUTH_DEF} -DHAS_CGETENT" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - -bsdi2.0.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION \ - -DKRB4 -DDES_ENCRYPTION" \ - AUTH_INC=-I/usr/include/kerberosIV - -bsdi1.1: - make -f Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nBSDI BSD/386 1.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ - -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="gettytab.o" \ - LIB_SRC="gettytab.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - VPATH=/usr/src/libexec/getty \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - -bsdi1.1.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION \ - -DKRB4 -DDES_ENCRYPTION" \ - AUTH_INC=-I/usr/include/kerberosIV - -bsdi1.0: - make -f Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nBSDI BSD/386 1.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK \ - -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="gettytab.o" \ - LIB_SRC="gettytab.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - VPATH=/usr/src/libexec/getty \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - -bsdi1.0.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION \ - -DKRB4 -DDES_ENCRYPTION" - AUTH_INC=-I/usr/include/kerberosIV - -unicos9.1: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ - -DDEFAULT_IM='\"\r\nCray UNICOS 9.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - -unicos9.0: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ - -DDEFAULT_IM='\"\r\nCray UNICOS 9.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - -unicos8.3: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ - -DDEFAULT_IM='\"\r\nCray UNICOS 8.3 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - -unicos8.0: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ - -DDEFAULT_IM='\"\r\nCray UNICOS 8.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - -unicos7.C: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}"\ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS ${AUTH_DEF} \ - -DDEFAULT_IM='\"\r\nCray UNICOS 7.C (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - - -unicos7.0: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet -lkrb" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a /usr/lib/libkrb.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DLINEMODE -DKLUDGELINEMODE \ - -DSYSV_TERMIO -DHAS_GETTOS \ - -DDEFAULT_IM='\"\r\nCray UNICOS 7.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - CC="${CC}" LCCFLAGS="-O" - -# As of UNICOS 7.0.5.2, there is no longer a /usr/lib/libdes.a -# If you still have a /usr/lib/libdes.a, use the "unicos7.0.des.auth" -# target instead of "unicos7.0.auth". - -unicos9.1.auth unicos9.0.auth unicos8.3.auth unicos8.0.auth unicos7.0.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB=-lkrb AUTH_LIBPATH=/usr/lib/libkrb.a \ - AUTH_INC=-I/usr/include/krb \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" - -unicos7.C.auth unicos7.0.des.auth: - make -f ../Config.generic `basename $@ .des.auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_INC=-I/usr/include/krb \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" - -unicos6.1: - make -f Makefile.generic ${WHAT} \ - LIBS="-lcurses -L../libtelnet -ltelnet" \ - LIBPATH="/lib/libc.a /usr/lib/libcurses.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dvfork=fork -Dsignal=bsdsignal \ - -DKLUDGELINEMODE -DUSE_TERMIO -DHAS_GETTOS \ - -DLINEMODE -DSYSV_TERMIO -DNEWINIT \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_BSD_SETJMP \ - -DLOGIN_ARGS \ - -DDEFAULT_IM='\"\r\nCray UNICOS 6.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - AR=bld ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o parsetos.o" \ - LIB_SRC="getent.c parsetos.c" \ - CC="${CC}" LCCFLAGS="-O" - -sun3.5: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DHAVE_fd_set -DNO_MKTIME \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - -DDEFAULT_IM='\"\r\nSunOS UNIX 3.5 (%h) (%t)\r\n\r\r\n\r\"' \ - -DNO_LOGIN_P" \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strdup.o strerror.o setsid.o \ - setenv.o strftime.o strcasecmp.o herror.o" \ - LIB_SRC="getent.c strdup.c strerror.c setsid.c \ - setenv.c strftime.c strcasecmp.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sun3.5.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION" - -sun4.0.3c sun4.0: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DFILIO_H -DTERMCAP -DUSE_TERMIO -DNO_CC_T \ - -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nSunOS UNIX 4.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DSTREAMS -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - " \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strerror.o setsid.o setenv.o \ - strcasecmp.o strftime.o herror.o" \ - LIB_SRC="getent.c strerror.c setsid.c setenv.c \ - strcasecmp.c strftime.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sun4.1: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DFILIO_H -DTERMCAP -DUSE_TERMIO \ - -DKLUDGELINEMODE -DSTREAMS \ - -DDEFAULT_IM='\"\r\nSunOS UNIX 4.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ - LIB_SRC="getent.c strerror.c setenv.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sun4.1.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DENCRYPTION -DNO_LOGIN_F -DLOGIN_R \ - -DKRB4 -DDES_ENCRYPTION" - -sol2.2 solaris2.2: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermlib ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/usr/ccs/lib/libtermlib.a ../libtelnet/libtelnet.a \ - /usr/lib/libc.a /usr/ucblib/libucb.a \ - /usr/lib/libsocket.a /usr/lib/libnsl.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES="-DFILIO_H -DUSE_TERMIO -DKLUDGELINEMODE \ - -DSTREAMS -DSTREAMSPTY -DDIAGNOSTICS -DSOLARIS \ - -DENV_HACK -DOLD_ENVIRON -DNO_LOGIN_P -DUTMPX \ - -DDEFAULT_IM='\"\r\n\r\nUNIX(r) System V Release 4.0 (%h)\r\n\r\n\"' \ - -DLOGIN_ARGS ${AUTH_DEF}" \ - INCLUDES="-I.. -I/usr/ucbinclude ${AUTH_INC}" \ - LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ - LIB_SRC="getent.c strerror.c setenv.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sol2.2.auth solaris2.2.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb" AUTH_LIBPATH="/usr/lib/libkrb.a" \ - AUTH_INC=-I/usr/include/kerberos \ - AUTH_DEF="-DAUTHENTICATION -DKRB4" - -sol2.3 solaris2.3: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermlib ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/usr/ccs/lib/libtermlib.a ../libtelnet/libtelnet.a \ - /usr/lib/libc.a /usr/ucblib/libucb.a \ - /usr/lib/libsocket.a /usr/lib/libnsl.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES="-DFILIO_H -DUSE_TERMIO -DKLUDGELINEMODE \ - -DSTREAMS -DSTREAMSPTY -DDIAGNOSTICS -DSOLARIS \ - -DENV_HACK -DOLD_ENVIRON -DNO_LOGIN_P -DUTMPX \ - -DDEFAULT_IM='\"\r\n\r\nUNIX(r) System V Release 4.0 (%h)\r\n\r\n\"' \ - -DLOGIN_ARGS ${AUTH_DEF}" \ - INCLUDES="-I.. -I/usr/ucbinclude ${AUTH_INC}" \ - LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ - LIB_SRC="getent.c strerror.c setenv.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sol2.3.auth solaris2.3.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb /home/poplar36/gw/lib/libdes.a" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /home/poplar36/gw/lib/libdes.a"\ - AUTH_INC=-I/usr/include/kerberos \ - AUTH_DEF="-DAUTHENTICATION -DKRB4 -DENCRYPTION -DDES_ENCRYPTION" - -sol2.4 solaris2.4: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermlib ../libtelnet/libtelnet.a -lsocket -lnsl \ - ${AUTH_LIB}" \ - LIBPATH="/usr/ccs/lib/libtermlib.a ../libtelnet/libtelnet.a \ - /usr/lib/libc.a /usr/lib/libsocket.a \ - /usr/lib/libnsl.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES="-DFILIO_H -DUSE_TERMIO -DKLUDGELINEMODE \ - -DSTREAMS -DSTREAMSPTY -DDIAGNOSTICS -DSOLARIS \ - -DENV_HACK -DOLD_ENVIRON -DNO_LOGIN_P -DUTMPX \ - -DDEFAULT_IM='\"\r\n\r\nUNIX(r) System V Release 4.0 (%h)\r\n\r\n\"' \ - -Dsignal=sigset -DLOGIN_ARGS ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ - LIB_SRC="getent.c strerror.c setenv.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-O" - -sol2.4.auth solaris2.4.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb " \ - AUTH_LIBPATH="/usr/lib/libkrb.a"\ - AUTH_INC=-I/usr/include/kerberos \ - AUTH_DEF="-DAUTHENTICATION -DKRB4 -DNO_LOGIN_F -DLOGIN_R" - -dynix3.0.12: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nDYNIX(R) V3.0.12 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DNO_STRING_H " \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strchr.o strrchr.o strdup.o strerror.o \ - setsid.o setenv.o strcasecmp.o strftime.o getopt.o \ - mem.o" \ - LIB_SRC="getent.c strchr.c strrchr.c strdup.c strerror.c \ - setsid.c setenv.c strcasecmp.c strftime.c getopt.c \ - mem.o" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -dynix3.0.17: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a -lseq" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a /usr/lib/libseq.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DNO_STRING_H \ - -DDEFAULT_IM='\"\r\nDYNIX(R) V3.0.17 (%h) (%t)\r\n\r\r\n\r\"' \ - " \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strchr.o strrchr.o strdup.o strerror.o \ - setsid.o strftime.o mem.o" \ - LIB_SRC="getent.c strchr.c strrchr.c strdup.c strerror.c \ - setsid.c strftime.c mem.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -ultrix3.1: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DTERMCAP -DKLUDGELINEMODE \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON -DUSE_TERMIO \ - -DDEFAULT_IM='\"\r\nULTRIX V3.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -YPOSIX" \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strdup.o strerror.o setenv.o \ - strftime.o herror.o" \ - LIB_SRC="getent.c strdup.c strerror.c setenv.c \ - strftime.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -ultrix4.0: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ - -DDEFAULT_IM='\"\r\nULTRIX V4.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DKLUDGELINEMODE -DDIAGNOSTICS \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DENV_HACK -DOLD_ENVIRON" \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o strdup.o strerror.o setsid.o \ - setenv.o strftime.o" \ - LIB_SRC="getent.c strdup.c strerror.c setsid.c \ - setenv.c strftime.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -ultrix4.1: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ - -DDEFAULT_IM='\"\r\nULTRIX V4.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DKLUDGELINEMODE -DDIAGNOSTICS \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DENV_HACK -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o strdup.o" \ - LIB_SRC="getent.c strdup.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" -ultrix4.1.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DKRB4" - -ultrix4.3: - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ - -DDEFAULT_IM='\"\r\nULTRIX V4.3 (%h) (%t)\r\n\r\r\n\r\"' \ - -DKLUDGELINEMODE -DDIAGNOSTICS \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DENV_HACK -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. ${AUTH_INC}" \ - LIB_OBJ="getent.o strdup.o" \ - LIB_SRC="getent.c strdup.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -ultrix4.3.auth: - make -f ../Config.generic `basename $@ .auth` WHAT=${WHAT} \ - AUTH_LIB="-lkrb -ldes" \ - AUTH_LIBPATH="/usr/lib/libkrb.a /usr/lib/libdes.a" \ - AUTH_DEF="-DAUTHENTICATION -DKRB4" - -irix4.0.1: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermlib ../libtelnet/libtelnet.a" \ - LIBPATH="/usr/lib/libc.a /usr/lib/libtermlib.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-Dvfork=fork -DUSE_TERMIO \ - -DDEFAULT_IM='\"\r\n\r\nIRIX System V.3 (%h) (%t)\r\n\r\r\n\r\"' \ - -DNO_LOGIN_F -DNO_LOGIN_P \ - -DDIAGNOSTICS " \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o setenv.o" \ - LIB_SRC="getent.c setenv.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - CC="${CC}" LCCFLAGS="-O" - -hpux8.0: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-Dvfork=fork -DUSE_TERMIO \ - -DDEFAULT_IM='\"\r\n\r\nHP-UX 8.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DDIAGNOSTICS -DLOGIN_ARGS" \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o setenv.o" \ - LIB_SRC="getent.c setenv.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - CC="${CC}" LCCFLAGS="-O" - -next1.0: - @echo $@ is untested... it may or may not work..." - make -f Makefile.generic ${WHAT} \ - LIBS="../libtelnet/libtelnet.a -ltermcap -lsys_s" \ - LIBPATH="/lib/libc.a /lib/libsys_s.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-bsd -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nNeXT 1.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - -DNO_STRING_H -Dgetenv=getenv_" \ - INCLUDES="-I.." \ - LIB_OBJ="strdup.o setenv.o setsid.o strftime.o \ - strcasecmp.o gettytab.o" \ - LIB_SRC=s"trdup.c setenv.c setsid.c strftime.c \ - strcasecmp.c gettytab.c" \ - CC="${CC}" LCCFLAGS="-O" \ - VPATH=../../getty \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc - -# -# For the convex, make symbolic links to the tc[sg]getattr.c routines, -# because we are using posix stuff, but not the posix library... -# Pass the stuff to Makefile.generic by passing the object/source names -# in through LIB_OBJ and LIB_SRC -# -convex: - @echo $@ is untested... it may or may not work..." - ln -s ../../rel_usr/src/lib/libc/posix/tcsetattr.c tcsetattr.c - ln -s ../../rel_usr/src/lib/libc/posix/tcgetattr.c tcgetattr.c - make -f Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a" \ - LIBPATH="../libtelnet/libtelnet.a" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-g ${OPTLEV} -Dconvex" \ - DEFINES=${ODEFS}"-DUSE_TERMIO -DLINEMODE \ - -DDEFAULT_IM='\"\r\nConvex (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON" \ - INCLUDES="-I.." \ - LIB_OBJ="getent.o setsid.o strftime.o \ - tcsetattr.o tcgetattr.o" \ - LIB_SRC="getent.c setsid.c strftime.c \ - tcsetattr.c tcgetattr.c" - -clean cleandir: - make -f Makefile.generic $@ diff --git a/appl/telnet/Config.local b/appl/telnet/Config.local deleted file mode 100644 index dc2a1e325..000000000 --- a/appl/telnet/Config.local +++ /dev/null @@ -1,105 +0,0 @@ -AUTH_LIB = ../../../lib/krb/libkrb.a ../../../lib/des/libdes.a -AUTH_LIBPATH = ../../../lib/krb/libkrb.a ../../../lib/des/libdes.a -AUTH_INC = -I../../../include -I$(VPATH)/../../../include -AUTH_DEF = -DAUTHENTICATION -DENCRYPTION -DKRB4 -DDES_ENCRYPTION - -all: - @echo "You must specify what type of system you are on," - @echo "or setup a Config.local file for your system." - @echo "Known system types are:" - @echo - @echo " sunos4 hpux osf ultrix netbsd" - -sunos4: - $(MAKE) VPATH=$(VPATH) -f $(VPATH)/Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-Dmemmove=memcpy -DFILIO_H \ - -DTERMCAP -DUSE_TERMIO \ - -DKLUDGELINEMODE -DSTREAMS \ - -DDEFAULT_IM='\"\r\nSunOS UNIX 4.1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - ${AUTH_DEF}" \ - INCLUDES="-I.. -I$(VPATH)/.. ${AUTH_INC} " \ - LIB_OBJ="getent.o strerror.o setenv.o herror.o" \ - LIB_SRC="getent.c strerror.c setenv.c herror.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc/in.telnetd \ - CC="${CC}" LCCFLAGS="-g" -#-DNO_LOGIN_F -DLOGIN_R - -osf: - $(MAKE) VPATH=$(VPATH) -f $(VPATH)/Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/usr/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}" -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nDEC OSF/1 (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - ${AUTH_DEF}" \ - INCLUDES="-I.. -I$(VPATH)/.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-g" - - -hpux: - $(MAKE) VPATH=$(VPATH) -f $(VPATH)/Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-Dvfork=fork -DUSE_TERMIO \ - -DDEFAULT_IM='\"\r\n\r\nHP-UX 9.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DNO_LOGIN_F -DNO_LOGIN_P -DNO_LOGIN_H \ - -DDIAGNOSTICS -DLOGIN_ARGS ${AUTH_DEF}" \ - INCLUDES="-I.. -I$(VPATH)/.. ${AUTH_INC} " \ - LIB_OBJ="getent.o setenv.o" \ - LIB_SRC="getent.c setenv.c" \ - AR=ar ARFLAGS=cq RANLIB=NONE \ - LIBEXEC=${DESTDIR}/etc \ - CC="${CC}" LCCFLAGS="-O" - - -ultrix: - $(MAKE) -f $(VPATH)/Makefile.generic ${WHAT} \ - LIBS="-ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/ucb \ - DEFINES=${ODEFS}"-DUSE_TERMIO -DTERMCAP \ - -DDEFAULT_IM='\"\r\nULTRIX V4.4 (%h) (%t)\r\n\r\r\n\r\"' \ - -DKLUDGELINEMODE -DDIAGNOSTICS \ - -DNO_LOGIN_F -DNO_LOGIN_P -DLOGIN_R \ - -DENV_HACK -DOLD_ENVIRON ${AUTH_DEF}" \ - INCLUDES="-I.. -I$(VPATH)/.. ${AUTH_INC}" \ - LIB_OBJ="getent.o strdup.o" \ - LIB_SRC="getent.c strdup.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/etc \ - CC="${CC}" LCCFLAGS="-O" - -netbsd: - $(MAKE) -f $(VPATH)/Makefile.generic ${WHAT} \ - LIBS="-lutil -ltermcap ../libtelnet/libtelnet.a ${AUTH_LIB}" \ - LIBPATH="/usr/lib/libc.a /usr/lib/libtermcap.a \ - ../libtelnet/libtelnet.a ${AUTH_LIBPATH}" \ - DEST=${DESTDIR}/usr/bin \ - DEFINES=${ODEFS}"-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \ - -DDEFAULT_IM='\"\r\nNetBSD 1.0 (%h) (%t)\r\n\r\r\n\r\"' \ - -DUSE_TERMIO -DDIAGNOSTICS -DENV_HACK -DOLD_ENVIRON \ - -DHAS_CGETENT ${AUTH_DEF}" \ - INCLUDES="-I.. -I$(VPATH)/.. ${AUTH_INC}" \ - LIB_OBJ="getent.o" \ - LIB_SRC="getent.c" \ - AR=ar ARFLAGS=cq RANLIB=ranlib \ - LIBEXEC=${DESTDIR}/usr/libexec \ - CC="${CC}" LCCFLAGS="-O" - -clean cleandir: - $(MAKE) -f Makefile.generic $@ diff --git a/appl/telnet/Makefile.ORIG b/appl/telnet/Makefile.ORIG deleted file mode 100644 index 3a0986e02..000000000 --- a/appl/telnet/Makefile.ORIG +++ /dev/null @@ -1,9 +0,0 @@ -all: - cd libtelnet; make CC="${CC}" - cd telnet; make CC="${CC}" - cd telnetd; make CC="${CC}" - -.DEFAULT: - cd libtelnet; make $@ WHAT=${WHAT} CC="${CC}" - cd telnet; make $@ WHAT=${WHAT} CC="${CC}" - cd telnetd; make $@ WHAT=${WHAT} CC="${CC}" diff --git a/appl/telnet/Readme b/appl/telnet/Readme new file mode 100644 index 000000000..73f12b699 --- /dev/null +++ b/appl/telnet/Readme @@ -0,0 +1,21 @@ +This is basically telnet.NE.95.05.31 with Finnish encryption code +added. It has also been updated with the (minor) patches for +telnet.NE.95.10.27 and been made autoconfed. It is known to work with: + + telnet telnetd +SunOS 4 X X +Solaris 2.4 X X +DEC OSF/1 2&3 X X +Ultrix 4.4 X (not tested) +AIX 3.2 X X +AIX 4.1 X (doesn't work well) +HPUX ? X X +NetBSD X X +Linux X X +IRIX 5 X (not tested) + + +See README.ORIG for further details. Some of the options aren't +automatically configured, so you might have to edit config.h. + + diff --git a/appl/telnet/config.h.in b/appl/telnet/config.h.in index 5de91ff00..ca3097473 100644 --- a/appl/telnet/config.h.in +++ b/appl/telnet/config.h.in @@ -54,9 +54,18 @@ /* Define if you have the cgetent function. */ #undef HAVE_CGETENT +/* Define if you have the frevoke function. */ +#undef HAVE_FREVOKE + /* Define if you have the gethostbyname function. */ #undef HAVE_GETHOSTBYNAME +/* Define if you have the revoke function. */ +#undef HAVE_REVOKE + +/* Define if you have the setsid function. */ +#undef HAVE_SETSID + /* Define if you have the setupterm function. */ #undef HAVE_SETUPTERM @@ -75,15 +84,15 @@ /* Define if you have the vhangup function. */ #undef HAVE_VHANGUP -/* Define if you have the header file. */ -#undef HAVE_SAC_H - /* Define if you have the header file. */ #undef HAVE_SYS_RESOURCE_H /* Define if you have the header file. */ #undef HAVE_SYS_SELECT_H +/* Define if you have the header file. */ +#undef HAVE_SYS_TTY_H + /* Define if you have the header file. */ #undef HAVE_TERMIO_H diff --git a/appl/telnet/configure b/appl/telnet/configure index 0e141d920..c4f0dee68 100755 --- a/appl/telnet/configure +++ b/appl/telnet/configure @@ -16,6 +16,8 @@ ac_help="$ac_help --enable-authentication configure with authentication" ac_help="$ac_help --enable-encryption configure with encryption" +ac_help="$ac_help + --with-athena=path location of athena tree" ac_help="$ac_help --enable-default-im[=ARG] default initial banner" @@ -687,6 +689,74 @@ echo "$ac_t""$telnet_cv_opt_encryption" 1>&6 + +# +# locate kerberos libraries +# + +echo $ac_n "checking for kerberos tree""... $ac_c" 1>&6 +telnet_athena_default=yes +# Check whether --with-athena or --without-athena was given. +withval="$with_athena" +if test -n "$withval"; then + +case "$withval" in +yes) +telnet_athena_default="/usr/athena" +;; +no) +telnet_athena_default="no" +;; +*) +telnet_athena_default="$withval" +;; +esac + +fi + + +if test "$telnet_athena_default" = yes; then + +libtop='../../..' +KRBLIBPATH="" +LIBKRB='-L$(libtop)/lib/krb -lkrb' +LIBDES='-L$(libtop)/lib/des -ldes' +LIBKAFS='-L$(libtop)/lib/kafs -lkafs' +LIBCOM_ERR='-L$(libtop)/util/et -lcom_err' +KRBINCPATH='-I$(libtop)/include -I$(srcdir)/$(libtop)/include' +telnet_msg="default" + +elif test "$telnet_athena_default" = no; then + +if test "$telnet_cv_opt_encryption" = yes -o "$telnet_cv_opt_authentication" = yes; then + +{ echo "configure: error: Kerberos libraries are needed for authentication and encryption" 1>&2; exit 1; } + +fi + +else + +libtop="$telnet_athena_default" +KRBLIBPATH='-L$(libtop)/lib' +LIBKRB="-lkrb" +LIBDES="-ldes" +LIBKAFS="-lkafs" +LIBCOM_ERR="-lcom_err" +KRBINCPATH='-I$(libtop)/include' +telnet_msg="$telnet_athena_default" + +fi + + + + + + + + + +echo "$ac_t""$telnet_msg" 1>&6 + # # default im # @@ -775,7 +845,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext <&6 else cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < Syntax Error @@ -1266,7 +1336,7 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error @@ -1291,7 +1361,7 @@ else fi echo "$ac_t""$CPP" 1>&6 -for ac_hdr in termios.h termio.h sys/select.h sys/resource.h utmpx.h sac.h +for ac_hdr in termios.h termio.h sys/select.h sys/resource.h sys/tty.h utmpx.h do ac_safe=`echo "$ac_hdr" | tr './\055' '___'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 @@ -1299,7 +1369,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF @@ -1328,13 +1398,48 @@ fi done -if test "$ac_cv_header_sac_h" = yes ; then +# +# Simple test for streamspty, based on the existance of +# + + +echo $ac_n "checking for streamspty""... $ac_c" 1>&6 + +if eval "test \"`echo '$''{'krb_cv_sys_streamspty'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftest.$ac_ext < +EOF +eval "$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +ac_err=`grep -v '^ *+' conftest.out` +if test -z "$ac_err"; then + rm -rf conftest* + +krb_cv_sys_streamspty=yes + +else + echo "$ac_err" >&5 + rm -rf conftest* + +krb_cv_sys_streamspty=no + +fi +rm -f conftest* +fi + + +if test "$krb_cv_sys_streamspty" = yes; then cat >> confdefs.h <<\EOF #define STREAMSPTY 1 EOF fi +echo "$ac_t""$krb_cv_sys_streamspty" 1>&6 + ### @@ -1449,6 +1554,13 @@ s%@AUTHENTICATION@%$AUTHENTICATION%g s%@KRB4@%$KRB4%g s%@ENCRYPTION@%$ENCRYPTION%g s%@DES_ENCRYPTION@%$DES_ENCRYPTION%g +s%@libtop@%$libtop%g +s%@KRBINCPATH@%$KRBINCPATH%g +s%@KRBLIBPATH@%$KRBLIBPATH%g +s%@LIBKRB@%$LIBKRB%g +s%@LIBDES@%$LIBDES%g +s%@LIBKAFS@%$LIBKAFS%g +s%@LIBCOM_ERR@%$LIBCOM_ERR%g s%@USE_IM@%$USE_IM%g s%@DIAGNOSTICS@%$DIAGNOSTICS%g s%@KLUDGELINEMODE@%$KLUDGELINEMODE%g diff --git a/appl/telnet/configure.in b/appl/telnet/configure.in index adf69c377..dc1a63692 100644 --- a/appl/telnet/configure.in +++ b/appl/telnet/configure.in @@ -90,6 +90,71 @@ AC_MSG_RESULT($telnet_cv_opt_encryption) AC_SUBST(ENCRYPTION) AC_SUBST(DES_ENCRYPTION) + +# +# locate kerberos libraries +# + +AC_MSG_CHECKING([for kerberos tree]) +telnet_athena_default=yes +AC_ARG_WITH(athena, +[ --with-athena=path location of athena tree], +[ +case "$withval" in +yes) +telnet_athena_default="/usr/athena" +;; +no) +telnet_athena_default="no" +;; +*) +telnet_athena_default="$withval" +;; +esac +]) + +if test "$telnet_athena_default" = yes; then + +libtop='../../..' +KRBLIBPATH="" +LIBKRB='-L$(libtop)/lib/krb -lkrb' +LIBDES='-L$(libtop)/lib/des -ldes' +LIBKAFS='-L$(libtop)/lib/kafs -lkafs' +LIBCOM_ERR='-L$(libtop)/util/et -lcom_err' +KRBINCPATH='-I$(libtop)/include -I$(srcdir)/$(libtop)/include' +telnet_msg="default" + +elif test "$telnet_athena_default" = no; then + +if test "$telnet_cv_opt_encryption" = yes -o "$telnet_cv_opt_authentication" = yes; then + +AC_MSG_ERROR([Kerberos libraries are needed for authentication and encryption]) + +fi + +else + +libtop="$telnet_athena_default" +KRBLIBPATH='-L$(libtop)/lib' +LIBKRB="-lkrb" +LIBDES="-ldes" +LIBKAFS="-lkafs" +LIBCOM_ERR="-lcom_err" +KRBINCPATH='-I$(libtop)/include' +telnet_msg="$telnet_athena_default" + +fi + +AC_SUBST(libtop) +AC_SUBST(KRBINCPATH) +AC_SUBST(KRBLIBPATH) +AC_SUBST(LIBKRB) +AC_SUBST(LIBDES) +AC_SUBST(LIBKAFS) +AC_SUBST(LIBCOM_ERR) + +AC_MSG_RESULT($telnet_msg) + # # default im # @@ -146,7 +211,7 @@ AC_SUBST(OLD_ENVIRON) AC_REPLACE_FUNCS(getent herror memmove setenv strdup strerror) -AC_CHECK_FUNCS(cgetent uname vfork vhangup) +AC_CHECK_FUNCS(cgetent uname vfork vhangup frevoke revoke setsid) AC_CHECK_FUNCS(tgetent setupterm) @@ -181,12 +246,28 @@ AC_CHECK_LIB(util, logout) AC_SUBST(HAVE_LIBTERMCAP) -AC_CHECK_HEADERS(termios.h termio.h sys/select.h sys/resource.h utmpx.h sac.h) +AC_CHECK_HEADERS(termios.h termio.h sys/select.h sys/resource.h sys/tty.h utmpx.h) -if test "$ac_cv_header_sac_h" = yes ; then +# +# Simple test for streamspty, based on the existance of +# + + +AC_MSG_CHECKING(for streamspty) + +AC_CACHE_VAL(krb_cv_sys_streamspty, +AC_TRY_CPP([#include ],[ +krb_cv_sys_streamspty=yes +],[ +krb_cv_sys_streamspty=no +])) + +if test "$krb_cv_sys_streamspty" = yes; then AC_DEFINE(STREAMSPTY) fi AC_SUBST(STREAMSPTY) +AC_MSG_RESULT($krb_cv_sys_streamspty) + ### diff --git a/appl/telnet/libtelnet/Makefile.4.4 b/appl/telnet/libtelnet/Makefile.4.4 deleted file mode 100644 index 495dd73c5..000000000 --- a/appl/telnet/libtelnet/Makefile.4.4 +++ /dev/null @@ -1,33 +0,0 @@ -# @(#)Makefile 8.2 (Berkeley) 12/15/93 - -LIB= telnet -SRCS= auth.c encrypt.c genget.c getent.c misc.c -SRCS+= kerberos.c enc_des.c -#SRCS+= kerberos5.c -CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DHAS_CGETENT -CFLAGS+= -DKRB4 -DDES_ENCRYPTION -I/usr/include/kerberosIV - -# These are the sources that have encryption stuff in them. -CRYPT_SRC= auth.c enc-proto.h enc_des.c encrypt.c -CRYPT_SRC+= encrypt.h kerberos.c kerberos5.c krb4encpwd.c -CRYPT_SRC+= misc.c spx.c Makefile -NOCRYPT_DIR=${.CURDIR}/Nocrypt - -.include - -nocrypt: -#ifdef ENCRYPTION - @for i in ${CRYPT_SRC}; do \ - if [ ! -d ${NOCRYPT_DIR} ]; then \ - echo Creating subdirectory ${NOCRYPT_DIR}; \ - mkdir ${NOCRYPT_DIR}; \ - fi; \ - echo ${NOCRYPT_DIR}/$$i; \ - unifdef -UENCRYPTION ${.CURDIR}/$$i | \ - sed "s/ || defined(ENCRYPTION)//" > ${NOCRYPT_DIR}/$$i; \ - done - -placeholder: -#else /* ENCRYPTION */ - @echo "Encryption code already removed." -#endif /* ENCRYPTION */ diff --git a/appl/telnet/libtelnet/Makefile.ORIG b/appl/telnet/libtelnet/Makefile.ORIG deleted file mode 100644 index 46597306c..000000000 --- a/appl/telnet/libtelnet/Makefile.ORIG +++ /dev/null @@ -1,45 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.5 (Berkeley) 3/1/91 -# - -# -# Everything happens in ../Makefile.config and Makefile.generic -# -SHELL=/bin/sh - -all: - @-if test -f ../Config.local; \ - then \ - echo make -f ../Config.local WHAT=${WHAT} CC="${CC}"; \ - make -f ../Config.local WHAT=${WHAT} CC="${CC}"; \ - else \ - echo make -f ../Config.generic WHAT=${WHAT} CC="${CC}"; \ - make -f ../Config.generic WHAT=${WHAT} CC="${CC}"; \ - fi - -.DEFAULT: - @-if test -f ../Config.local; \ - then \ - echo make -f ../Config.local WHAT=${WHAT} CC="${CC}" $@; \ - make -f ../Config.local WHAT=${WHAT} CC="${CC}" $@; \ - else \ - echo make -f ../Config.generic WHAT=${WHAT} CC="${CC}" $@; \ - make -f ../Config.generic WHAT=${WHAT} CC="${CC}" $@; \ - fi diff --git a/appl/telnet/libtelnet/Makefile.generic b/appl/telnet/libtelnet/Makefile.generic deleted file mode 100644 index 760417f17..000000000 --- a/appl/telnet/libtelnet/Makefile.generic +++ /dev/null @@ -1,67 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile.generic 5.5 (Berkeley) 3/1/91 -# - -LIB= libtelnet.a -SRCS= auth.c encrypt.c genget.c \ - misc.c kerberos.c kerberos5.c forward.c spx.c enc_des.c \ - rsaencpwd.c krb4encpwd.c read_password.c \ - setenv.c getent.c strdup.c strcasecmp.c \ - strchr.c strrchr.c strftime.c strerror.c \ - ${LIB_SRC} - -OBJS= auth.o encrypt.o genget.o \ - misc.o kerberos.o kerberos5.o forward.o spx.o enc_des.o \ - rsaencpwd.o krb4encpwd.o read_password.o \ - ${LIB_OBJ} - -TELNET_H= ../arpa/telnet.h - -CFLAGS= ${LCCFLAGS} ${DEFINES} ${INCLUDES} - -${LIB}: ${OBJS} - rm -f ${LIB} - ${AR} ${ARFLAGS} ${LIB} `lorder ${OBJS} | tsort` - @if [ ${RANLIB} != NONE ]; \ - then echo ${RANLIB} ${LIB}; ${RANLIB} ${LIB}; fi - -clean cleandir: - rm -f *.o ${LIB} core a.out - -auth.o: ${TELNET_H} -auth.o: encrypt.h -auth.o: auth.h -auth.o: misc-proto.h -encrypt.o: ${TELNET_H} -encrypt.o: encrypt.h -encrypt.o: misc.h -kerberos.o: ${TELNET_H} -kerberos.o: encrypt.h -kerberos.o: auth.h -kerberos.o: misc.h -kerberos5.o: ${TELNET_H} -kerberos5.o: encrypt.h -kerberos5.o: auth.h -kerberos5.o: misc.h -misc.o: misc.h -enc_des.o: ${TELNET_H} -enc_des.o: encrypt.h -enc_des.o: key-proto.h -enc_des.o: misc-proto.h diff --git a/appl/telnet/libtelnet/Makefile.in b/appl/telnet/libtelnet/Makefile.in index 3a9aa5c75..55aac6978 100644 --- a/appl/telnet/libtelnet/Makefile.in +++ b/appl/telnet/libtelnet/Makefile.in @@ -31,9 +31,11 @@ OBJECTS=auth.o encrypt.o genget.o \ all: libtelnet.a +libtop = @libtop@ + .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) \ - -I../../../include -I$(srcdir)/../../../include -I.. -I$(srcdir)/.. $< + @KRBINCPATH@ -I.. -I$(srcdir)/.. $< libtelnet.a: $(OBJECTS) diff --git a/appl/telnet/stty.diff b/appl/telnet/stty.diff deleted file mode 100644 index 3c1b02acc..000000000 --- a/appl/telnet/stty.diff +++ /dev/null @@ -1,72 +0,0 @@ -*** stty.c.old Tue May 23 13:54:29 1989 ---- stty.c Wed Aug 23 13:42:32 1989 -*************** -*** 20,25 **** ---- 20,28 ---- - - #include - #include -+ #include -+ #define NO_T_CHARS_DEFINES -+ #include - - struct - { -*************** -*** 145,150 **** ---- 148,156 ---- - struct winsize win; - int lmode; - int oldisc, ldisc; -+ #ifdef TIOCGSTATE -+ int extproc; -+ #endif - - struct special { - char *name; -*************** -*** 188,193 **** ---- 194,203 ---- - ioctl(1, TIOCLGET, &lmode); - ioctl(1, TIOCGLTC, <c); - ioctl(1, TIOCGWINSZ, &win); -+ #ifdef TIOCGSTATE -+ ioctl(1, TIOCGSTATE, &extproc); -+ extproc &= TS_EXTPROC; -+ #endif - if(argc == 1) { - prmodes(0); - exit(0); -*************** -*** 292,297 **** ---- 302,316 ---- - printf("%d %d\n", win.ws_row, win.ws_col); - exit(0); - } -+ #if defined(TIOCEXT) -+ if (eq("extproc") || eq("-extproc")) { -+ if (**argv == '-') -+ extproc = 0; -+ else -+ extproc = 1; -+ ioctl(1, TIOCEXT, &extproc); -+ } -+ #endif - for(i=0; speeds[i].string; i++) - if(eq(speeds[i].string)) { - mode.sg_ispeed = mode.sg_ospeed = speeds[i].speed; -*************** -*** 438,443 **** ---- 457,468 ---- - lpit(LPENDIN, "-pendin "); - lpit(LDECCTQ, "-decctlq "); - lpit(LNOFLSH, "-noflsh "); -+ #ifdef TIOCGSTATE -+ if (all==2||extproc) { -+ fprintf(stderr,"-extproc"+(extproc!=0)); -+ any++; -+ } -+ #endif - if (any || nothing) - fprintf(stderr,"\n"); - } else if (!all) diff --git a/appl/telnet/telnet/Makefile.4.4 b/appl/telnet/telnet/Makefile.4.4 deleted file mode 100644 index 2e38a2880..000000000 --- a/appl/telnet/telnet/Makefile.4.4 +++ /dev/null @@ -1,73 +0,0 @@ -# -# Copyright (c) 1990 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# 3. All advertising materials mentioning features or use of this software -# must display the following acknowledgement: -# This product includes software developed by the University of -# California, Berkeley and its contributors. -# 4. Neither the name of the University nor the names of its contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -# SUCH DAMAGE. -# -# @(#)Makefile 8.1 (Berkeley) 6/6/93 -# - -PROG= telnet - -CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DAUTHENTICATION -DENCRYPTION -CFLAGS+=-DENV_HACK -CFLAGS+=-I${.CURDIR}/../../lib - -CFLAGS+= -DKRB4 - -LDADD= -ltermcap -ltelnet -LDADD+= -lkrb -ldes -DPADD= ${LIBTERMCAP} - -SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \ - terminal.c tn3270.c utilities.c - -# These are the sources that have encryption stuff in them. -CRYPT_SRC= authenc.c commands.c externs.h main.c network.c -CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile -NOCRYPT_DIR=${.CURDIR}/Nocrypt - -.include - -nocrypt: -#ifdef ENCRYPTION - @for i in ${CRYPT_SRC}; do \ - if [ ! -d ${NOCRYPT_DIR} ]; then \ - echo Creating subdirectory ${NOCRYPT_DIR}; \ - mkdir ${NOCRYPT_DIR}; \ - fi; \ - echo ${NOCRYPT_DIR}/$$i; \ - unifdef -UENCRYPTION ${.CURDIR}/$$i | \ - sed "s/ || defined(ENCRYPTION)//" > ${NOCRYPT_DIR}/$$i; \ - done - -placeholder: -#else /* ENCRYPTION */ - @echo "Encryption code already removed." -#endif /* ENCRYPTION */ diff --git a/appl/telnet/telnet/Makefile.ORIG b/appl/telnet/telnet/Makefile.ORIG deleted file mode 100644 index 46597306c..000000000 --- a/appl/telnet/telnet/Makefile.ORIG +++ /dev/null @@ -1,45 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile 5.5 (Berkeley) 3/1/91 -# - -# -# Everything happens in ../Makefile.config and Makefile.generic -# -SHELL=/bin/sh - -all: - @-if test -f ../Config.local; \ - then \ - echo make -f ../Config.local WHAT=${WHAT} CC="${CC}"; \ - make -f ../Config.local WHAT=${WHAT} CC="${CC}"; \ - else \ - echo make -f ../Config.generic WHAT=${WHAT} CC="${CC}"; \ - make -f ../Config.generic WHAT=${WHAT} CC="${CC}"; \ - fi - -.DEFAULT: - @-if test -f ../Config.local; \ - then \ - echo make -f ../Config.local WHAT=${WHAT} CC="${CC}" $@; \ - make -f ../Config.local WHAT=${WHAT} CC="${CC}" $@; \ - else \ - echo make -f ../Config.generic WHAT=${WHAT} CC="${CC}" $@; \ - make -f ../Config.generic WHAT=${WHAT} CC="${CC}" $@; \ - fi diff --git a/appl/telnet/telnet/Makefile.generic b/appl/telnet/telnet/Makefile.generic deleted file mode 100644 index 5b6ea2651..000000000 --- a/appl/telnet/telnet/Makefile.generic +++ /dev/null @@ -1,89 +0,0 @@ -# -# Copyright (c) 1991 The Regents of the University of California. -# All rights reserved. -# -# Redistribution and use in source and binary forms are permitted provided -# that: (1) source distributions retain this entire copyright notice and -# comment, and (2) distributions including binaries display the following -# acknowledgement: ``This product includes software developed by the -# University of California, Berkeley and its contributors'' in the -# documentation or other materials provided with the distribution and in -# all advertising materials mentioning features or use of this software. -# Neither the name of the University nor the names of its contributors may -# be used to endorse or promote products derived from this software without -# specific prior written permission. -# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -# -# @(#)Makefile.generic 5.5 (Berkeley) 3/1/91 -# - -INCLUDES= -I.. -ARPA_TELNET= ../arpa/telnet.h - -SRCS= commands.c main.c network.c ring.c \ - sys_bsd.c telnet.c terminal.c \ - utilities.c ${GETOPT_SRC} - -CFLAGS= ${LCCFLAGS} ${INCLUDES} ${DEFINES} - -ALLHC= ${SRCS} \ - defines.h externs.h fdset.h general.h \ - ring.h types.h - -OBJS= authenc.o commands.o main.o network.o ring.o sys_bsd.o \ - telnet.o terminal.o utilities.o ${GETOPT_OBJ} -MAN= telnet.0 - -# -# These next three lines are not needed in 4.4BSD -# -.SUFFIXES: .0 .1 -.1.0: - nroff -man -h $< > $@ - -all: telnet - -telnet: ${OBJS} ${LIBPATH} - ${CC} -o $@ ${CFLAGS} ${OBJS} ${LIBS} - -clean: FRC - rm -f ${OBJS} core errs l.errs telnet - -cleandir: clean - rm -f ${MAN} tags .depend - -clist: FRC ${SRCS} - @for i in ${SRCS} ; \ - do (echo ${DIRPATH}$$i); done - -hclist: FRC ${ALLHC} - @for i in ${ALLHC} ; \ - do (echo ${DIRPATH}$$i); done - -depend: FRC ${SRCS} - mkdep ${CFLAGS} `make clist` - -install: ${MAN} FRC - install -s -o bin -g bin -m 755 telnet ${DEST} - install -c -o bin -g bin -m 444 telnet.0 ${DESTDIR}/usr/man/cat1 - -lint: FRC ${SRCS} - lint ${CFLAGS} `make clist` - -tags: FRC ${SRCS} - ctags `make hclist` - -FRC: - -authenc.o: defines.h externs.h general.h ring.h types.h ${ARPA_TELNET} -commands.o: defines.h externs.h general.h ring.h types.h ${ARPA_TELNET} -main.o: defines.h externs.h ring.h -network.o: defines.h externs.h fdset.h ring.h ${ARPA_TELNET} -ring.o: general.h ring.h -sys_bsd.o: defines.h externs.h fdset.h ring.h types.h ${ARPA_TELNET} -telnet.o: defines.h externs.h general.h ring.h types.h ${ARPA_TELNET} -terminal.o: externs.h ring.h types.h ${ARPA_TELNET} -tn3270.o: defines.h externs.h fdset.h general.h ring.h ${ARPA_TELNET} -utilities.o: defines.h externs.h fdset.h general.h ring.h ${ARPA_TELNET} diff --git a/appl/telnet/telnet/Makefile.in b/appl/telnet/telnet/Makefile.in index 1e37b577f..c1c9f41c3 100644 --- a/appl/telnet/telnet/Makefile.in +++ b/appl/telnet/telnet/Makefile.in @@ -27,16 +27,21 @@ SOURCES=commands.c main.c network.c ring.c \ OBJECTS=authenc.o commands.o main.o network.o ring.o sys_bsd.o \ telnet.o terminal.o utilities.o ${GETOPT_OBJ} -libtop=../../../lib +libtop=@libtop@ -KLIB=-L$(libtop)/krb -lkrb -L$(libtop)/des -ldes -L../../../util/et -lcom_err +KRBLIBPATH = @KRBLIBPATH@ +LIBKRB = @LIBKRB@ +LIBDES = @LIBDES@ +LIBCOM_ERR = @LIBCOM_ERR@ + +KLIB=$(KRBLIBPATH) $(LIBKRB) $(LIBDES) $(LIBCOM_ERR) all: telnet .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) \ - -I../../../include -I$(srcdir)/../../../include -I.. -I$(srcdir)/.. $< + @KRBINCPATH@ -I.. -I$(srcdir)/.. $< telnet: $(OBJECTS) $(CC) -o telnet $(OBJECTS) $(LIBS) ../libtelnet/libtelnet.a $(KLIB) diff --git a/appl/telnet/telnet/main.c.foodiff b/appl/telnet/telnet/main.c.foodiff deleted file mode 100644 index 9753c40b4..000000000 --- a/appl/telnet/telnet/main.c.foodiff +++ /dev/null @@ -1,86 +0,0 @@ -*** main.c 1995/09/02 12:18:50 1.5 ---- main.c 1995/10/03 15:40:58 -*************** -*** 137,147 **** - rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE; - - /* -! * if AUTHENTICATION and ENCRYPTION is set autologin will be -! * se to true after the getopt switch; unless the -K option is -! * passed - */ -! autologin = -1; - - while ((ch = getopt(argc, argv, "8EKLS:X:acde:fFk:l:n:rt:x")) != EOF) { - switch(ch) { ---- 137,152 ---- - rlogin = (strncmp(prompt, "rlog", 4) == 0) ? '~' : _POSIX_VDISABLE; - - /* -! * Default is automatic authentication and encryption. -! * Use -K to dissable it and -Ka to only use authentication. - */ -! #ifdef AUTHENTICATION -! autologin = 1; -! #ifdef ENCRYPTION -! encrypt_auto(1); -! decrypt_auto(1); -! #endif -! #endif - - while ((ch = getopt(argc, argv, "8EKLS:X:acde:fFk:l:n:rt:x")) != EOF) { - switch(ch) { -*************** -*** 154,160 **** ---- 159,169 ---- - case 'K': - #ifdef AUTHENTICATION - autologin = 0; -+ #ifdef ENCRYPTION -+ encrypt_auto(0); -+ decrypt_auto(0); - #endif -+ #endif - break; - case 'L': - eight |= 2; /* binary output only */ -*************** -*** 239,248 **** - #endif - break; - case 'l': -! if(autologin == 0){ -! fprintf(stderr, "%s: Warning: -K ignored\n", prompt); -! autologin = -1; -! } - user = optarg; - break; - case 'n': ---- 248,254 ---- - #endif - break; - case 'l': -! autologin = 1; - user = optarg; - break; - case 'n': -*************** -*** 290,306 **** - /* NOTREACHED */ - } - } -- -- if (autologin == -1) { /* esc@magic.fi; force */ -- #if defined(AUTHENTICATION) -- autologin = 1; -- #endif -- #if defined(ENCRYPTION) -- encrypt_auto(1); -- decrypt_auto(1); -- #endif -- } -- - if (autologin == -1) - autologin = (rlogin == _POSIX_VDISABLE) ? 0 : 1; - ---- 296,301 ---- diff --git a/appl/telnet/telnet/telnet.0.ps b/appl/telnet/telnet/telnet.0.ps deleted file mode 100644 index 9edd0b321..000000000 --- a/appl/telnet/telnet/telnet.0.ps +++ /dev/null @@ -1,1008 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: groff version 1.08 -%%DocumentNeededResources: font Times-Roman -%%+ font Times-Bold -%%+ font Courier-Bold -%%+ font Courier-Oblique -%%+ font Courier -%%+ font Symbol -%%+ font Times-Italic -%%DocumentSuppliedResources: procset grops 1.08 0 -%%Pages: 10 -%%PageOrder: Ascend -%%Orientation: Portrait -%%EndComments -%%BeginProlog -%%BeginResource: procset grops 1.08 0 -/setpacking where{ -pop -currentpacking -true setpacking -}if -/grops 120 dict dup begin -/SC 32 def -/A/show load def -/B{0 SC 3 -1 roll widthshow}bind def -/C{0 exch ashow}bind def -/D{0 exch 0 SC 5 2 roll awidthshow}bind def -/E{0 rmoveto show}bind def -/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def -/G{0 rmoveto 0 exch ashow}bind def -/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/I{0 exch rmoveto show}bind def -/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def -/K{0 exch rmoveto 0 exch ashow}bind def -/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/M{rmoveto show}bind def -/N{rmoveto 0 SC 3 -1 roll widthshow}bind def -/O{rmoveto 0 exch ashow}bind def -/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/Q{moveto show}bind def -/R{moveto 0 SC 3 -1 roll widthshow}bind def -/S{moveto 0 exch ashow}bind def -/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/SF{ -findfont exch -[exch dup 0 exch 0 exch neg 0 0]makefont -dup setfont -[exch/setfont cvx]cvx bind def -}bind def -/MF{ -findfont -[5 2 roll -0 3 1 roll -neg 0 0]makefont -dup setfont -[exch/setfont cvx]cvx bind def -}bind def -/level0 0 def -/RES 0 def -/PL 0 def -/LS 0 def -/PLG{ -gsave newpath clippath pathbbox grestore -exch pop add exch pop -}bind def -/BP{ -/level0 save def -1 setlinecap -1 setlinejoin -72 RES div dup scale -LS{ -90 rotate -}{ -0 PL translate -}ifelse -1 -1 scale -}bind def -/EP{ -level0 restore -showpage -}bind def -/DA{ -newpath arcn stroke -}bind def -/SN{ -transform -.25 sub exch .25 sub exch -round .25 add exch round .25 add exch -itransform -}bind def -/DL{ -SN -moveto -SN -lineto stroke -}bind def -/DC{ -newpath 0 360 arc closepath -}bind def -/TM matrix def -/DE{ -TM currentmatrix pop -translate scale newpath 0 0 .5 0 360 arc closepath -TM setmatrix -}bind def -/RC/rcurveto load def -/RL/rlineto load def -/ST/stroke load def -/MT/moveto load def -/CL/closepath load def -/FL{ -currentgray exch setgray fill setgray -}bind def -/BL/fill load def -/LW/setlinewidth load def -/RE{ -findfont -dup maxlength 1 index/FontName known not{1 add}if dict begin -{ -1 index/FID ne{def}{pop pop}ifelse -}forall -/Encoding exch def -dup/FontName exch def -currentdict end definefont pop -}bind def -/DEFS 0 def -/EBEGIN{ -moveto -DEFS begin -}bind def -/EEND/end load def -/CNT 0 def -/level1 0 def -/PBEGIN{ -/level1 save def -translate -div 3 1 roll div exch scale -neg exch neg exch translate -0 setgray -0 setlinecap -1 setlinewidth -0 setlinejoin -10 setmiterlimit -[]0 setdash -/setstrokeadjust where{ -pop -false setstrokeadjust -}if -/setoverprint where{ -pop -false setoverprint -}if -newpath -/CNT countdictstack def -userdict begin -/showpage{}def -}bind def -/PEND{ -clear -countdictstack CNT sub{end}repeat -level1 restore -}bind def -end def -/setpacking where{ -pop -setpacking -}if -%%EndResource -%%IncludeResource: font Times-Roman -%%IncludeResource: font Times-Bold -%%IncludeResource: font Courier-Bold -%%IncludeResource: font Courier-Oblique -%%IncludeResource: font Courier -%%IncludeResource: font Symbol -%%IncludeResource: font Times-Italic -grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72 def/PL -792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron/scaron/zcaron -/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef/.notdef/.notdef -/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef -/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/space -/exclam/quotedbl/numbersign/dollar/percent/ampersand/quoteright/parenleft -/parenright/asterisk/plus/comma/hyphen/period/slash/zero/one/two/three/four -/five/six/seven/eight/nine/colon/semicolon/less/equal/greater/question/at/A/B/C -/D/E/F/G/H/I/J/K/L/M/N/O/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash -/bracketright/circumflex/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q -/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase -/guillemotleft/guillemotright/bullet/florin/fraction/perthousand/dagger -/daggerdbl/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut -/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash -/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen/brokenbar -/section/dieresis/copyright/ordfeminine/guilsinglleft/logicalnot/minus -/registered/macron/degree/plusminus/twosuperior/threesuperior/acute/mu -/paragraph/periodcentered/cedilla/onesuperior/ordmasculine/guilsinglright -/onequarter/onehalf/threequarters/questiondown/Agrave/Aacute/Acircumflex/Atilde -/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute -/Icircumflex/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis -/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls -/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute -/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis/eth/ntilde/ograve -/oacute/ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex -/udieresis/yacute/thorn/ydieresis]def/Times-Italic@0 ENC0/Times-Italic RE -/Courier@0 ENC0/Courier RE/Courier-Oblique@0 ENC0/Courier-Oblique RE -/Courier-Bold@0 ENC0/Courier-Bold RE/Times-Bold@0 ENC0/Times-Bold RE -/Times-Roman@0 ENC0/Times-Roman RE -%%EndProlog -%%Page: 1 1 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Times-Bold@0 SF -.2(NA)72 -108 S(ME).2 E/F2 10/Courier-Bold@0 SF(telnet)102 120 Q F0 2.52.5 G -(ser interf)153.64 120 Q(ace to the)-.1 E/F3 9/Times-Roman@0 SF(TELNET)2.5 E F0 -(protocol)2.5 E F1(SYNOPSIS)72 144 Q F2(telnet)102 156 Q F0([)3.333 E F2 -2.499 E F0 3.333(][).833 G F2-.834 E F0 3.333(][).833 G F2-.834 E -F0 3.333(][).833 G F2-.834 E F0 3.333(][).833 G F2-.834 E F0 3.333 -(][).833 G F2-.834 E/F4 10/Courier-Oblique@0 SF(tos)6 E F0 3.333(][).833 -G F2-.834 E F4(authtype)6 E F0 3.333(][).833 G F2-.834 E F0 3.333 -(][).833 G F2-.834 E F0 3.333(][).833 G F2-.834 E F0 3.333(][).833 -G F2-.834 E F4(escapechar)144 168 Q F0 3.333(][).833 G F2-.834 E F0 -3.333(][).833 G F2-.834 E F4(realm)6 E F0 3.333(][).833 G F2-.834 E -F4(user)6 E F0 3.333(][).833 G F2-.834 E F4(tracefile)6 E F0 3.333(][) -.833 G F2-.834 E F0 3.333(][).833 G F2-.834 E F0 2.5(][).833 G F4 -(host)491.943 168 Q F0 .833([p)144.833 180 S -1.667(ort ]])-.833 F F1 -(DESCRIPTION)72 204 Q F0(The)102 216 Q F2(telnet)2.523 E F0 .023 -(command is used to communicate with another host using the)2.523 F F3(TELNET) -2.523 E F0 2.523(protocol. If)2.523 F F2(telnet)2.523 E F0(is)2.522 E(in)102 -228 Q -.2(vo)-.4 G -.1(ke).2 G 2.693(dw).1 G .193(ithout the)143.433 228 R F4 -(host)2.693 E F0(ar)2.693 E .194 -(gument, it enters command mode, indicated by its prompt)-.18 F(\()4.36 E F2 -(telnet>)1.666 E F0 -3.138 1.666(\). I)1.666 H 2.694(nt)-1.666 G(his)528.33 228 -Q 1.07(mode, it accepts and e)102 240 R -.15(xe)-.15 G 1.07 -(cutes the commands listed belo).15 F 4.87 -.65(w. I)-.25 H 3.57(fi).65 G 3.57 -(ti)361.18 240 S 3.57(si)370.31 240 S -1.9 -.4(nv o)380.55 240 T -.1(ke).4 G -3.57(dw).1 G 1.07(ith ar)420.08 240 R 1.07(guments, it performs an)-.18 F F2 -(open)102 252 Q F0(command with those ar)2.5 E(guments.)-.18 E(Options:)102 270 -Q F2103.666 288 Q F0 .352(Speci\214es an 8-bit data path.)143 288 R .353 -(This causes an attempt to ne)5.352 F .353(gotiate the)-.15 F/F5 10/Courier@0 -SF .353(TELNET BINARY)2.853 F F0 .353(option on)2.853 F(both input and output.) -143 300 Q F2103.666 318 Q F0(Stops an)143 318 Q 2.5(yc)-.15 G -(haracter from being recognized as an escape character)188.96 318 Q(.)-.55 E F2 -103.666 336 Q F0 .691(If K)143 336 R .691 -(erberos V5 authentication is being used, the)-.25 F F24.856 E F0 .69 -(option allo)3.19 F .69(ws the local credentials to be for)-.25 F(-)-.2 E -.1 -(wa)143 348 S .615(rded to the remote system, including an).1 F 3.116(yc)-.15 G -.616(redentials that ha)328.698 348 R .916 -.15(ve a)-.2 H .616 -(lready been forw).15 F .616(arded into the)-.1 F(local en)143 360 Q -(vironment.)-.4 E F2103.666 378 Q F0 -(Speci\214es no automatic login to the remote system.)143 378 Q F2103.666 -396 Q F0 .147(Speci\214es an 8-bit data path on output.)143 396 R .146 -(This causes the BIN)5.146 F(AR)-.35 E 2.646(Yo)-.65 G .146(ption to be ne) -409.42 396 R .146(gotiated on output.)-.15 F F2103.666 414 Q F4(tos)6 E -F0 .288(Sets the IP type-of-service \(T)143 426 R .288 -(OS\) option for the telnet connection to the v)-.18 F(alue)-.25 E F4(tos,) -2.788 E F0 .289(which can be)2.788 F 3.12(an)143 438 S .62(umeric T)155.56 438 -R .62(OS v)-.18 F .62(alue or)-.25 F 3.12(,o)-.4 G 3.12(ns)251.36 438 S .619 -(ystems that support it, a symbolic T)263.37 438 R .619 -(OS name found in the /etc/iptos)-.18 F(\214le.)143 450 Q F2103.666 468 Q -F4(atype)6 E F0(Disables the)143 480 Q F4(atype)2.5 E F0 -(type of authentication.)2.5 E F2103.666 498 Q F0 2.562 -(Attempt automatic login.)143 498 R(Currently)7.563 E 5.063(,t)-.65 G 2.563 -(his sends the user name via the)303.99 498 R F5(USER)5.063 E F0 -.25(va)5.063 -G 2.563(riable of the).25 F F5(ENVIRON)143 510 Q F0 .444 -(option if supported by the remote system.)2.945 F .444 -(The name used is that of the current user as)5.444 F .168(returned by)143 522 -R F5(getlogin)2.668 E F0 .168(\(2\) if it agrees with the current user ID, oth\ -erwise it is the name associated)B(with the user ID.)143 534 Q F2103.666 -552 Q F0 .022(Disables the reading of the user')143 552 R(s)-.55 E F5 -(.telnetrc)2.522 E F0 2.522(\214le. \(See)2.522 F(the)2.522 E F2 .022 -(toggle skiprc)2.522 F F0 .022(command on this)2.522 F(man page.\))143 564 Q F2 -103.666 582 Q F0(Sets the initial v)143 582 Q(alue of the)-.25 E F2 -(debug)2.5 E F0(toggle to)2.5 E F5(TRUE)2.5 E F2103.666 600 Q F4 -(escape char)6 E F0 1.759(Sets the initial)143 612 R F2 -1.741(telnet telnet) -4.259 F F0 1.759(escape character to)4.259 F F4 1.759(escape char.)4.259 F F0 -(If)4.259 E F4 1.76(escape char)4.26 F F0(is)4.26 E -(omitted, then there will be no escape character)143 624 Q(.)-.55 E F2 -103.666 642 Q F0 .691(If K)143 642 R .691 -(erberos V5 authentication is being used, the)-.25 F F24.856 E F0 .69 -(option allo)3.19 F .69(ws the local credentials to be for)-.25 F(-)-.2 E -.1 -(wa)143 654 S(rded to the remote system.).1 E F2103.666 672 Q F4(realm)6 -E F0 .008(If K)143 684 R .008(erberos authentication is being used, the)-.25 F -F24.174 E F0 .009(option requests that telnet obtain tick)2.508 F .009 -(ets for the re-)-.1 F 6.61 -(mote host in realm realm instead of the remote host')143 696 R 9.11(sr)-.55 G -6.61(ealm, as determined by)427.41 696 R(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD) --.15 G(istrib)132.57 750 Q 95.71(ution February)-.2 F(3, 1994)2.5 E(1)535 750 Q -EP -%%Page: 2 2 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Courier@0 SF -(krb_realmofhost)143 96 Q F0(\(3\).)A/F2 10/Courier-Bold@0 SF103.666 114 -Q/F3 10/Courier-Oblique@0 SF(user)6 E F0 1.135 -(When connecting to the remote system, if the remote system understands the)143 -126 R F1(ENVIRON)3.636 E F0(option,)3.636 E(then)143 138 Q F3(user)2.974 E F0 -.474(will be sent to the remote system as the v)2.974 F .474(alue for the v) --.25 F .474(ariable USER.)-.25 F .473(This option im-)5.474 F(plies the)143 150 -Q F24.166 E F0 2.5(option. This)2.5 F(option may also be used with the) -2.5 E F2(open)2.5 E F0(command.)2.5 E F2103.666 168 Q F3(tracefile)6 E F0 -(Opens)143 180 Q F3(tracefile)2.561 E F0 .062(for recording trace information.) -2.561 F .062(See the)5.062 F F2 .062(set tracefile)2.562 F F0 .062 -(command belo)2.562 F -.65(w.)-.25 G F2103.666 198 Q F0 .936 -(Speci\214es a user interf)143 198 R .936(ace similar to)-.1 F F1(rlogin)3.435 -E F0 4.37(\(1\). In)B .935(this mode, the escape character is set to the)3.435 -F(tilde \(~\) character)143 210 Q 2.5(,u)-.4 G -(nless modi\214ed by the -e option.)222.01 210 Q F2103.666 228 Q F0 -.45 -(Tu)143 228 S .123(rns on encryption of the data stream if possible.).45 F .124 -(This option is not a)5.124 F -.25(va)-.2 G .124(ilable outside of the Unit-) -.25 F(ed States and Canada.)143 240 Q F3(host)102 258 Q F0(Indicates the of)143 -258 Q(\214cial name, an alias, or the Internet address of a remote host.)-.25 E -F3(port)102 276 Q F0 1.96 -(Indicates a port number \(address of an application\).)143 276 R 1.96 -(If a number is not speci\214ed, the def)6.96 F(ault)-.1 E F2(telnet)143 288 Q -F0(port is used.)2.5 E .237(When in rlogin mode, a line of the form ~.)102 306 -R .238(disconnects from the remote host; ~ is the telnet escape character)5.237 -F(.)-.55 E(Similarly)102 318 Q 2.5(,t)-.65 G -(he line ~^Z suspends the telnet session.)146.36 318 Q -(The line ~^] escapes to the normal telnet escape prompt.)5 E 1.008 -(Once a connection has been opened,)102 336 R F2(telnet)3.507 E F0 1.007 -(will attempt to enable the)3.507 F F1 1.007(TELNET LINEMODE)3.507 F F0 3.507 -(option. If)3.507 F .73(this f)102 348 R .73(ails, then)-.1 F F2(telnet)3.23 E -F0 .73(will re)3.23 F -.15(ve)-.25 G .73(rt to one of tw).15 F 3.23(oi)-.1 G -.731(nput modes: either `)308.3 348 R .731(`character at a time')-.74 F 3.231 -('o)-.74 G 3.231(r`)483.277 348 S .731(`old line by)492.428 348 R(line')102 360 -Q 2.5('d)-.74 G(epending on what the remote system supports.)130.42 360 Q(When) -102 378 Q F1(LINEMODE)3.143 E F0 .642(is enabled, character processing is done\ - on the local system, under the control of the re-)3.143 F .123(mote system.) -102 390 R .123(When input editing or character echoing is to be disabled, the \ -remote system will relay that in-)5.123 F 3.397(formation. The)102 402 R .897 -(remote system will also relay changes to an)3.397 F 3.397(ys)-.15 G .897 -(pecial characters that happen on the remote)361.34 402 R(system, so that the) -102 414 Q 2.5(yc)-.15 G(an tak)187.68 414 Q 2.5(ee)-.1 G -.25(ff)223.12 414 S -(ect on the local system.).25 E(In `)102 432 Q(`character at a time')-.74 E 2.5 -('m)-.74 G(ode, most te)208.53 432 Q -(xt typed is immediately sent to the remote host for processing.)-.15 E .323 -(In `)102 450 R .323(`old line by line')-.74 F 2.823('m)-.74 G .323 -(ode, all te)196.845 450 R .323(xt is echoed locally)-.15 F 2.823(,a)-.65 G -.323(nd \(normally\) only completed lines are sent to the re-)324.073 450 R -.757(mote host.)102 462 R .757(The `)5.757 F .757(`local echo character')-.74 F -3.257('\()-.74 G .756(initially `)268.892 462 R(`^E')-.74 E .756 -('\) may be used to turn of)-.74 F 3.256(fa)-.25 G .756 -(nd on the local echo \(this)435.4 462 R -.1(wo)102 474 S -(uld mostly be used to enter passw).1 E(ords without the passw)-.1 E -(ord being echoed\).)-.1 E 1.076(If the)102 492 R F1(LINEMODE)3.576 E F0 1.076 -(option is enabled, or if the)3.576 F F2(localchars)3.577 E F0 1.077(toggle is) -3.577 F F1(TRUE)3.577 E F0 1.077(\(the def)3.577 F 1.077(ault for `)-.1 F 1.077 -(`old line by)-.74 F(line`)102 504 Q .866(`; see belo)-.74 F .866 -(w\), the user')-.25 F(s)-.55 E F2(quit)3.366 E F0(,)A F2(intr)3.366 E F0 3.366 -(,a)C(nd)285.042 504 Q F2(flush)3.365 E F0 .865(characters are trapped locally) -3.365 F 3.365(,a)-.65 G .865(nd sent as)461.472 504 R/F4 9/Times-Roman@0 SF -(TELNET)3.365 E F0 .368(protocol sequences to the remote side.)102 516 R(If) -5.368 E F1(LINEMODE)2.868 E F0 .368(has e)2.868 F -.15(ve)-.25 G 2.868(rb).15 G -.368(een enabled, then the user')363.23 516 R(s)-.55 E F2(susp)2.869 E F0(and) -2.869 E F2(eof)2.869 E F0 1.308(are also sent as)102 528 R F4(TELNET)3.808 E F0 -1.308(protocol sequences, and)3.808 F F2(quit)3.808 E F0 1.307(is sent as a) -3.807 F F1 1.307(TELNET ABORT)3.807 F F0 1.307(instead of)3.807 F F1(BREAK) -3.807 E F0 .474(There are options \(see)102 540 R F2 -3.026(toggle autoflush) -2.974 F F0(and)2.974 E F2 -3.026(toggle autosynch)2.974 F F0(belo)2.974 E .475 -(w\) which cause this action to)-.25 F .194 -(\215ush subsequent output to the terminal \(until the remote host ackno)102 -552 R .194(wledges the)-.25 F F4(TELNET)2.694 E F0 .193(sequence\) and \215ush) -2.693 F(pre)102 564 Q(vious terminal input \(in the case of)-.25 E F2(quit)2.5 -E F0(and)2.5 E F2(intr)2.5 E F0(\).)A .235(While connected to a remote host,) -102 582 R F2(telnet)2.735 E F0 .235(command mode may be entered by typing the) -2.735 F F2(telnet)2.735 E F0 -.74(``)2.735 G(escape).74 E(character')102 594 Q -2.5('\()-.74 G(initially `)150.39 594 Q(`^]')-.74 E 2.5('\). When)-.74 F -(in command mode, the normal terminal editing con)2.5 E -.15(ve)-.4 G -(ntions are a).15 E -.25(va)-.2 G(ilable.).25 E .018(The follo)102 612 R(wing) --.25 E F2(telnet)2.518 E F0 .018(commands are a)2.518 F -.25(va)-.2 G 2.517 -(ilable. Only).25 F .017(enough of each command to uniquely identify it need) -2.517 F 2.478(be typed \(this is also true for ar)102 624 R 2.478 -(guments to the)-.18 F F2(mode)4.978 E F0(,)A F2(set)4.978 E F0(,)A F2(toggle) -4.978 E F0(,)A F2(unset)4.978 E F0(,)A F2(slc)4.978 E F0(,)A F2(environ)4.979 E -F0 4.979(,a)C(nd)530 624 Q F2(display)102 636 Q F0(commands\).)2.5 E F2(auth) -102 654 Q F3(argument ...)6 E F0 .308 -(The auth command manipulates the information sent through the)161 666 R F1 -.308(TELNET AUTHENTICATE)2.808 F F0 2.5(option. V)161 678 R(alid ar)-1.11 E -(guments for the auth command are as follo)-.18 E(ws:)-.25 E(4.2 Berk)72 750 Q -(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q 95.71(ution February)-.2 F -(3, 1994)2.5 E(2)535 750 Q EP -%%Page: 3 3 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Courier-Bold@0 SF(disable) -161 96 Q/F2 10/Courier-Oblique@0 SF(type)6.76 E F0 .76 -(Disables the speci\214ed type of authentication.)5 F 2.36 -.8(To o)5.76 H .76 -(btain a list of a).8 F -.25(va)-.2 G(ilable).25 E(types, use the)238 108 Q F1 -(auth disable ?)2.5 E F0(command.)2.5 E F1(enable)161 126 Q F2(type)6.992 E F0 -.992(Enables the speci\214ed type of authentication.)238.992 126 R 2.592 -.8 -(To o)5.992 H .991(btain a list of a).8 F -.25(va)-.2 G(ilable).25 E -(types, use the)238 138 Q F1(auth enable ?)2.5 E F0(command.)2.5 E F1(status) -161 156 Q F0(Lists the current status of the v)238 156 Q -(arious types of authentication.)-.25 E F1(close)102 174 Q F0(Close a)161 174 Q -/F3 9/Times-Roman@0 SF(TELNET)2.5 E F0(session and return to command mode.)2.5 -E F1(display)102 192 Q F2(argument ...)6 E F0(Displays all, or some, of the)161 -204 Q F1(set)2.5 E F0(and)2.5 E F1(toggle)2.5 E F0 -.25(va)2.5 G -(lues \(see belo).25 E(w\).)-.25 E F1(encrypt)102 222 Q F2(argument ...)6 E F0 -.407(The encrypt command manipulates the information sent through the)161 234 R -/F4 10/Courier@0 SF .408(TELNET ENCRYPT)2.908 F F0(op-)2.908 E(tion.)161 246 Q -2.856(Note: Because)161 264 R .356(of e)2.856 F .356(xport controls, the)-.15 F -F4 .355(TELNET ENCRYPT)2.855 F F0 .355(option is not supported outside of)2.855 -F(the United States and Canada.)161 276 Q -1.11(Va)161 294 S(lid ar)1.11 E -(guments for the encrypt command are as follo)-.18 E(ws:)-.25 E F1(disable)161 -312 Q F2(type)6 E F1([input|output])6 E F0 1.099 -(Disables the speci\214ed type of encryption.)226 324 R 1.099 -(If you omit the input and output,)6.099 F .357 -(both input and output are disabled.)226 336 R 1.957 -.8(To o)5.357 H .357 -(btain a list of a).8 F -.25(va)-.2 G .357(ilable types, use the).25 F F1 -(encrypt disable ?)226 348 Q F0(command.)2.5 E F1(enable)161 366 Q F2(type)6 E -F1([input|output])6 E F0 .867(Enables the speci\214ed type of encryption.)226 -378 R .868(If you omit input and output, both)5.867 F 2.117 -(input and output are enabled.)226 390 R 3.716 -.8(To o)7.116 H 2.116 -(btain a list of a).8 F -.25(va)-.2 G 2.116(ilable types, use the).25 F F1 -(encrypt enable ?)226 402 Q F0(command.)2.5 E F1(input)161 420 Q F0 -(This is the same as the)226 420 Q F1(encrypt start input)2.5 E F0(command.)2.5 -E F1(-input)161 438 Q F0(This is the same as the)226 438 Q F1 -(encrypt stop input)2.5 E F0(command.)2.5 E F1(output)161 456 Q F0 -(This is the same as the)226 456 Q F1(encrypt start output)2.5 E F0(command.) -2.5 E F1(-output)161 474 Q F0(This is the same as the)226 474 Q F1 -(encrypt stop output)2.5 E F0(command.)2.5 E F1(start [input|output])161 492 Q -F0 1.116(Attempts to start encryption.)226 504 R 1.116(If you omit)6.116 F F1 -(input)3.616 E F0(and)3.617 E F1(output,)3.617 E F0 1.117(both input)3.617 F -.467(and output are enabled.)226 516 R 2.067 -.8(To o)5.467 H .467 -(btain a list of a).8 F -.25(va)-.2 G .467(ilable types, use the).25 F F1 -(encrypt)2.966 E(enable ?)226 528 Q F0(command.)2.5 E F1(status)161 546 Q F0 -(Lists the current status of encryption.)226 546 Q F1(stop [input|output])161 -564 Q F0 1.096(Stops encryption.)226 576 R 1.097 -(If you omit input and output, encryption is on both input)6.096 F(and output.) -226 588 Q F1(type)161 606 Q F2(type)6.121 E F0 .121(Sets the def)226.121 606 R -.121(ault type of encryption to be used with later)-.1 F F1 .12(encrypt start) -2.62 F F0(or)2.62 E F1(encrypt stop)226 618 Q F0(commands.)2.5 E F1(environ)102 -636 Q F2(arguments...)6 E F0(The)161 648 Q F1(environ)3.189 E F0 .689 -(command is used to manipulate the the v)3.189 F .69 -(ariables that my be sent through the)-.25 F F4 .552(TELNET ENVIRON)161 660 R -F0 3.052(option. The)3.052 F .552(initial set of v)3.052 F .551 -(ariables is tak)-.25 F .551(en from the users en)-.1 F(vironment,)-.4 E .501 -(with only the)161 672 R F4(DISPLAY)3.001 E F0(and)3.001 E F4(PRINTER)3.001 E -F0 -.25(va)3.001 G .502(riables being e).25 F .502(xported by def)-.15 F 3.002 -(ault. The)-.1 F F4(USER)3.002 E F0 -.25(va)3.002 G(ri-).25 E(able is also e) -161 684 Q(xported if the)-.15 E F14.166 E F0(or)2.5 E F14.166 E F0 -(options are used.)2.5 E(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib) -132.57 750 Q 95.71(ution February)-.2 F(3, 1994)2.5 E(3)535 750 Q EP -%%Page: 4 4 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R -1.11(Va)161 96 S(lid ar)1.11 E -(guments for the)-.18 E/F1 10/Courier-Bold@0 SF(environ)2.5 E F0(command are:) -2.5 E F1(define)161 114 Q/F2 10/Courier-Oblique@0 SF(variable value)6 E F0 -1.082(De\214ne the v)216 126 R(ariable)-.25 E F2(variable)3.582 E F0 1.082 -(to ha)3.582 F 1.382 -.15(ve a v)-.2 H 1.082(alue of)-.1 F F2(value.)3.581 E F0 -(An)3.581 E 3.581(yv)-.15 G 1.081(ariables de-)492.549 126 R 1.922 -(\214ned by this command are automatically e)216 138 R 4.422(xported. The)-.15 -F F2(value)4.422 E F0 1.922(may be en-)4.422 F -(closed in single or double quotes so that tabs and spaces may be included.)216 -150 Q F1(undefine)161 168 Q F2(variable)6 E F0(Remo)216 180 Q -.15(ve)-.15 G F2 -(variable)2.65 E F0(from the list of en)2.5 E(vironment v)-.4 E(ariables.)-.25 -E F1(export)161 198 Q F2(variable)6 E F0(Mark the v)216 210 Q(ariable)-.25 E F2 -(variable)2.5 E F0(to be e)2.5 E(xported to the remote side.)-.15 E F1 -(unexport)161 228 Q F2(variable)6 E F0 .697(Mark the v)216 240 R(ariable)-.25 E -F2(variable)3.197 E F0 .697(to not be e)3.197 F .697(xported unless e)-.15 F -.696(xplicitly ask)-.15 F .696(ed for by)-.1 F(the remote side.)216 252 Q F1 -(list)161 270 Q F0 1.416(List the current set of en)216 270 R 1.416 -(vironment v)-.4 F 3.916(ariables. Those)-.25 F(mark)3.916 E 1.416(ed with a) --.1 F/F3 10/Symbol SF(*)3.916 E F0 1.417(will be)3.917 F(sent automatically)216 -282 Q 2.5(,o)-.65 G(ther v)298.4 282 Q(ariables will only be sent if e)-.25 E -(xplicitly requested.)-.15 E F1(?)161 300 Q F0 -(Prints out help information for the)216 300 Q F1(environ)2.5 E F0(command.)2.5 -E F1(logout)102 318 Q F0 .104(Sends the)161 318 R/F4 10/Courier@0 SF .104 -(TELNET LOGOUT)2.604 F F0 .104(option to the remote side.)2.604 F .104 -(This command is similar to a)5.104 F F1(close)2.604 E F0 .228(command; ho)161 -330 R(we)-.25 E -.15(ve)-.25 G 1.028 -.4(r, i).15 H 2.728(ft).4 G .228 -(he remote side does not support the)256.174 330 R F4(LOGOUT)2.729 E F0 .229 -(option, nothing happens.)2.729 F .233(If, ho)161 342 R(we)-.25 E -.15(ve)-.25 -G 1.033 -.4(r, t).15 H .233(he remote side does support the).4 F F4(LOGOUT) -2.733 E F0 .233(option, this command should cause the)2.733 F .652 -(remote side to close the)161 354 R/F5 9/Times-Roman@0 SF(TELNET)3.152 E F0 -3.152(connection. If)3.152 F .653(the remote side also supports the concept of) -3.152 F 1.904(suspending a user')161 366 R 4.404(ss)-.55 G 1.903 -(ession for later reattachment, the logout ar)250.872 366 R 1.903 -(gument indicates that you)-.18 F(should terminate the session immediately)161 -378 Q(.)-.65 E F1(mode)102 396 Q F2 -1(type Type)6.889 F F0 .889(is one of se) -3.389 F -.15(ve)-.25 G .889(ral options, depending on the state of the).15 F F5 -(TELNET)3.389 E F0 3.39(session. The)3.39 F(remote)3.39 E .882(host is ask)161 -408 R .881(ed for permission to go into the requested mode.)-.1 F .881 -(If the remote host is capable of)5.881 F -(entering that mode, the requested mode will be entered.)161 420 Q F1 -(character)161 438 Q F0 .715(Disable the)226 438 R F4 .716(TELNET LINEMODE) -3.215 F F0 .716(option, or)3.216 F 3.216(,i)-.4 G 3.216(ft)416.834 438 S .716 -(he remote side does not un-)426.16 438 R(derstand the)226 450 Q F4(LINEMODE) -2.5 E F0(option, then enter `)2.5 E(`character at a time`)-.74 E 2.5(`m)-.74 G -(ode.)496.07 450 Q F1(line)161 468 Q F0 .948(Enable the)226 468 R F4 .948 -(TELNET LINEMODE)3.448 F F0 .948(option, or)3.448 F 3.448(,i)-.4 G 3.447(ft) -415.448 468 S .947(he remote side does not un-)425.005 468 R 2.78(derstand the) -226 480 R F4(LINEMODE)5.28 E F0 2.78(option, then attempt to enter `)5.28 F -(`old-line-by-line`)-.74 E(`)-.74 E(mode.)226 492 Q F1(isig)161 510 Q F0(\() -7.666 E F1(\255isig)1.666 E F0(\))1.666 E 1.43 -(Attempt to enable \(disable\) the)226 522 R F4(TRAPSIG)3.93 E F0 1.43 -(mode of the)3.93 F F4(LINEMODE)3.93 E F0(option.)3.93 E -(This requires that the)226 534 Q F4(LINEMODE)2.5 E F0(option be enabled.)2.5 E -F1(edit)161 552 Q F0(\()7.666 E F1(\255edit)1.666 E F0(\))1.666 E .865 -(Attempt to enable \(disable\) the)226 564 R F4(EDIT)3.365 E F0 .866 -(mode of the)3.365 F F4(LINEMODE)3.366 E F0 3.366(option. This)3.366 F -(requires that the)226 576 Q F4(LINEMODE)2.5 E F0(option be enabled.)2.5 E F1 -(softtabs)161 594 Q F0(\()7.666 E F1(\255softtabs)1.666 E F0(\))1.666 E .83 -(Attempt to enable \(disable\) the)226 606 R F4(SOFT_TAB)3.33 E F0 .83 -(mode of the)3.33 F F4(LINEMODE)3.33 E F0(option.)3.33 E -(This requires that the)226 618 Q F4(LINEMODE)2.5 E F0(option be enabled.)2.5 E -F1(litecho)161 636 Q F0(\()7.666 E F1(\255litecho)1.666 E F0(\))1.666 E .83 -(Attempt to enable \(disable\) the)226 648 R F4(LIT_ECHO)3.33 E F0 .83 -(mode of the)3.33 F F4(LINEMODE)3.33 E F0(option.)3.33 E -(This requires that the)226 660 Q F4(LINEMODE)2.5 E F0(option be enabled.)2.5 E -F1(?)161 678 Q F0(Prints out help information for the)226 678 Q F1(mode)2.5 E -F0(command.)2.5 E(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q -95.71(ution February)-.2 F(3, 1994)2.5 E(4)535 750 Q EP -%%Page: 5 5 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Courier-Bold@0 SF(open)102 -102 Q/F2 10/Courier-Oblique@0 SF(host)6 E F0 .833([[)2.5 G F11.666 E F0 -(]).833 E F2(user)6 E F0(][)A F11.666 E F2(port)A F0(])A .207 -(Open a connection to the named host.)161 114 R .207 -(If no port number is speci\214ed,)5.207 F F1(telnet)2.707 E F0 .206 -(will attempt to)2.707 F .263(contact a)161 126 R/F3 9/Times-Roman@0 SF(TELNET) -2.763 E F0(serv)2.763 E .263(er at the def)-.15 F .263(ault port.)-.1 F .264 -(The host speci\214cation may be either a host name)5.264 F(\(see)161 138 Q/F4 -10/Courier@0 SF(hosts)3.531 E F0 4.562(\(5\)\) or)B 1.031 -(an Internet address speci\214ed in the `)3.531 F 1.03(`dot notation')-.74 F -3.53('\()-.74 G(see)459.6 138 Q F4(inet)3.53 E F0 4.56(\(3\)\). The)B([)161.833 -150 Q F12.499 E F0 3.03(]o).833 G .531(ption may be used to specify the \ -user name to be passed to the remote system via the)191.855 150 R F4(ENVIRON) -161 162 Q F0 3.971(option. When)3.971 F 1.471 -(connecting to a non-standard port,)3.971 F F1(telnet)3.971 E F0 1.471 -(omits an)3.971 F 3.97(ya)-.15 G(utomatic)505 162 Q .631(initiation of)161 174 -R F3(TELNET)3.131 E F0 3.131(options. When)3.131 F .631 -(the port number is preceded by a minus sign, the initial)3.131 F .441 -(option ne)161 186 R .441(gotiation is done.)-.15 F .441 -(After establishing a connection, the \214le)5.441 F F4(.telnetrc)2.941 E F0 -.44(in the users)2.94 F .928(home directory is opened.)161 198 R .928(Lines be) -5.928 F .928(ginning with a # are comment lines.)-.15 F .928 -(Blank lines are ig-)5.928 F 3.255(nored. Lines)161 210 R .755(that be)3.255 F -.755(gin without white space are the start of a machine entry)-.15 F 5.755(.T) --.65 G .755(he \214rst thing)487.93 210 R .022 -(on the line is the name of the machine that is being connected to.)161 222 R -.023(The rest of the line, and suc-)5.023 F(cessi)161 234 Q .856 -.15(ve l)-.25 -H .556(ines that be).15 F .556(gin with white space are assumed to be)-.15 F F1 -(telnet)3.056 E F0 .556(commands and are pro-)3.056 F(cessed as if the)161 246 -Q 2.5(yh)-.15 G(ad been typed in manually to the)233.61 246 Q F1(telnet)2.5 E -F0(command prompt.)2.5 E F1(quit)102 264 Q F0 .114(Close an)161 264 R 2.614(yo) --.15 G(pen)208.298 264 Q F3(TELNET)2.614 E F0 .115(session and e)2.615 F(xit) --.15 E F1(telnet)2.615 E F0 2.615(.A)C 2.615(ne)376.32 264 S .115 -(nd of \214le \(in command mode\) will al-)388.375 264 R -(so close a session and e)161 276 Q(xit.)-.15 E F1(send)102 294 Q F2(arguments) -6 E F0 .024(Sends one or more special character sequences to the remote host.) -161 306 R .024(The follo)5.024 F .024(wing are the ar)-.25 F(gu-)-.18 E -(ments which may be speci\214ed \(more than one ar)161 318 Q -(gument may be speci\214ed at a time\):)-.18 E F1(abort)161 336 Q F0(Sends the) -202 336 Q F4(TELNET ABORT)2.5 E F0(\(Abort processes\) sequence.)2.5 E F1(ao) -161 354 Q F0 1.15(Sends the)202 354 R F4 1.151(TELNET AO)3.651 F F0 1.151 -(\(Abort Output\) sequence, which should cause the remote)3.651 F -(system to \215ush all output)202 366 Q/F5 10/Times-Italic@0 SF(fr)2.5 E(om) --.45 E F0(the remote system)2.5 E F5(to)2.5 E F0(the user')2.5 E 2.5(st)-.55 G -(erminal.)454.89 366 Q F1(ayt)161 384 Q F0 1.18(Sends the)202 384 R F4 1.18 -(TELNET AYT)3.68 F F0 1.18(\(Are Y)3.68 F 1.18 -(ou There\) sequence, to which the remote system)-1.1 F -(may or may not choose to respond.)202 396 Q F1(brk)161 414 Q F0 .47(Sends the) -202 414 R F4 .47(TELNET BRK)2.97 F F0 .47(\(Break\) sequence, which may ha)2.97 -F .77 -.15(ve s)-.2 H .47(igni\214cance to the re-).15 F(mote system.)202 426 Q -F1(ec)161 444 Q F0 .245(Sends the)202 444 R F4 .245(TELNET EC)2.745 F F0 .244 -(\(Erase Character\) sequence, which should cause the remote)2.745 F -(system to erase the last character entered.)202 456 Q F1(el)161 474 Q F0 .385 -(Sends the)202 474 R F4 .385(TELNET EL)2.885 F F0 .385 -(\(Erase Line\) sequence, which should cause the remote sys-)2.885 F -(tem to erase the line currently being entered.)202 486 Q F1(eof)161 504 Q F0 -(Sends the)202 504 Q F4(TELNET EOF)2.5 E F0(\(End Of File\) sequence.)2.5 E F1 -(eor)161 522 Q F0(Sends the)202 522 Q F4(TELNET EOR)2.5 E F0 -(\(End of Record\) sequence.)2.5 E F1(escape)161 540 Q F0(Sends the current)5 E -F1(telnet)2.5 E F0(escape character \(initially `)2.5 E(`^')-.74 E('\).)-.74 E -F1(ga)161 558 Q F0 .855(Sends the)202 558 R F4 .855(TELNET GA)3.355 F F0 .855 -(\(Go Ahead\) sequence, which lik)3.355 F .855(ely has no signi\214cance to)-.1 -F(the remote system.)202 570 Q F1(getstatus)161 588 Q F0 1.713 -(If the remote side supports the)202 600 R F4 1.713(TELNET STATUS)4.213 F F0 -(command,)4.213 E F1(getstatus)4.213 E F0(will)4.213 E(send the subne)202 612 Q -(gotiation to request that the serv)-.15 E(er send its current option status.) --.15 E F1(ip)161 630 Q F0 1.355(Sends the)202 630 R F4 1.355(TELNET IP)3.855 F -F0 1.354(\(Interrupt Process\) sequence, which should cause the re-)3.855 F -(mote system to abort the currently running process.)202 642 Q F1(nop)161 660 Q -F0(Sends the)202 660 Q F4(TELNET NOP)2.5 E F0(\(No OPeration\) sequence.)2.5 E -F1(susp)161 678 Q F0(Sends the)202 678 Q F4(TELNET SUSP)2.5 E F0 -(\(SUSPend process\) sequence.)2.5 E(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G -(istrib)132.57 750 Q 95.71(ution February)-.2 F(3, 1994)2.5 E(5)535 750 Q EP -%%Page: 6 6 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Courier-Bold@0 SF(synch) -161 96 Q F0 .65(Sends the)202 96 R/F2 10/Courier@0 SF .651(TELNET SYNCH)3.151 F -F0 3.151(sequence. This)3.151 F .651(sequence causes the remote system to)3.151 -F .777(discard all pre)202 108 R .777(viously typed \(b)-.25 F .777 -(ut not yet read\) input.)-.2 F .776(This sequence is sent as)5.777 F/F3 9 -/Times-Roman@0 SF(TCP)3.276 E F0(ur)202 120 Q 1.665(gent data \(and may not w) --.18 F 1.665(ork if the remote system is a 4.2)-.1 F F3(BSD)A F0 1.666 -(system -- if it)4.166 F(doesn')202 132 Q 2.5(tw)-.18 G(ork, a lo)240.88 132 Q -(wer case `)-.25 E(`r')-.74 E 2.5('m)-.74 G(ay be echoed on the terminal\).) -336.33 132 Q F1(do)161 150 Q/F4 10/Courier-Oblique@0 SF(cmd)6 E F1(dont)161 168 -Q F4(cmd)6 E F1(will)161 186 Q F4(cmd)6 E F1(wont)161 204 Q F4(cmd)6 E F0 1.134 -(Sends the)202 216 R F2 1.133(TELNET DO)3.633 F F4(cmd)3.633 E F0(sequence.) -3.633 E F4(Cmd)6.133 E F0 1.133(can be either a decimal number be-)3.633 F .865 -(tween 0 and 255, or a symbolic name for a speci\214c)202 228 R F2(TELNET)3.365 -E F0(command.)3.365 E F4(Cmd)5.865 E F0(can)3.365 E 1.181(also be either)202 -240 R F1(help)3.681 E F0(or)3.681 E F1(?)3.681 E F0 1.18 -(to print out help information, including a list of kno)3.681 F(wn)-.25 E -(symbolic names.)202 252 Q F1(?)161 270 Q F0 -(Prints out help information for the)202 270 Q F1(send)2.5 E F0(command.)2.5 E -F1(set)102 288 Q F4(argument value)6 E F1(unset)102 306 Q F4(argument value)6 E -F0(The)161 318 Q F1(set)2.601 E F0 .101(command will set an)2.601 F 2.601(yo) --.15 G .101(ne of a number of)295.556 318 R F1(telnet)2.601 E F0 -.25(va)2.601 -G .101(riables to a speci\214c v).25 F .102(alue or to)-.25 F F2(TRUE)161 330 Q -F0 2.722(.T)C .222(he special v)196.332 330 R(alue)-.25 E F1(off)2.722 E F0 -.222(turns of)2.722 F 2.722(ft)-.25 G .222(he function associated with the v) -323.474 330 R .222(ariable, this is equi)-.25 F(v-)-.25 E .37 -(alent to using the)161 342 R F1(unset)2.87 E F0 2.871(command. The)2.87 F F1 -(unset)2.871 E F0 .371(command will disable or set to)2.871 F F2(FALSE)2.871 E -F0(an)2.871 E(y)-.15 E 1.248(of the speci\214ed functions.)161 354 R 1.248 -(The v)6.248 F 1.248(alues of v)-.25 F 1.248(ariables may be interrog)-.25 F -1.247(ated with the)-.05 F F1(display)3.747 E F0 2.886(command. The)161 366 R --.25(va)2.886 G .386(riables which may be set or unset, b).25 F .386 -(ut not toggled, are listed here.)-.2 F .387(In addi-)5.387 F .763(tion, an)161 -378 R 3.263(yo)-.15 G 3.263(ft)204.876 378 S .763(he v)214.249 378 R .763 -(ariables for the)-.25 F F1(toggle)3.263 E F0 .762(command may be e)3.263 F -.762(xplicitly set or unset using the)-.15 F F1(set)161 390 Q F0(and)2.5 E F1 -(unset)2.5 E F0(commands.)2.5 E F1(ayt)161 408 Q F0(If)202 408 Q F3(TELNET) -2.689 E F0 .189(is in localchars mode, or)2.689 F F2(LINEMODE)2.689 E F0 .189 -(is enabled, and the status character)2.689 F 1.056(is typed, a)202 420 R F2 -1.056(TELNET AYT)3.556 F F0 1.056(sequence \(see)3.556 F F1 1.056(send ayt) -3.556 F F0 1.055(preceding\) is sent to the re-)3.556 F .327(mote host.)202 432 -R .328(The initial v)5.327 F .328(alue for the "Are Y)-.25 F .328 -(ou There" character is the terminal')-1.1 F 2.828(ss)-.55 G(ta-)529.45 432 Q -(tus character)202 444 Q(.)-.55 E F1(echo)161 462 Q F0 .805(This is the v)202 -462 R .805(alue \(initially `)-.25 F(`^E')-.74 E .804('\) which, when in `)-.74 -F .804(`line by line')-.74 F 3.304('m)-.74 G .804(ode, toggles be-)474.792 462 -R .988(tween doing local echoing of entered characters \(for normal processing\ -\), and sup-)202 474 R -(pressing echoing of entered characters \(for entering, say)202 486 Q 2.5(,ap) --.65 G(assw)442.66 486 Q(ord\).)-.1 E F1(eof)161 504 Q F0(If)202 504 Q F1 -(telnet)3.864 E F0 1.364(is operating in)3.864 F F2(LINEMODE)3.864 E F0 1.364 -(or `)3.864 F 1.364(`old line by line')-.74 F 3.864('m)-.74 G 1.363 -(ode, entering this)468.114 504 R .199(character as the \214rst character on a\ - line will cause this character to be sent to the re-)202 516 R .12 -(mote system.)202 528 R .12(The initial v)5.12 F .119 -(alue of the eof character is tak)-.25 F .119(en to be the terminal')-.1 F(s) --.55 E F1(eof)2.619 E F0(character)202 540 Q(.)-.55 E F1(erase)161 558 Q F0(If) -202 558 Q F1(telnet)3.12 E F0 .62(is in)3.12 F F1(localchars)3.12 E F0 .62 -(mode \(see)3.12 F F1 -2.88(toggle localchars)3.12 F F0(belo)3.12 E(w\),)-.25 E -/F5 10/Times-Bold@0 SF(and)3.12 E F0(if)3.12 E F1(telnet)202 570 Q F0 1.385 -(is operating in `)3.885 F 1.385(`character at a time')-.74 F 3.885('m)-.74 G -1.384(ode, then when this character is)407 570 R .417(typed, a)202 582 R F2 -.418(TELNET EC)2.917 F F0 .418(sequence \(see)2.918 F F1 -3.082(send ec)2.918 F -F0(abo)2.918 E -.15(ve)-.15 G 2.918(\)i).15 G 2.918(ss)427.36 582 S .418 -(ent to the remote system.)438.058 582 R .325(The initial v)202 594 R .325 -(alue for the erase character is tak)-.25 F .325(en to be the terminal')-.1 F -(s)-.55 E F1(erase)2.825 E F0(charac-)2.825 E(ter)202 606 Q(.)-.55 E F1(escape) -161 624 Q F0 2.873(This is the)5 F F1(telnet)5.373 E F0 2.874 -(escape character \(initially `)5.373 F(`^[')-.74 E 2.874 -('\) which causes entry into)-.74 F F1(telnet)202 636 Q F0 -(command mode \(when connected to a remote system\).)2.5 E F1(flushoutput)161 -654 Q F0(If)202 666 Q F1(telnet)2.945 E F0 .445(is in)2.945 F F1(localchars) -2.945 E F0 .445(mode \(see)2.945 F F1 -3.056(toggle localchars)2.944 F F0(belo) -2.944 E .444(w\) and the)-.25 F F1(flushoutput)202 678 Q F0 .442 -(character is typed, a)2.942 F F2 .443(TELNET AO)2.943 F F0 .443 -(sequence \(see)2.943 F F1 -3.057(send ao)2.943 F F0(abo)2.943 E -.15(ve)-.15 G -(\)).15 E .314(is sent to the remote host.)202 690 R .314(The initial v)5.314 F -.314(alue for the \215ush character is tak)-.25 F .314(en to be the)-.1 F -(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q 95.71 -(ution February)-.2 F(3, 1994)2.5 E(6)535 750 Q EP -%%Page: 7 7 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R(terminal')202 96 Q(s)-.55 E/F1 -10/Courier-Bold@0 SF(flush)2.5 E F0(character)2.5 E(.)-.55 E F1(forw1)161 114 Q -(forw2)161 132 Q F0(If)202 132 Q/F2 9/Times-Roman@0 SF(TELNET)3.769 E F0 1.269 -(is operating in)3.769 F/F3 10/Courier@0 SF(LINEMODE)3.77 E F0 3.77(,t)C 1.27 -(hese are the characters that, when typed,)370.77 132 R .958 -(cause partial lines to be forw)202 144 R .958(arded to the remote system.)-.1 -F .958(The initial v)5.958 F .957(alue for the)-.25 F(forw)202 156 Q -(arding characters are tak)-.1 E(en from the terminal')-.1 E 2.5(se)-.55 G -(ol and eol2 characters.)414.23 156 Q F1(interrupt)161 174 Q F0(If)202 186 Q F1 -(telnet)2.944 E F0 .444(is in)2.944 F F1(localchars)2.944 E F0 .445(mode \(see) -2.944 F F1 -3.055(toggle localchars)2.945 F F0(belo)2.945 E .445(w\) and the) --.25 F F1(interrupt)202 198 Q F0 .642(character is typed, a)3.142 F F3 .642 -(TELNET IP)3.142 F F0 .642(sequence \(see)3.142 F F1 -2.859(send ip)3.141 F F0 -(abo)3.141 E -.15(ve)-.15 G 3.141(\)i).15 G(s)536.11 198 Q .949 -(sent to the remote host.)202 210 R .949(The initial v)5.949 F .949 -(alue for the interrupt character is tak)-.25 F .95(en to be)-.1 F -(the terminal')202 222 Q(s)-.55 E F1(intr)2.5 E F0(character)2.5 E(.)-.55 E F1 -(kill)161 240 Q F0(If)202 240 Q F1(telnet)2.95 E F0 .449(is in)2.949 F F1 -(localchars)2.949 E F0 .449(mode \(see)2.949 F F1 -3.051(toggle localchars) -2.949 F F0(belo)2.949 E(w\),)-.25 E F1(and)2.949 E F0(if)2.949 E F1(telnet)202 -252 Q F0 1.384(is operating in `)3.884 F 1.385(`character at a time')-.74 F -3.885('m)-.74 G 1.385(ode, then when this character is)406.995 252 R .418 -(typed, a)202 264 R F3 .418(TELNET EL)2.918 F F0 .418(sequence \(see)2.918 F F1 --3.082(send el)2.918 F F0(abo)2.918 E -.15(ve)-.15 G 2.918(\)i).15 G 2.918(ss) -427.362 264 S .418(ent to the remote system.)438.06 264 R(The initial v)202 276 -Q(alue for the kill character is tak)-.25 E(en to be the terminal')-.1 E(s)-.55 -E F1(kill)2.5 E F0(character)2.5 E(.)-.55 E F1(lnext)161 294 Q F0(If)202 294 Q -F1(telnet)2.597 E F0 .097(is operating in)2.597 F F3(LINEMODE)2.597 E F0 .097 -(or `)2.597 F .097(`old line by line`)-.74 F 2.597(`m)-.74 G .098 -(ode, then this charac-)454.177 294 R 1.405(ter is tak)202 306 R 1.405 -(en to be the terminal')-.1 F(s)-.55 E F1(lnext)3.904 E F0(character)3.904 E -6.404(.T)-.55 G 1.404(he initial v)422.56 306 R 1.404(alue for the lne)-.25 F -(xt)-.15 E(character is tak)202 318 Q(en to be the terminal')-.1 E(s)-.55 E F1 -(lnext)2.5 E F0(character)2.5 E(.)-.55 E F1(quit)161 336 Q F0(If)202 336 Q F1 -(telnet)2.944 E F0 .444(is in)2.944 F F1(localchars)2.944 E F0 .445(mode \(see) -2.944 F F1 -3.055(toggle localchars)2.945 F F0(belo)2.945 E .445(w\) and the) --.25 F F1(quit)202 348 Q F0 .546(character is typed, a)3.046 F F3 .545 -(TELNET BRK)3.046 F F0 .545(sequence \(see)3.045 F F1 -2.955(send brk)3.045 F -F0(abo)3.045 E -.15(ve)-.15 G 3.045(\)i).15 G 3.045(ss)516.955 348 S(ent)527.78 -348 Q .629(to the remote host.)202 360 R .629(The initial v)5.629 F .629 -(alue for the quit character is tak)-.25 F .63(en to be the termi-)-.1 F(nal') -202 372 Q(s)-.55 E F1(quit)2.5 E F0(character)2.5 E(.)-.55 E F1(reprint)161 390 -Q F0(If)202 402 Q F1(telnet)2.598 E F0 .097(is operating in)2.598 F F3 -(LINEMODE)2.597 E F0 .097(or `)2.597 F .097(`old line by line`)-.74 F 2.597(`m) --.74 G .097(ode, then this charac-)454.179 402 R .06(ter is tak)202 414 R .06 -(en to be the terminal')-.1 F(s)-.55 E F1(reprint)2.561 E F0(character)2.561 E -5.061(.T)-.55 G .061(he initial v)422.465 414 R .061(alue for the reprint)-.25 -F(character is tak)202 426 Q(en to be the terminal')-.1 E(s)-.55 E F1(reprint) -2.5 E F0(character)2.5 E(.)-.55 E F1(rlogin)161 444 Q F0 .956 -(This is the rlogin escape character)5 F 5.956(.I)-.55 G 3.456(fs)354.366 444 S -.956(et, the normal)365.042 444 R F2(TELNET)3.456 E F0 .956 -(escape character is)3.456 F .357 -(ignored unless it is preceded by this character at the be)202 456 R .358 -(ginning of a line.)-.15 F .358(This char)5.358 F(-)-.2 E(acter)202 468 Q 3.14 -(,a)-.4 G 3.14(tt)231.11 468 S .64(he be)239.81 468 R .64 -(ginning of a line follo)-.15 F .639(wed by a ".")-.25 F .639 -(closes the connection; when fol-)5.639 F(lo)202 480 Q 1.31 -(wed by a ^Z it suspends the telnet command.)-.25 F 1.311 -(The initial state is to disable the)6.311 F(rlogin escape character)202 492 Q -(.)-.55 E F1(start)161 510 Q F0 2.232(If the)202 510 R F3 2.231 -(TELNET TOGGLE-FLOW-CONTROL)4.731 F F0 2.231 -(option has been enabled, then this)4.731 F .005(character is tak)202 522 R -.005(en to be the terminal')-.1 F(s)-.55 E F1(start)2.506 E F0(character)2.506 -E 5.006(.T)-.55 G .006(he initial v)436.06 522 R .006(alue for the kill)-.25 F -(character is tak)202 534 Q(en to be the terminal')-.1 E(s)-.55 E F1(start)2.5 -E F0(character)2.5 E(.)-.55 E F1(stop)161 552 Q F0 2.232(If the)202 552 R F3 -2.231(TELNET TOGGLE-FLOW-CONTROL)4.731 F F0 2.231 -(option has been enabled, then this)4.731 F .434(character is tak)202 564 R -.434(en to be the terminal')-.1 F(s)-.55 E F1(stop)2.934 E F0(character)2.934 E -5.434(.T)-.55 G .434(he initial v)433.916 564 R .435(alue for the kill)-.25 F -(character is tak)202 576 Q(en to be the terminal')-.1 E(s)-.55 E F1(stop)2.5 E -F0(character)2.5 E(.)-.55 E F1(susp)161 594 Q F0(If)202 594 Q F1(telnet)2.576 E -F0 .076(is in)2.576 F F1(localchars)2.576 E F0 .076(mode, or)2.576 F F3 -(LINEMODE)2.576 E F0 .076(is enabled, and the)2.576 F F1(suspend)2.575 E F0 .87 -(character is typed, a)202 606 R F3 .87(TELNET SUSP)3.37 F F0 .87 -(sequence \(see)3.37 F F1 -2.63(send susp)3.37 F F0(abo)3.37 E -.15(ve)-.15 G -3.37(\)i).15 G 3.37(ss)505.48 606 S .87(ent to)516.63 606 R .246 -(the remote host.)202 618 R .246(The initial v)5.246 F .246 -(alue for the suspend character is tak)-.25 F .246(en to be the termi-)-.1 F -(nal')202 630 Q(s)-.55 E F1(suspend)2.5 E F0(character)2.5 E(.)-.55 E F1 -(tracefile)161 648 Q F0 .537(This is the \214le to which the output, caused by) -202 660 R F1(netdata)3.037 E F0(or)3.037 E F1(option)3.037 E F0 .538 -(tracing being)3.038 F F3(TRUE)202 672 Q F0 3.079(,w)C .579(ill be written.) -238.799 672 R .579(If it is set to `)5.579 F(`)-.74 E F11.666 E F0 -.74('') -1.666 G 3.078(,t).74 G .578(hen tracing information will be written)381.85 672 -R(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q 95.71 -(ution February)-.2 F(3, 1994)2.5 E(7)535 750 Q EP -%%Page: 8 8 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R(to standard output \(the def)202 -96 Q(ault\).)-.1 E/F1 10/Courier-Bold@0 SF(worderase)161 114 Q F0(If)202 126 Q -F1(telnet)2.597 E F0 .097(is operating in)2.597 F/F2 10/Courier@0 SF(LINEMODE) -2.597 E F0 .097(or `)2.597 F .097(`old line by line`)-.74 F 2.597(`m)-.74 G -.098(ode, then this charac-)454.177 126 R 1.386(ter is tak)202 138 R 1.386 -(en to be the terminal')-.1 F(s)-.55 E F1(worderase)3.885 E F0(character)3.885 -E 6.385(.T)-.55 G 1.385(he initial v)446.39 138 R 1.385(alue for the)-.25 F -.1 -(wo)202 150 S(rderase character is tak).1 E(en to be the terminal')-.1 E(s)-.55 -E F1(worderase)2.5 E F0(character)2.5 E(.)-.55 E F1(?)161 168 Q F0 -(Displays the le)202 168 Q -.05(ga)-.15 G(l).05 E F1(set)2.5 E F0(\()4.166 E F1 -(unset)1.666 E F0 4.166(\)c)1.666 G(ommands.)346.724 168 Q F1(slc)102 186 Q/F3 -10/Courier-Oblique@0 SF(state)6.383 E F0(The)5 E F1(slc)2.883 E F0 .384(comman\ -d \(Set Local Characters\) is used to set or change the state of the the speci\ -al)2.884 F 1.231(characters when the)161 198 R F2 1.231(TELNET LINEMODE)3.731 F -F0 1.231(option has been enabled.)3.731 F 1.231(Special characters are)6.231 F -.139(characters that get mapped to)161 210 R/F4 9/Times-Roman@0 SF(TELNET)2.639 -E F0 .139(commands sequences \(lik)2.639 F(e)-.1 E F1(ip)2.639 E F0(or)2.639 E -F1(quit)2.639 E F0 2.639(\)o)C 2.639(rl)488.611 210 S .14(ine editing)497.36 -210 R(characters \(lik)161 222 Q(e)-.1 E F1(erase)2.5 E F0(and)2.5 E F1(kill) -2.5 E F0(\). By def)A(ault, the local special characters are e)-.1 E(xported.) --.15 E F1(check)161 240 Q F0 -1.11(Ve)216 240 S .526 -(rify the current settings for the current special characters.)1.11 F .525 -(The remote side is)5.526 F .925(requested to send all the current special cha\ -racter settings, and if there are an)216 252 R(y)-.15 E -(discrepancies with the local side, the local side will switch to the remote v) -216 264 Q(alue.)-.25 E F1(export)161 282 Q F0 .497(Switch to the local def)216 -282 R .497(aults for the special characters.)-.1 F .496(The local def)5.496 F -.496(ault charac-)-.1 F(ters are those of the local terminal at the time when) -216 294 Q F1(telnet)2.5 E F0 -.1(wa)2.5 G 2.5(ss).1 G(tarted.)483.8 294 Q F1 -(import)161 312 Q F0 1.929(Switch to the remote def)216 312 R 1.929 -(aults for the special characters.)-.1 F 1.929(The remote def)6.929 F(ault)-.1 -E .37(characters are those of the remote system at the time when the)216 324 R -F4(TELNET)2.869 E F0(connec-)2.869 E(tion w)216 336 Q(as established.)-.1 E F1 -(?)161 354 Q F0(Prints out help information for the)216 354 Q F1(slc)2.5 E F0 -(command.)2.5 E F1(status)102 372 Q F0(Sho)161 372 Q 2.808(wt)-.25 G .308 -(he current status of)189.118 372 R F1(telnet)2.809 E F0 2.809(.T)C .309 -(his includes the peer one is connected to, as well as the)316.641 372 R -(current mode.)161 384 Q F1(toggle)102 402 Q F3(arguments ...)6 E F0 -.8(To)161 -414 S 2.112(ggle \(between).8 F F2(TRUE)4.612 E F0(and)4.612 E F2(FALSE)4.612 E -F0 4.612(\)v)C 2.112(arious \215ags that control ho)324.76 414 R(w)-.25 E F1 -(telnet)4.611 E F0 2.111(responds to)4.611 F -2.15 -.25(ev e)161 426 T 2.73 -(nts. These).25 F .23(\215ags may be set e)2.73 F .231(xplicitly to)-.15 F F2 -(TRUE)2.731 E F0(or)2.731 E F2(FALSE)2.731 E F0 .231(using the)2.731 F F1(set) -2.731 E F0(and)2.731 E F1(unset)2.731 E F0(com-)2.731 E .544(mands listed abo) -161 438 R -.15(ve)-.15 G 5.544(.M).15 G .544(ore than one ar)255.382 438 R .543 -(gument may be speci\214ed.)-.18 F .543(The state of these \215ags may)5.543 F -(be interrog)161 450 Q(ated with the)-.05 E F1(display)2.5 E F0 2.5(command. V) -2.5 F(alid ar)-1.11 E(guments are:)-.18 E F1(authdebug)161 468 Q F0 -.45(Tu)226 -468 S(rns on deb).45 E(ugging information for the authentication code.)-.2 E F1 -(autoflush)161 486 Q F0(If)226 486 Q F1(autoflush)4.407 E F0(and)4.407 E F1 -(localchars)4.407 E F0 1.907(are both)4.407 F F2(TRUE)4.407 E F0 4.407(,t)C -1.907(hen when the)451.219 486 R F1(ao)4.408 E F0 4.408(,o)C(r)536.67 486 Q F1 -(quit)226 498 Q F0 1.803(characters are recognized \(and transformed into)4.304 -F F4(TELNET)4.303 E F0(sequences;)4.303 E(see)226 510 Q F1(set)2.966 E F0(abo) -2.966 E .766 -.15(ve f)-.15 H .466(or details\),).15 F F1(telnet)2.966 E F0 -.466(refuses to display an)2.966 F 2.966(yd)-.15 G .467(ata on the user')473.89 -510 R(s)-.55 E 2.241(terminal until the remote system ackno)226 522 R 2.241 -(wledges \(via a)-.25 F F2 2.241(TELNET TIMING)4.741 F(MARK)226 534 Q F0 .496 -(option\) that it has processed those)2.996 F F4(TELNET)2.996 E F0 2.996 -(sequences. The)2.996 F .497(initial v)2.996 F(al-)-.25 E .754 -(ue for this toggle is)226 546 R F2(TRUE)3.254 E F0 .753 -(if the terminal user had not done an "stty no\215sh",)3.253 F(otherwise)226 -558 Q F2(FALSE)2.5 E F0(\(see)2.5 E F2(stty)2.5 E F0(\(1\)\).)A F1(autodecrypt) -161 576 Q F0 .556(When the)226 588 R F2 .556(TELNET ENCRYPT)3.056 F F0 .556 -(option is ne)3.056 F .556(gotiated, by def)-.15 F .557(ault the actual en-)-.1 -F .403(cryption \(decryption\) of the data stream does not start automatically) -226 600 R 5.402(.T)-.65 G .402(he au-)514.888 600 R .789(toencrypt \(autodecry\ -pt\) command states that encryption of the output \(input\))226 612 R -(stream should be enabled as soon as possible.)226 624 Q 2.87(Note: Because)226 -642 R .369(of e)2.869 F .369(xport controls, the)-.15 F F2 .369(TELNET ENCRYPT) -2.869 F F0 .369(option is not sup-)2.869 F -(ported outside the United States and Canada.)226 654 Q F1(autologin)161 672 Q -F0 4.509(If the remote side supports the)226 672 R F2 4.509 -(TELNET AUTHENTICATION)7.009 F F0(option)7.009 E F4(TELNET)226 684 Q F0 3.448 -(attempts to use it to perform automatic authentication.)5.948 F 3.447(If the) -8.447 F F2(AUTHENTICATION)226 696 Q F0 .197(option is not supported, the user') -2.697 F 2.697(sl)-.55 G .197(ogin name are propa-)454.159 696 R -.05(ga)226 708 -S .41(ted through the).05 F F2 .41(TELNET ENVIRON)2.91 F F0 2.91(option. This) -2.91 F .41(command is the same as)2.91 F(4.2 Berk)72 756 Q(ele)-.1 E 2.5(yD) --.15 G(istrib)132.57 756 Q 95.71(ution February)-.2 F(3, 1994)2.5 E(8)535 756 Q -EP -%%Page: 9 9 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R(specifying)226 96 Q/F1 10 -/Courier-Oblique@0 SF(a)2.5 E F0(option on the)2.5 E/F2 10/Courier-Bold@0 SF -(open)2.5 E F0(command.)2.5 E F2(autosynch)161 114 Q F0(If)226 114 Q F2 -(autosynch)4.854 E F0(and)4.854 E F2(localchars)4.854 E F0 2.354(are both)4.854 -F/F3 10/Courier@0 SF(TRUE)4.854 E F0 4.854(,t)C 2.354(hen when either the) -454.348 114 R F2(intr)226 126 Q F0(or)4.17 E F2(quit)4.17 E F0 1.669 -(characters is typed \(see)4.169 F F2(set)4.169 E F0(abo)4.169 E 1.969 -.15 -(ve f)-.15 H 1.669(or descriptions of the).15 F F2(intr)226 138 Q F0(and)2.925 -E F2(quit)2.925 E F0 .426(characters\), the resulting)2.925 F/F4 9 -/Times-Roman@0 SF(TELNET)2.926 E F0 .426(sequence sent is follo)2.926 F(wed) --.25 E 1.634(by the)226 150 R F3 1.634(TELNET SYNCH)4.134 F F0 4.134 -(sequence. This)4.134 F(procedure)4.134 E F2(should)4.134 E F0 1.634 -(cause the re-)4.134 F .871(mote system to be)226 162 R .871(gin thro)-.15 F -.872(wing a)-.25 F -.1(wa)-.15 G 3.372(ya).1 G .872(ll pre)385.008 162 R .872 -(viously typed input until both of)-.25 F(the)226 174 Q F4(TELNET)3.622 E F0 -1.122(sequences ha)3.622 F 1.422 -.15(ve b)-.2 H 1.121 -(een read and acted upon.).15 F 1.121(The initial v)6.121 F 1.121(alue of)-.25 -F(this toggle is)226 186 Q F3(FALSE)2.5 E F0(.)A F2(binary)161 204 Q F0 -(Enable or disable the)226 204 Q F3(TELNET BINARY)2.5 E F0 -(option on both input and output.)2.5 E F2(inbinary)161 222 Q F0 -(Enable or disable the)226 222 Q F3(TELNET BINARY)2.5 E F0(option on input.)2.5 -E F2(outbinary)161 240 Q F0(Enable or disable the)226 240 Q F3(TELNET BINARY) -2.5 E F0(option on output.)2.5 E F2(crlf)161 258 Q F0 1.415(If this is)226 258 -R F3(TRUE)3.915 E F0 3.915(,t)C 1.415(hen carriage returns will be sent as) -298.72 258 R F3()3.915 E F0 3.915(.I)C 3.915(ft)507.72 258 S 1.415 -(his is)517.745 258 R F3(FALSE)226 270 Q F0 3.26(,t)C .759 -(hen carriage returns will be send as)264.54 270 R F3()3.259 E F0 -3.259(.T)C .759(he initial v)479.292 270 R(alue)-.25 E(for this toggle is)226 -282 Q F3(FALSE)2.5 E F0(.)A F2(crmod)161 300 Q F0 -.8(To)226 300 S 1.1 -(ggle carriage return mode.).8 F 1.1 -(When this mode is enabled, most carriage re-)6.1 F .745(turn characters recei) -226 312 R -.15(ve)-.25 G 3.244(df).15 G .744 -(rom the remote host will be mapped into a carriage)329.174 312 R 1.492 -(return follo)226 324 R 1.492(wed by a line feed.)-.25 F 1.493 -(This mode does not af)6.492 F 1.493(fect those characters)-.25 F .207 -(typed by the user)226 336 R 2.707(,o)-.4 G .207(nly those recei)305.028 336 R --.15(ve)-.25 G 2.706(df).15 G .206(rom the remote host.)383.838 336 R .206 -(This mode is not)5.206 F -.15(ve)226 348 S 1.026 -(ry useful unless the remote host only sends carriage return, b).15 F 1.026 -(ut ne)-.2 F -.15(ve)-.25 G 3.526(rl).15 G(ine)527.78 348 Q 2.5(feed. The)226 -360 R(initial v)2.5 E(alue for this toggle is)-.25 E F3(FALSE)2.5 E F0(.)A F2 -(debug)161 378 Q F0 -.8(To)226 378 S .073(ggles sock).8 F .073(et le)-.1 F -.15 -(ve)-.25 G 2.573(ld).15 G(eb)314.629 378 Q .073(ugging \(useful only to the)-.2 -F F2 .072(super user)2.573 F F0 .072(\). The initial)B -.25(va)226 390 S -(lue for this toggle is).25 E F3(FALSE)2.5 E F0(.)A F2(encdebug)161 408 Q F0 --.45(Tu)226 408 S(rns on deb).45 E(ugging information for the encryption code.) --.2 E F2(localchars)161 426 Q F0 1.485(If this is)5 F F3(TRUE)3.985 E F0 3.985 -(,t)C 1.485(hen the)299 426 R F2(flush)3.985 E F0(,)A F2(interrupt)3.986 E F0 -(,)A F2(quit)3.986 E F0(,)A F2(erase)3.986 E F0 3.986(,a)C(nd)502.014 426 Q F2 -(kill)3.986 E F0 2.944(characters \(see)226 438 R F2(set)5.444 E F0(abo)5.444 E --.15(ve)-.15 G 5.443(\)a).15 G 2.943(re recognized locally)353.755 438 R 5.443 -(,a)-.65 G 2.943(nd transformed into)455.234 438 R 3.265 -(\(hopefully\) appropriate)226 450 R F4(TELNET)5.765 E F0 3.265 -(control sequences \(respecti)5.765 F -.15(ve)-.25 G(ly).15 E F2(ao)5.766 E F0 -(,)A F2(ip)5.766 E F0(,)A F2(brk)226 462 Q F0(,)A F2(ec)2.788 E F0 2.788(,a)C -(nd)271.016 462 Q F2(el)2.787 E F0 2.787(;s)C(ee)305.26 462 Q F2(send)2.787 E -F0(abo)2.787 E -.15(ve)-.15 G 2.787(\). The).15 F .287(initial v)2.787 F .287 -(alue for this toggle is)-.25 F F3(TRUE)2.787 E F0 .045(in `)226 474 R .045 -(`old line by line')-.74 F 2.546('m)-.74 G .046(ode, and)318.906 474 R F3 -(FALSE)2.546 E F0 .046(in `)2.546 F .046(`character at a time')-.74 F 2.546('m) --.74 G 2.546(ode. When)494.134 474 R(the)226 486 Q F3(LINEMODE)2.894 E F0 .394 -(option is enabled, the v)2.894 F .394(alue of)-.25 F F2(localchars)2.893 E F0 -.393(is ignored, and)2.893 F 2.388(assumed to al)226 498 R -.1(wa)-.1 G 2.388 -(ys be).1 F F3(TRUE)4.888 E F0 4.888(.I)C(f)359.5 498 Q F3(LINEMODE)4.888 E F0 -2.388(has e)4.888 F -.15(ve)-.25 G 4.888(rb).15 G 2.389(een enabled, then) -465.522 498 R F2(quit)226 510 Q F0 1.574(is sent as)4.074 F F2(abort)4.074 E F0 -4.074(,a)C(nd)338.42 510 Q F2 1.574(eof and)4.074 F F0 1.573(are sent as)4.074 -F F2 1.573(eof and)4.073 F(susp)4.073 E F0 4.073(,s)C(ee)531.12 510 Q F2(send) -226 522 Q F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F2(netdata)161 540 Q F0 -.8(To) -226 540 S .993(ggles the display of all netw).8 F .994(ork data \(in he)-.1 F -.994(xadecimal format\).)-.15 F .994(The initial)5.994 F -.25(va)226 552 S -(lue for this toggle is).25 E F3(FALSE)2.5 E F0(.)A F2(options)161 570 Q F0 -.8 -(To)226 570 S .625(ggles the display of some internal).8 F F2(telnet)3.125 E F0 -.625(protocol processing \(ha)3.125 F .625(ving to)-.2 F(do with)226 582 Q F4 -(TELNET)2.5 E F0 2.5(options\). The)2.5 F(initial v)2.5 E -(alue for this toggle is)-.25 E F3(FALSE)2.5 E F0(.)A F2(prettydump)161 600 Q -F0 .133(When the)5 F F2(netdata)2.633 E F0 .134(toggle is enabled, if)2.633 F -F2(prettydump)2.634 E F0 .134(is enabled the output)2.634 F .745(from the)226 -612 R F2(netdata)3.245 E F0 .744 -(command will be formatted in a more user readable for)3.244 F(-)-.2 E 3.199 -(mat. Spaces)226 624 R .699 -(are put between each character in the output, and the be)3.199 F(ginning)-.15 -E(of an)226 636 Q(y)-.15 E F4(TELNET)2.5 E F0 -(escape sequence is preceded by a ')2.5 E/F5 10/Symbol SF(*)A F0 2.5('t)C 2.5 -(oa)442.553 636 S(id in locating them.)454.493 636 Q F2(skiprc)161 654 Q F0 -4.589(When the skiprc toggle is)226 654 R F3(TRUE)7.089 E F0(,)A F4(TELNET) -7.089 E F0 4.589(skips the reading of the)7.089 F F3(.telnetrc)226 666 Q F0 -1.033(\214le in the users home directory when connections are opened.)3.533 F -(The initial v)226 678 Q(alue for this toggle is)-.25 E F3(FALSE.)2.5 E F0 -(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q 95.71 -(ution February)-.2 F(3, 1994)2.5 E(9)535 750 Q EP -%%Page: 10 10 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.834(TELNET \( 1 \))72 48 R(BSD Reference Manual) -258.235 48 Q -.834(TELNET \( 1 \))485.572 48 R/F1 10/Courier-Bold@0 SF -(termdata)161 96 Q F0 -.8(To)226 96 S .934 -(ggles the display of all terminal data \(in he).8 F .933(xadecimal format\).) --.15 F .933(The initial)5.933 F -.25(va)226 108 S(lue for this toggle is).25 E -/F2 10/Courier@0 SF(FALSE)2.5 E F0(.)A F1(verbose_encrypt)161 126 Q F0 1.129 -(When the)226 138 R F1(verbose_encrypt)3.629 E F0 1.13(toggle is)3.629 F F2 -(TRUE)3.63 E F0(,)A/F3 9/Times-Roman@0 SF(TELNET)3.63 E F0 1.13 -(prints out a mes-)3.63 F 1.377 -(sage each time encryption is enabled or disabled.)226 150 R 1.376 -(The initial v)6.377 F 1.376(alue for this)-.25 F 1.223(toggle is)226 162 R F2 -(FALSE.)3.723 E F0 3.723(Note: Because)3.723 F 1.224(of e)3.724 F 1.224 -(xport controls, data encryption is not)-.15 F -(supported outside of the United States and Canada.)226 174 Q F1(?)161 192 Q F0 -(Displays the le)226 192 Q -.05(ga)-.15 G(l).05 E F1(toggle)2.5 E F0(commands.) -2.5 E F1(z)102 210 Q F0(Suspend)161 210 Q F1(telnet)2.5 E F0 2.5(.T)C -(his command only w)244.5 210 Q(orks when the user is using the)-.1 E F2(csh) -2.5 E F0(\(1\).)A F1(!)102 228 Q F0([)6.833 E/F4 10/Courier-Oblique@0 SF -(command).833 E F0(]).833 E(Ex)161 240 Q .293 -(ecute a single command in a subshell on the local system.)-.15 F(If)5.292 E F1 -(command)2.792 E F0 .292(is omitted, then an)2.792 F(interacti)161 252 Q .3 --.15(ve s)-.25 H(ubshell is in).15 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1(?)102 -270 Q F0([)6.833 E F4(command).833 E F0(]).833 E 1.177(Get help.)161 282 R -.4 -(Wi)6.177 G 1.178(th no ar).4 F(guments,)-.18 E F1(telnet)3.678 E F0 1.178 -(prints a help summary)3.678 F 6.178(.I)-.65 G 3.678(fac)433.358 282 S 1.178 -(ommand is speci\214ed,)452.924 282 R F1(telnet)161 294 Q F0 -(will print the help information for just that command.)2.5 E/F5 10 -/Times-Bold@0 SF(ENVIR)72 318 Q(ONMENT)-.3 E F1(Telnet)102 330 Q F0 .666 -(uses at least the)3.166 F F2(HOME)3.166 E F0(,)A F2(SHELL)3.165 E F0(,)A F2 -(DISPLAY)3.165 E F0 3.165(,a)C(nd)326.255 330 Q F2(TERM)3.165 E F0(en)3.165 E -.665(vironment v)-.4 F 3.165(ariables. Other)-.25 F(en)3.165 E(vironment)-.4 E --.25(va)102 342 S(riables may be propag).25 E(ated to the other side via the) --.05 E F2(TELNET ENVIRON)2.5 E F0(option.)2.5 E F5(FILES)72 366 Q F2 -(~/.telnetrc)102 378 Q F0(user customized telnet startup v)5 E(alues)-.25 E F5 -(HIST)72 402 Q(OR)-.18 E(Y)-.35 E F0(The)102 414 Q F1(Telnet)2.5 E F0 -(command appeared in 4.2)2.5 E F3(BSD)A F0(.)A F5(NO)72 438 Q(TES)-.4 E F0 -(On some remote systems, echo has to be turned of)102 450 Q 2.5(fm)-.25 G -(anually when in `)316.44 450 Q(`old line by line')-.74 E 2.5('m)-.74 G(ode.) -465.22 450 Q .691(In `)102 468 R .691(`old line by line')-.74 F 3.191('m)-.74 G -.691(ode or)198.685 468 R F2(LINEMODE)3.191 E F0 .691(the terminal')3.191 F(s) --.55 E F1(eof)3.191 E F0 .691(character is only recognized \(and sent to the) -3.191 F(remote system\) when it is the \214rst character on a line.)102 480 Q -(4.2 Berk)72 750 Q(ele)-.1 E 2.5(yD)-.15 G(istrib)132.57 750 Q 95.71 -(ution February)-.2 F(3, 1994)2.5 E(10)530 750 Q EP -%%Trailer -end -%%EOF diff --git a/appl/telnet/telnet/telnet.0.txt b/appl/telnet/telnet/telnet.0.txt deleted file mode 100644 index 0d644d307..000000000 --- a/appl/telnet/telnet/telnet.0.txt +++ /dev/null @@ -1,722 +0,0 @@ -TELNET(1) BSD Reference Manual TELNET(1) - -NNAAMMEE - tteellnneett - user interface to the TELNET protocol - -SSYYNNOOPPSSIISS - tteellnneett [--88EEFFKKLLaaccddffrrxx] [--SS _t_o_s] [--XX _a_u_t_h_t_y_p_e] [--ee _e_s_c_a_p_e_c_h_a_r] [--kk _r_e_a_l_m] - [--ll _u_s_e_r] [--nn _t_r_a_c_e_f_i_l_e] [_h_o_s_t [port]] - -DDEESSCCRRIIPPTTIIOONN - The tteellnneett command is used to communicate with another host using the - TELNET protocol. If tteellnneett is invoked without the _h_o_s_t argument, it en- - ters command mode, indicated by its prompt (tteellnneett>>). In this mode, it - accepts and executes the commands listed below. If it is invoked with - arguments, it performs an ooppeenn command with those arguments. - - Options: - - --88 Specifies an 8-bit data path. This causes an attempt to negoti- - ate the TELNET BINARY option on both input and output. - - --EE Stops any character from being recognized as an escape character. - - --FF If Kerberos V5 authentication is being used, the --FF option allows - the local credentials to be forwarded to the remote system, in- - cluding any credentials that have already been forwarded into the - local environment. - - --KK Specifies no automatic login to the remote system. - - --LL Specifies an 8-bit data path on output. This causes the BINARY - option to be negotiated on output. - - --SS _t_o_s Sets the IP type-of-service (TOS) option for the telnet connec- - tion to the value _t_o_s_, which can be a numeric TOS value or, on - systems that support it, a symbolic TOS name found in the - /etc/iptos file. - - --XX _a_t_y_p_e - Disables the _a_t_y_p_e type of authentication. - - --aa Attempt automatic login. Currently, this sends the user name via - the USER variable of the ENVIRON option if supported by the re- - mote system. The name used is that of the current user as re- - turned by getlogin(2) if it agrees with the current user ID, oth- - erwise it is the name associated with the user ID. - - --cc Disables the reading of the user's _._t_e_l_n_e_t_r_c file. (See the - ttooggggllee sskkiipprrcc command on this man page.) - - --dd Sets the initial value of the ddeebbuugg toggle to TRUE - - --ee _e_s_c_a_p_e _c_h_a_r - Sets the initial tteellnneett tteellnneett escape character to _e_s_c_a_p_e _c_h_a_r_. - If _e_s_c_a_p_e _c_h_a_r is omitted, then there will be no escape charac- - ter. - - --ff If Kerberos V5 authentication is being used, the --ff option allows - the local credentials to be forwarded to the remote system. - - --kk _r_e_a_l_m - If Kerberos authentication is being used, the --kk option requests - that telnet obtain tickets for the remote host in realm realm in- - stead of the remote host's realm, as determined by - - krb_realmofhost(3). - - --ll _u_s_e_r - When connecting to the remote system, if the remote system under- - stands the ENVIRON option, then _u_s_e_r will be sent to the remote - system as the value for the variable USER. This option implies - the --aa option. This option may also be used with the ooppeenn com- - mand. - - --nn _t_r_a_c_e_f_i_l_e - Opens _t_r_a_c_e_f_i_l_e for recording trace information. See the sseett - ttrraacceeffiillee command below. - - --rr Specifies a user interface similar to rlogin(1). In this mode, - the escape character is set to the tilde (~) character, unless - modified by the -e option. - - --xx Turns on encryption of the data stream if possible. This option - is not available outside of the United States and Canada. - - _h_o_s_t Indicates the official name, an alias, or the Internet address of - a remote host. - - _p_o_r_t Indicates a port number (address of an application). If a number - is not specified, the default tteellnneett port is used. - - When in rlogin mode, a line of the form ~. disconnects from the remote - host; ~ is the telnet escape character. Similarly, the line ~^Z suspends - the telnet session. The line ~^] escapes to the normal telnet escape - prompt. - - Once a connection has been opened, tteellnneett will attempt to enable the - TELNET LINEMODE option. If this fails, then tteellnneett will revert to one of - two input modes: either ``character at a time'' or ``old line by line'' - depending on what the remote system supports. - - When LINEMODE is enabled, character processing is done on the local sys- - tem, under the control of the remote system. When input editing or char- - acter echoing is to be disabled, the remote system will relay that infor- - mation. The remote system will also relay changes to any special charac- - ters that happen on the remote system, so that they can take effect on - the local system. - - In ``character at a time'' mode, most text typed is immediately sent to - the remote host for processing. - - In ``old line by line'' mode, all text is echoed locally, and (normally) - only completed lines are sent to the remote host. The ``local echo char- - acter'' (initially ``^E'') may be used to turn off and on the local echo - (this would mostly be used to enter passwords without the password being - echoed). - - If the LINEMODE option is enabled, or if the llooccaallcchhaarrss toggle is TRUE - (the default for ``old line by line``; see below), the user's qquuiitt, iinnttrr, - and fflluusshh characters are trapped locally, and sent as TELNET protocol se- - quences to the remote side. If LINEMODE has ever been enabled, then the - user's ssuusspp and eeooff are also sent as TELNET protocol sequences, and qquuiitt - is sent as a TELNET ABORT instead of BREAK There are options (see ttooggggllee - aauuttoofflluusshh and ttooggggllee aauuttoossyynncchh below) which cause this action to flush - subsequent output to the terminal (until the remote host acknowledges the - TELNET sequence) and flush previous terminal input (in the case of qquuiitt - and iinnttrr). - - While connected to a remote host, tteellnneett command mode may be entered by - typing the tteellnneett ``escape character'' (initially ``^]''). When in com- - mand mode, the normal terminal editing conventions are available. - - The following tteellnneett commands are available. Only enough of each command - to uniquely identify it need be typed (this is also true for arguments to - the mmooddee, sseett, ttooggggllee, uunnsseett, ssllcc, eennvviirroonn, and ddiissppllaayy commands). - - aauutthh _a_r_g_u_m_e_n_t _._._. - The auth command manipulates the information sent through the - TELNET AUTHENTICATE option. Valid arguments for the auth com- - mand are as follows: - - ddiissaabbllee _t_y_p_e Disables the specified type of authentication. - To obtain a list of available types, use the - aauutthh ddiissaabbllee ?? command. - - eennaabbllee _t_y_p_e Enables the specified type of authentication. - To obtain a list of available types, use the - aauutthh eennaabbllee ?? command. - - ssttaattuuss Lists the current status of the various types of - authentication. - - cclloossee Close a TELNET session and return to command mode. - - ddiissppllaayy _a_r_g_u_m_e_n_t _._._. - Displays all, or some, of the sseett and ttooggggllee values (see be- - low). - - eennccrryypptt _a_r_g_u_m_e_n_t _._._. - The encrypt command manipulates the information sent through - the TELNET ENCRYPT option. - - Note: Because of export controls, the TELNET ENCRYPT option - is not supported outside of the United States and Canada. - - Valid arguments for the encrypt command are as follows: - - ddiissaabbllee _t_y_p_e [[iinnppuutt||oouuttppuutt]] - Disables the specified type of encryption. If - you omit the input and output, both input and - output are disabled. To obtain a list of avail- - able types, use the eennccrryypptt ddiissaabbllee ?? command. - - eennaabbllee _t_y_p_e [[iinnppuutt||oouuttppuutt]] - Enables the specified type of encryption. If - you omit input and output, both input and output - are enabled. To obtain a list of available - types, use the eennccrryypptt eennaabbllee ?? command. - - iinnppuutt This is the same as the eennccrryypptt ssttaarrtt iinnppuutt com- - mand. - - --iinnppuutt This is the same as the eennccrryypptt ssttoopp iinnppuutt com- - mand. - - oouuttppuutt This is the same as the eennccrryypptt ssttaarrtt oouuttppuutt - command. - - --oouuttppuutt This is the same as the eennccrryypptt ssttoopp oouuttppuutt com- - mand. - - ssttaarrtt [[iinnppuutt||oouuttppuutt]] - Attempts to start encryption. If you omit iinnppuutt - and oouuttppuutt,, both input and output are enabled. - To obtain a list of available types, use the - - - eennccrryypptt eennaabbllee ?? command. - - ssttaattuuss Lists the current status of encryption. - - ssttoopp [[iinnppuutt||oouuttppuutt]] - Stops encryption. If you omit input and output, - encryption is on both input and output. - - ttyyppee _t_y_p_e Sets the default type of encryption to be used - with later eennccrryypptt ssttaarrtt or eennccrryypptt ssttoopp com- - mands. - - eennvviirroonn _a_r_g_u_m_e_n_t_s_._._. - The eennvviirroonn command is used to manipulate the the variables - that my be sent through the TELNET ENVIRON option. The ini- - tial set of variables is taken from the users environment, - with only the DISPLAY and PRINTER variables being exported by - default. The USER variable is also exported if the --aa or --ll - options are used. - Valid arguments for the eennvviirroonn command are: - - ddeeffiinnee _v_a_r_i_a_b_l_e _v_a_l_u_e - Define the variable _v_a_r_i_a_b_l_e to have a value of - _v_a_l_u_e_. Any variables defined by this command are - automatically exported. The _v_a_l_u_e may be enclosed - in single or double quotes so that tabs and spaces - may be included. - - uunnddeeffiinnee _v_a_r_i_a_b_l_e - Remove _v_a_r_i_a_b_l_e from the list of environment vari- - ables. - - eexxppoorrtt _v_a_r_i_a_b_l_e - Mark the variable _v_a_r_i_a_b_l_e to be exported to the - remote side. - - uunneexxppoorrtt _v_a_r_i_a_b_l_e - Mark the variable _v_a_r_i_a_b_l_e to not be exported un- - less explicitly asked for by the remote side. - - lliisstt List the current set of environment variables. - Those marked with a ** will be sent automatically, - other variables will only be sent if explicitly - requested. - - ?? Prints out help information for the eennvviirroonn com- - mand. - - llooggoouutt Sends the TELNET LOGOUT option to the remote side. This com- - mand is similar to a cclloossee command; however, if the remote - side does not support the LOGOUT option, nothing happens. If, - however, the remote side does support the LOGOUT option, this - command should cause the remote side to close the TELNET con- - nection. If the remote side also supports the concept of sus- - pending a user's session for later reattachment, the logout - argument indicates that you should terminate the session imme- - diately. - - mmooddee _t_y_p_e _T_y_p_e is one of several options, depending on the state of the - TELNET session. The remote host is asked for permission to go - into the requested mode. If the remote host is capable of en- - tering that mode, the requested mode will be entered. - - cchhaarraacctteerr Disable the TELNET LINEMODE option, or, if the - remote side does not understand the LINEMODE op- - - tion, then enter ``character at a time`` mode. - - lliinnee Enable the TELNET LINEMODE option, or, if the - remote side does not understand the LINEMODE op- - tion, then attempt to enter ``old-line-by-line`` - mode. - - iissiigg (--iissiigg) Attempt to enable (disable) the TRAPSIG mode of - the LINEMODE option. This requires that the - LINEMODE option be enabled. - - eeddiitt (--eeddiitt) Attempt to enable (disable) the EDIT mode of the - LINEMODE option. This requires that the - LINEMODE option be enabled. - - ssooffttttaabbss (--ssooffttttaabbss) - Attempt to enable (disable) the SOFT_TAB mode of - the LINEMODE option. This requires that the - LINEMODE option be enabled. - - lliitteecchhoo (--lliitteecchhoo) - Attempt to enable (disable) the LIT_ECHO mode of - the LINEMODE option. This requires that the - LINEMODE option be enabled. - - ?? Prints out help information for the mmooddee com- - mand. - - ooppeenn _h_o_s_t [[--ll] _u_s_e_r][--_p_o_r_t] - Open a connection to the named host. If no port number is - specified, tteellnneett will attempt to contact a TELNET server at - the default port. The host specification may be either a host - name (see hosts(5)) or an Internet address specified in the - ``dot notation'' (see inet(3)). The [--ll] option may be used - to specify the user name to be passed to the remote system via - the ENVIRON option. When connecting to a non-standard port, - tteellnneett omits any automatic initiation of TELNET options. When - the port number is preceded by a minus sign, the initial op- - tion negotiation is done. After establishing a connection, - the file _._t_e_l_n_e_t_r_c in the users home directory is opened. - Lines beginning with a # are comment lines. Blank lines are - ignored. Lines that begin without white space are the start - of a machine entry. The first thing on the line is the name - of the machine that is being connected to. The rest of the - line, and successive lines that begin with white space are as- - sumed to be tteellnneett commands and are processed as if they had - been typed in manually to the tteellnneett command prompt. - - qquuiitt Close any open TELNET session and exit tteellnneett. An end of file - (in command mode) will also close a session and exit. - - sseenndd _a_r_g_u_m_e_n_t_s - Sends one or more special character sequences to the remote - host. The following are the arguments which may be specified - (more than one argument may be specified at a time): - - aabboorrtt Sends the TELNET ABORT (Abort processes) sequence. - - aaoo Sends the TELNET AO (Abort Output) sequence, which - should cause the remote system to flush all output - _f_r_o_m the remote system _t_o the user's terminal. - - aayytt Sends the TELNET AYT (Are You There) sequence, to - which the remote system may or may not choose to re- - - - spond. - - bbrrkk Sends the TELNET BRK (Break) sequence, which may have - significance to the remote system. - - eecc Sends the TELNET EC (Erase Character) sequence, which - should cause the remote system to erase the last char- - acter entered. - - eell Sends the TELNET EL (Erase Line) sequence, which - should cause the remote system to erase the line cur- - rently being entered. - - eeooff Sends the TELNET EOF (End Of File) sequence. - - eeoorr Sends the TELNET EOR (End of Record) sequence. - - eessccaappee Sends the current tteellnneett escape character (initially - ``^''). - - ggaa Sends the TELNET GA (Go Ahead) sequence, which likely - has no significance to the remote system. - - ggeettssttaattuuss - If the remote side supports the TELNET STATUS command, - ggeettssttaattuuss will send the subnegotiation to request that - the server send its current option status. - - iipp Sends the TELNET IP (Interrupt Process) sequence, - which should cause the remote system to abort the cur- - rently running process. - - nnoopp Sends the TELNET NOP (No OPeration) sequence. - - ssuusspp Sends the TELNET SUSP (SUSPend process) sequence. - - ssyynncchh Sends the TELNET SYNCH sequence. This sequence causes - the remote system to discard all previously typed (but - not yet read) input. This sequence is sent as TCP ur- - gent data (and may not work if the remote system is a - 4.2BSD system -- if it doesn't work, a lower case - ``r'' may be echoed on the terminal). - - ddoo _c_m_d - - ddoonntt _c_m_d - - wwiillll _c_m_d - - wwoonntt _c_m_d - Sends the TELNET DO _c_m_d sequence. _C_m_d can be either a - decimal number between 0 and 255, or a symbolic name - for a specific TELNET command. _C_m_d can also be either - hheellpp or ?? to print out help information, including a - list of known symbolic names. - - ?? Prints out help information for the sseenndd command. - - sseett _a_r_g_u_m_e_n_t _v_a_l_u_e - - uunnsseett _a_r_g_u_m_e_n_t _v_a_l_u_e - The sseett command will set any one of a number of tteellnneett vari- - ables to a specific value or to TRUE. The special value ooffff - turns off the function associated with the variable, this is - equivalent to using the uunnsseett command. The uunnsseett command will - disable or set to FALSE any of the specified functions. The - values of variables may be interrogated with the ddiissppllaayy com- - mand. The variables which may be set or unset, but not tog- - gled, are listed here. In addition, any of the variables for - the ttooggggllee command may be explicitly set or unset using the - sseett and uunnsseett commands. - - aayytt If TELNET is in localchars mode, or LINEMODE is en- - abled, and the status character is typed, a TELNET AYT - sequence (see sseenndd aayytt preceding) is sent to the re- - mote host. The initial value for the "Are You There" - character is the terminal's status character. - - eecchhoo This is the value (initially ``^E'') which, when in - ``line by line'' mode, toggles between doing local - echoing of entered characters (for normal processing), - and suppressing echoing of entered characters (for en- - tering, say, a password). - - eeooff If tteellnneett is operating in LINEMODE or ``old line by - line'' mode, entering this character as the first - character on a line will cause this character to be - sent to the remote system. The initial value of the - eof character is taken to be the terminal's eeooff char- - acter. - - eerraassee If tteellnneett is in llooccaallcchhaarrss mode (see ttooggggllee llooccaallcchhaarrss - below), aanndd if tteellnneett is operating in ``character at a - time'' mode, then when this character is typed, a - TELNET EC sequence (see sseenndd eecc above) is sent to the - remote system. The initial value for the erase char- - acter is taken to be the terminal's eerraassee character. - - eessccaappee This is the tteellnneett escape character (initially ``^['') - which causes entry into tteellnneett command mode (when con- - nected to a remote system). - - fflluusshhoouuttppuutt - If tteellnneett is in llooccaallcchhaarrss mode (see ttooggggllee llooccaallcchhaarrss - below) and the fflluusshhoouuttppuutt character is typed, a - TELNET AO sequence (see sseenndd aaoo above) is sent to the - remote host. The initial value for the flush charac- - ter is taken to be the terminal's fflluusshh character. - - ffoorrww11 - - ffoorrww22 If TELNET is operating in LINEMODE, these are the - characters that, when typed, cause partial lines to be - forwarded to the remote system. The initial value for - the forwarding characters are taken from the termi- - nal's eol and eol2 characters. - - iinntteerrrruupptt - If tteellnneett is in llooccaallcchhaarrss mode (see ttooggggllee llooccaallcchhaarrss - below) and the iinntteerrrruupptt character is typed, a TELNET - IP sequence (see sseenndd iipp above) is sent to the remote - host. The initial value for the interrupt character - is taken to be the terminal's iinnttrr character. - - kkiillll If tteellnneett is in llooccaallcchhaarrss mode (see ttooggggllee llooccaallcchhaarrss - below), aanndd if tteellnneett is operating in ``character at a - time'' mode, then when this character is typed, a - TELNET EL sequence (see sseenndd eell above) is sent to the - remote system. The initial value for the kill charac- - ter is taken to be the terminal's kkiillll character. - - llnneexxtt If tteellnneett is operating in LINEMODE or ``old line by - line`` mode, then this character is taken to be the - terminal's llnneexxtt character. The initial value for the - lnext character is taken to be the terminal's llnneexxtt - character. - - qquuiitt If tteellnneett is in llooccaallcchhaarrss mode (see ttooggggllee llooccaallcchhaarrss - below) and the qquuiitt character is typed, a TELNET BRK - sequence (see sseenndd bbrrkk above) is sent to the remote - host. The initial value for the quit character is - taken to be the terminal's qquuiitt character. - - rreepprriinntt - If tteellnneett is operating in LINEMODE or ``old line by - line`` mode, then this character is taken to be the - terminal's rreepprriinntt character. The initial value for - the reprint character is taken to be the terminal's - rreepprriinntt character. - - rrllooggiinn This is the rlogin escape character. If set, the nor- - mal TELNET escape character is ignored unless it is - preceded by this character at the beginning of a line. - This character, at the beginning of a line followed by - a "." closes the connection; when followed by a ^Z it - suspends the telnet command. The initial state is to - disable the rlogin escape character. - - ssttaarrtt If the TELNET TOGGLE-FLOW-CONTROL option has been en- - abled, then this character is taken to be the termi- - nal's ssttaarrtt character. The initial value for the kill - character is taken to be the terminal's ssttaarrtt charac- - ter. - - ssttoopp If the TELNET TOGGLE-FLOW-CONTROL option has been en- - abled, then this character is taken to be the termi- - nal's ssttoopp character. The initial value for the kill - character is taken to be the terminal's ssttoopp charac- - ter. - - ssuusspp If tteellnneett is in llooccaallcchhaarrss mode, or LINEMODE is en- - abled, and the ssuussppeenndd character is typed, a TELNET - SUSP sequence (see sseenndd ssuusspp above) is sent to the re- - mote host. The initial value for the suspend charac- - ter is taken to be the terminal's ssuussppeenndd character. - - ttrraacceeffiillee - This is the file to which the output, caused by - nneettddaattaa or ooppttiioonn tracing being TRUE, will be written. - If it is set to ``--'', then tracing information will - be written to standard output (the default). - - wwoorrddeerraassee - If tteellnneett is operating in LINEMODE or ``old line by - line`` mode, then this character is taken to be the - terminal's wwoorrddeerraassee character. The initial value for - the worderase character is taken to be the terminal's - wwoorrddeerraassee character. - - ?? Displays the legal sseett (uunnsseett) commands. - - ssllcc _s_t_a_t_e The ssllcc command (Set Local Characters) is used to set or - change the state of the the special characters when the TELNET - LINEMODE option has been enabled. Special characters are - characters that get mapped to TELNET commands sequences (like - iipp or qquuiitt) or line editing characters (like eerraassee and kkiillll). - - - By default, the local special characters are exported. - - cchheecckk Verify the current settings for the current spe- - cial characters. The remote side is requested to - send all the current special character settings, - and if there are any discrepancies with the local - side, the local side will switch to the remote - value. - - eexxppoorrtt Switch to the local defaults for the special char- - acters. The local default characters are those of - the local terminal at the time when tteellnneett was - started. - - iimmppoorrtt Switch to the remote defaults for the special - characters. The remote default characters are - those of the remote system at the time when the - TELNET connection was established. - - ?? Prints out help information for the ssllcc command. - - ssttaattuuss Show the current status of tteellnneett. This includes the peer one - is connected to, as well as the current mode. - - ttooggggllee _a_r_g_u_m_e_n_t_s _._._. - Toggle (between TRUE and FALSE) various flags that control how - tteellnneett responds to events. These flags may be set explicitly - to TRUE or FALSE using the sseett and uunnsseett commands listed - above. More than one argument may be specified. The state of - these flags may be interrogated with the ddiissppllaayy command. - Valid arguments are: - - aauutthhddeebbuugg Turns on debugging information for the authenti- - cation code. - - aauuttoofflluusshh If aauuttoofflluusshh and llooccaallcchhaarrss are both TRUE, then - when the aaoo, or qquuiitt characters are recognized - (and transformed into TELNET sequences; see sseett - above for details), tteellnneett refuses to display - any data on the user's terminal until the remote - system acknowledges (via a TELNET TIMING MARK - option) that it has processed those TELNET se- - quences. The initial value for this toggle is - TRUE if the terminal user had not done an "stty - noflsh", otherwise FALSE (see stty(1)). - - aauuttooddeeccrryypptt When the TELNET ENCRYPT option is negotiated, by - default the actual encryption (decryption) of - the data stream does not start automatically. - The autoencrypt (autodecrypt) command states - that encryption of the output (input) stream - should be enabled as soon as possible. - - - Note: Because of export controls, the TELNET - ENCRYPT option is not supported outside the - United States and Canada. - - aauuttoollooggiinn If the remote side supports the TELNET - AUTHENTICATION option TELNET attempts to use it - to perform automatic authentication. If the - AUTHENTICATION option is not supported, the us- - er's login name are propagated through the - TELNET ENVIRON option. This command is the same - - - as specifying _a option on the ooppeenn command. - - aauuttoossyynncchh If aauuttoossyynncchh and llooccaallcchhaarrss are both TRUE, then - when either the iinnttrr or qquuiitt characters is typed - (see sseett above for descriptions of the iinnttrr and - qquuiitt characters), the resulting TELNET sequence - sent is followed by the TELNET SYNCH sequence. - This procedure sshhoouulldd cause the remote system to - begin throwing away all previously typed input - until both of the TELNET sequences have been - read and acted upon. The initial value of this - toggle is FALSE. - - bbiinnaarryy Enable or disable the TELNET BINARY option on - both input and output. - - iinnbbiinnaarryy Enable or disable the TELNET BINARY option on - input. - - oouuttbbiinnaarryy Enable or disable the TELNET BINARY option on - output. - - ccrrllff If this is TRUE, then carriage returns will be - sent as . If this is FALSE, then car- - riage returns will be send as . The - initial value for this toggle is FALSE. - - ccrrmmoodd Toggle carriage return mode. When this mode is - enabled, most carriage return characters re- - ceived from the remote host will be mapped into - a carriage return followed by a line feed. This - mode does not affect those characters typed by - the user, only those received from the remote - host. This mode is not very useful unless the - remote host only sends carriage return, but nev- - er line feed. The initial value for this toggle - is FALSE. - - ddeebbuugg Toggles socket level debugging (useful only to - the ssuuppeerr uusseerr). The initial value for this tog- - gle is FALSE. - - eennccddeebbuugg Turns on debugging information for the encryp- - tion code. - - llooccaallcchhaarrss If this is TRUE, then the fflluusshh, iinntteerrrruupptt, - qquuiitt, eerraassee, and kkiillll characters (see sseett above) - are recognized locally, and transformed into - (hopefully) appropriate TELNET control sequences - (respectively aaoo, iipp, bbrrkk, eecc, and eell; see sseenndd - above). The initial value for this toggle is - TRUE in ``old line by line'' mode, and FALSE in - ``character at a time'' mode. When the LINEMODE - option is enabled, the value of llooccaallcchhaarrss is - ignored, and assumed to always be TRUE. If - LINEMODE has ever been enabled, then qquuiitt is - sent as aabboorrtt, and eeooff aanndd are sent as eeooff aanndd - ssuusspp, see sseenndd above). - - nneettddaattaa Toggles the display of all network data (in hex- - adecimal format). The initial value for this - toggle is FALSE. - - ooppttiioonnss Toggles the display of some internal tteellnneett pro- - tocol processing (having to do with TELNET op- - tions). The initial value for this toggle is - - FALSE. - - pprreettttyydduummpp When the nneettddaattaa toggle is enabled, if - pprreettttyydduummpp is enabled the output from the - nneettddaattaa command will be formatted in a more user - readable format. Spaces are put between each - character in the output, and the beginning of - any TELNET escape sequence is preceded by a '*' - to aid in locating them. - - sskkiipprrcc When the skiprc toggle is TRUE, TELNET skips the - reading of the _._t_e_l_n_e_t_r_c file in the users home - directory when connections are opened. The ini- - tial value for this toggle is FALSE. - - tteerrmmddaattaa Toggles the display of all terminal data (in - hexadecimal format). The initial value for this - toggle is FALSE. - - vveerrbboossee__eennccrryypptt - When the vveerrbboossee__eennccrryypptt toggle is TRUE, TELNET - prints out a message each time encryption is en- - abled or disabled. The initial value for this - toggle is FALSE. Note: Because of export con- - trols, data encryption is not supported outside - of the United States and Canada. - - ?? Displays the legal ttooggggllee commands. - - zz Suspend tteellnneett. This command only works when the user is using - the csh(1). - - !! [_c_o_m_m_a_n_d] - Execute a single command in a subshell on the local system. - If ccoommmmaanndd is omitted, then an interactive subshell is in- - voked. - - ?? [_c_o_m_m_a_n_d] - Get help. With no arguments, tteellnneett prints a help summary. - If a command is specified, tteellnneett will print the help informa- - tion for just that command. - -EENNVVIIRROONNMMEENNTT - TTeellnneett uses at least the HOME, SHELL, DISPLAY, and TERM environment vari- - ables. Other environment variables may be propagated to the other side - via the TELNET ENVIRON option. - -FFIILLEESS - ~/.telnetrc user customized telnet startup values - -HHIISSTTOORRYY - The TTeellnneett command appeared in 4.2BSD. - -NNOOTTEESS - On some remote systems, echo has to be turned off manually when in ``old - line by line'' mode. - - In ``old line by line'' mode or LINEMODE the terminal's eeooff character is - only recognized (and sent to the remote system) when it is the first - character on a line. - -4.2 Berkeley Distribution June 1, 1994 11