Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HjsE3-0008Ot-LS for mharc-grub-devel@gnu.org; Fri, 04 May 2007 03:29:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HjsE2-0008Og-Hg for grub-devel@gnu.org; Fri, 04 May 2007 03:29:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjsE1-0008OM-3o for grub-devel@gnu.org; Fri, 04 May 2007 03:29:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjsE1-0008OJ-0A for grub-devel@gnu.org; Fri, 04 May 2007 03:29:09 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hjs7O-0002tL-L3 for grub-devel@gnu.org; Fri, 04 May 2007 03:22:18 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hjs7N-0003Ja-MU for grub-devel@gnu.org; Fri, 04 May 2007 09:22:17 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1Hjs8Q-00046V-85 for grub-devel@gnu.org; Fri, 04 May 2007 09:23:22 +0200 Date: Fri, 4 May 2007 09:23:22 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070504072322.GB9600@aragorn> References: <20070503185011.GA23556@aragorn> <20070503190519.GA24149@aragorn> <200705032346.17068.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705032346.17068.okuji@enbug.org> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: [PATCH] terminal is not set back to console X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2007 07:29:10 -0000 On Thu, May 03, 2007 at 11:46:16PM +0200, Yoshinori K. Okuji wrote: > On Thursday 03 May 2007 21:05, Robert Millan wrote: > > On Thu, May 03, 2007 at 08:50:11PM +0200, Robert Millan wrote: > > > When using gfxterm, and booting a kernel in this mode, Linux won't be > > > able to print anything to the console. This patch fixes it so that > > > terminal is set back to normal console during deinitialisation. > > > > > > Tested and known to work, although I'm not 1:1 sure if this is the right > > > place to do it. > > > > Btw, should other platforms do the same? > > Do you mean other terminals? Generally, yes. If you don' have any good reason, > it is always nice to reset states to the original. No, I really mean other platforms (i386/efi, etc). My patch sets console as the default terminal when unloading it. It doesn't set state back to what it was before loading console. If other terminals did the same, results would be undefined. -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.