Date: Sun, 14 Jul 1996 18:00:02 -0700 (PDT) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-bugs Subject: Re: docs/1383: ppp(8) man page suggests using shell script for login shell Message-ID: <199607150100.SAA23625@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/1383; it has been noted by GNATS. From: J Wunsch <j@uriah.heep.sax.de> 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607150100.SAA23625>