From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 7BC793EABA for ; Mon, 25 Mar 2002 09:07:31 -0500 (EST) Received: from lacrosse.corp.redhat.com (IDENT:root@lacrosse.corp.redhat.com [172.16.52.154]) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id g2PE7Vm00480 for ; Mon, 25 Mar 2002 09:07:31 -0500 Received: (from mail@localhost) by lacrosse.corp.redhat.com (8.11.6/8.9.3) id g2PE7V217256 for blinux-list@listman.redhat.com; Mon, 25 Mar 2002 09:07:31 -0500 Received: from localhost.localdomain (int-mx1.corp.redhat.com [172.16.52.254]) by lacrosse.corp.redhat.com (8.11.6/8.9.3) with ESMTP id g2PE7Vi17252 for ; Mon, 25 Mar 2002 09:07:31 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by localhost.localdomain (8.11.6/8.11.6) with SMTP id g2PE7Um00476 for ; Mon, 25 Mar 2002 09:07:30 -0500 Received: from xanadu.home (modemcable084.137-200-24.mtl.mc.videotron.ca [24.200.137.84]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g2PE5Cu30175 for ; Mon, 25 Mar 2002 09:05:12 -0500 Received: from localhost (nico@localhost) by xanadu.home (8.11.6/8.11.6) with ESMTP id g2PE7J003415; Mon, 25 Mar 2002 09:07:19 -0500 X-Authentication-Warning: xanadu.home: nico owned process doing -bs Date: Mon, 25 Mar 2002 09:07:18 -0500 (EST) From: Nicolas Pitre X-X-Sender: nico@xanadu.home To: Dave Mielke Cc: blinux-list@redhat.com Subject: re: virtual dumbness In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: On Mon, 25 Mar 2002, Dave Mielke wrote: > You can, somewhat simplistically, think of each virtual console as being the > root of an entirely different process tree. You're starting a shell in virtual > console 1 (by starting it from rc.local), and sending all of the output from > that sehll (and its descendant processes) to the VB2+. If I'm not mistaken, the VB2+ sits on a serial port. That serial port is totally separae from virtual consoles. The serial port can be a "console" of its own. However, Linux presents a console abstraction for the computer's video output and keyboard input. The fact that they are called virtual consoles is because the kernel fakles multiple console terminals but all multiplexed on the same screen and keyboard. Therefore, if a process (or better yet a getty) is started on a serial port, then it is considered as yet another console separate from the others. To multiplex multiple "consoles" over a serial port, then the only solution is to use the 'screen' program. More on that shell started from rc.local: this is really not the best way to handle this. Instead, the following line should be added to /etc/inittab: S0:12345:respawn:/sbin/getty ttyS0 9600 vt100 or, if agetty is installed on your system instead of getty: S0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 One of those lines, along with the already existing ones for the virtual consoles, will add another console device to the existing ones, i.e. through the serial port. All console signals (CTRL-Z & al) will work without any trouble, etc. Nicolas