From owner-freebsd-bugs Sun Jul 14 18:00:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA23671 for bugs-outgoing; Sun, 14 Jul 1996 18:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA23625; Sun, 14 Jul 1996 18:00:02 -0700 (PDT) Date: Sun, 14 Jul 1996 18:00:02 -0700 (PDT) Message-Id: <199607150100.SAA23625@freefall.freebsd.org> To: freebsd-bugs Cc: From: J Wunsch Subject: Re: docs/1383: ppp(8) man page suggests using shell script for login shell Reply-To: J Wunsch Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR docs/1383; it has been noted by GNATS. From: J Wunsch To: marcs@worldgate.com Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/1383: ppp(8) man page suggests using shell script for login shell Date: Mon, 15 Jul 1996 02:50:26 +0200 (MET DST) As marcs@worldgate.com wrote: > #!/bin/sh > /usr/sbin/ppp -direct > telnet> environ define ENV /etc/shells > telnet> environ export ENV > telnet> open destination > Trying 192.168.0.1... > Connected to destination. > Escape character is '^]'. > > FreeBSD (destination) (ttyp0) > > login: user > Password: > Last login: Sun Jul 14 17:27:16 from source > Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > The Regents of the University of California. All rights > reserved. > > Cannot fork > $ > ------------------------------------------------------------ > > The user now has a shell. ${ENV} and the missing -f option seems to be one of the biggest mistakes of the Korn shell. The simple .cshrc and csh -f, more than 10 years old, still look much more convenient. Seems like Dave Korn suffered from severe NIH. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)