Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LrdKw-00029Q-13 for mharc-grub-devel@gnu.org; Wed, 08 Apr 2009 15:21:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrdKu-00026s-Fr for grub-devel@gnu.org; Wed, 08 Apr 2009 15:21:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrdKp-0001wn-Pg for grub-devel@gnu.org; Wed, 08 Apr 2009 15:21:23 -0400 Received: from [199.232.76.173] (port=42782 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrdKp-0001wU-GQ for grub-devel@gnu.org; Wed, 08 Apr 2009 15:21:19 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:64002) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrdKp-0003ES-1O for grub-devel@gnu.org; Wed, 08 Apr 2009 15:21:19 -0400 Received: from [85.180.38.77] (e180038077.adsl.alicedsl.de [85.180.38.77]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MKv1o-1LrdKo0JbX-000k0g; Wed, 08 Apr 2009 21:21:18 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <49DCF533.6050809@linux.vnet.ibm.com> References: <49DCF533.6050809@linux.vnet.ibm.com> Content-Type: text/plain Date: Wed, 08 Apr 2009 21:21:17 +0200 Message-Id: <1239218477.4827.18.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19ULu+4Zb257gxj+r6Az34AakVNyWfyv8YtVIy U0iJNBG5wGPZqAYEnPVxosbdW/bX/HivMd34wyNJj2MhyONqJ/ 7rbMdud1qEgo9LegDdoiA== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] add clear screen command 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: Wed, 08 Apr 2009 19:21:24 -0000 Am Mittwoch, den 08.04.2009, 16:04 -0300 schrieb Carlos Roberto do Nascimento Costa: > Hello, > > This simple patch will add a new command to clear the terminal screen. Very > useful on the command-line. > Hello, + * Copyright (C) 2003,2007 Free Software Foundation, Inc. + * Copyright (C) 2003 NIIBE Yutaka This should be just `Copyright (C) 2009 Free Software Foundation, Inc.', because it's a new file from this year. + (void)mod; /* To stop warning. */ + cmd = grub_register_command ("clear", grub_cmd_clear, + 0, "Clear the terminal screen."); I think there shouldn't be a `0' but `GRUB_COMMAND_FLAG_CMDLINE'. And please write a ChangeLog entry. -- Felix Zielcke