From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 21:01:19 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AACA16A41F for ; Thu, 17 Nov 2005 21:01:19 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from grog.secure-computing.net (grog.secure-computing.net [216.243.161.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93CF843D53 for ; Thu, 17 Nov 2005 21:01:18 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.2] (snipe.secure-computing.net [216.243.161.77]) (authenticated bits=0) by grog.secure-computing.net (8.13.1/8.13.1) with ESMTP id jAHL1mNL033522 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Thu, 17 Nov 2005 15:01:48 -0600 (CST) (envelope-from ecrist@secure-computing.net) DomainKey-Signature: a=rsa-sha1; s=grog; d=secure-computing.net; c=nofws; q=dns; h=in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to:x-mailer:x-spam-status:x-spam-checker-version; b=NPWOV/vrbkHCHlfSpUePKQOFgzHUHzWhh0klDF9GKWOulrFMrLefHRNN1HWHQrrMn NscJjjtDGb72S2DbYHHJw== In-Reply-To: <20051117113621.182523e1.atissita@4nets.lv> References: <20051117113621.182523e1.atissita@4nets.lv> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <85E43957-B95F-4DFE-9B5D-66B23D3D195B@secure-computing.net> Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Thu, 17 Nov 2005 15:01:07 -0600 To: Atis X-Mailer: Apple Mail (2.746.2) X-Spam-Status: No, score=-4.4 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grog.secure-computing.net Cc: freebsd-questions@freebsd.org Subject: Re: switching terminals X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 21:01:19 -0000 Try watch. On Nov 17, 2005, at 3:36 AM, Atis wrote: > > Is the following possible? > > I log into a computer, and by executing "ps" see that > there's some program "xx" reading and writing to/from a > terminal called /dev/ttyp3. > > The controlling terminal for my current processes, however, > is /dev/ttyp2. > > Now, can I make the program xx change its terminal so > that it starts writing to /dev/ttyp2 and its output > magically appears in front of me? > > > Atis > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > ----- Eric F Crist Secure Computing Networks http://www.secure-computing.net