Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Nov 2002 04:34:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Nov 2002 04:34:35 -0500 Received: from ns.unibanka.lv ([193.178.151.1]:47692 "EHLO ns.unibanka.lv") by vger.kernel.org with ESMTP id ; Mon, 4 Nov 2002 04:34:31 -0500 Subject: Re: [BK console] console updates. To: James Simmons , Christoph Hellwig Cc: Linux Kernel Mailing List , Linux console project , Linux Fbdev development list X-Mailer: Lotus Notes Release 5.0.4 June 8, 2000 Message-ID: From: Aivils Stoss Date: Mon, 4 Nov 2002 11:40:39 +0200 X-MIMETrack: Serialize by Router on lotus/UNIBANKA/LV(Release 5.0.5 |September 22, 2000) at 2002.11.04 11:40:42 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1824 Lines: 49 Fri, 1 Nov 2002 09:40:05 -0800 (PST) James Simons wrote: >> On Wed, Oct 30, 2002 at 01:56:38PM -0800, James Simmons wrote: >> > I doubt this code will go into 2.5.X but it is avaiable for anyone to play >> > with it. >> >> Why? I don't want to live another release with the old, crappy console, >> and you've been working on this during almost all of 2.4 now.. > >Give my console diff a try. > >http://phoenix.infradead.org/~jsimmons/console.diff.gz > >Its against 2.5.45. It has 3 bugs I know of. > >1) Switch back to X messes up the screen. Already fixed in the linuxconsole 2.4.X backport http://startx.times.lv/ Aivils Stoss --- linus-2.5/drivers/char/vt_ioctl.c Mon Nov 4 11:33:57 2002 +++ linus-2.5/drivers/char/vt_ioctl.c.changed Mon Nov 4 11:36:45 2002 @@ -1089,17 +1089,17 @@ int vt_ioctl(struct tty_struct *tty, str if (!tmp) { tmp = vc_allocate(vc->vt_newvt); if (!tmp) { i = vc->vt_newvt; vc->vt_newvt = -1; return i; } } - + vc->vt_newvt = -1; /* * When we actually do the console switch, * make sure we are atomic with respect to * other console switches.. */ acquire_console_sem(); complete_change_console(tmp, vc->display_fg->fg_console); release_console_sem(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/