From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 8 10:21:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAB8616A420 for ; Wed, 8 Mar 2006 10:21:39 +0000 (GMT) (envelope-from matteo@freebsd.org) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 510DA43D48 for ; Wed, 8 Mar 2006 10:21:39 +0000 (GMT) (envelope-from matteo@freebsd.org) Received: from kaiser.sig11.org (82.52.126.229) by vsmtp3.tin.it (7.2.072.1) id 440584CC005404E7 for freebsd-hackers@freebsd.org; Wed, 8 Mar 2006 11:22:17 +0100 Received: by kaiser.sig11.org (Postfix, from userid 1000) id 6A8FA6309; Wed, 8 Mar 2006 11:21:31 +0100 (CET) Date: Wed, 8 Mar 2006 11:21:31 +0100 From: Matteo Riondato To: Cole Message-ID: <20060308102131.GF10760@kaiser.sig11.org> Mail-Followup-To: Matteo Riondato , Cole , freebsd-hackers@freebsd.org References: <440E0909.1010305@palisadesys.com> <20060307223708.76C4C43D45@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060307223708.76C4C43D45@mx1.FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: tty's and no login X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 10:21:39 -0000 On Wed, Mar 08, 2006 at 12:37:00AM +0200, Cole wrote: > Yeah. > > That does help quite a lot. However, I did find something regarding this called own-tty, but that > was for linux, and also written in like 1998. > http://www.canonical.org/~kragen/sw/usershell.html > > I was actually hoping to do something similar. In that I was hoping to just write a single program > to take control of the terminal and all me to use it for my input/output directly. Ive tried the > above program, but it does complain about "TIOCSCTTY: Operation not permitted". Anyone have any > ideas about what exactly needs to be done to get the own-tty.c program to function correctly under > FreeBSD? Is watch(8) what you need? Best Regards -- Matteo Riondato FreeBSD Volunteer (http://freebsd.org) G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)