From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 09:34:29 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 D113416A41F for ; Thu, 17 Nov 2005 09:34:29 +0000 (GMT) (envelope-from atissita@4nets.lv) Received: from mail.4nets.lv (126-4.zlt1.4nets.lv [217.199.126.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4795043D45 for ; Thu, 17 Nov 2005 09:34:28 +0000 (GMT) (envelope-from atissita@4nets.lv) Received: from localhost (4nets.lv [127.0.0.1]) by mail.4nets.lv (Postfix) with ESMTP id 2FBE9B3C083 for ; Thu, 17 Nov 2005 11:27:04 +0200 (EET) Received: from mail.4nets.lv ([127.0.0.1]) by localhost (mail.4nets.lv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06220-04 for ; Thu, 17 Nov 2005 11:27:03 +0200 (EET) Received: from plausha.net (unknown [217.199.123.36]) by mail.4nets.lv (Postfix) with SMTP id C955BB3C082 for ; Thu, 17 Nov 2005 11:27:03 +0200 (EET) Date: Thu, 17 Nov 2005 11:36:21 +0200 From: Atis To: freebsd-questions@freebsd.org Message-Id: <20051117113621.182523e1.atissita@4nets.lv> X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at 4nets.lv Subject: 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 09:34:29 -0000 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