From owner-freebsd-arch Fri Aug 11 18:17: 3 2000 Delivered-To: freebsd-arch@freebsd.org Received: from smtp.bsdhome.com (unknown [24.25.2.13]) by hub.freebsd.org (Postfix) with ESMTP id E0FB037BA48 for ; Fri, 11 Aug 2000 18:17:00 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from vger.bsdhome.com (vger [192.168.220.2]) by smtp.bsdhome.com (8.9.3/8.9.3) with ESMTP id VAA00784; Fri, 11 Aug 2000 21:16:47 -0400 (EDT) (envelope-from bsd@bsdhome.com) Received: from localhost (bsd@localhost) by vger.bsdhome.com (8.9.3/8.9.3) with ESMTP id VAA00939; Fri, 11 Aug 2000 21:16:46 -0400 (EDT) (envelope-from bsd@vger.bsdhome.com) Date: Fri, 11 Aug 2000 21:16:16 -0400 (EDT) From: Brian Dean To: Brian Somers Cc: freebsd-arch@FreeBSD.ORG Subject: Re: isatty() reports false results In-Reply-To: <200008102316.AAA29996@hak.lan.Awfulhak.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 11 Aug 2000, Brian Somers wrote: > IMHO pppd's mucking about with ptys is evil. This whole thing is > much easier to do from ppp(8), by simply using ``set device "!ssh > blah ppp -direct label"'', you get ppp interacting with ssh via a > socketpair(). Perhaps. I haven't tried this method. I'm a long time user of 'pppd' and tend to stick with what I know and what I've had success with previously. Now that I've done a pretty close read of your man-page for ppp, I may give this a try and see how it works out. > Having said that, can't pppd do it by just using ``ssh -t blah'' ? I didn't find a way to do this. The '-t' option only instructs the local ssh client to request that the remote sshd server allocate a pty for the command that it spawns, but otherwise doesn't really do anything on the local side. Thanks for the tip on using 'set device "!foo"'. I kind'a like that :) You may have a convert yet! -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message