From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Q2RLa-0008Bt-FJ for openembedded-core@lists.openembedded.org; Wed, 23 Mar 2011 17:56:46 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p2NGrxKb002367 for ; Wed, 23 Mar 2011 16:53:59 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01806-05 for ; Wed, 23 Mar 2011 16:53:55 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p2NGrthY002361 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 23 Mar 2011 16:53:55 GMT From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: <2a46643e032d11e07f6dfec471cadea8e9dba827.1300732395.git.raj.khem@gmail.com> References: <2a46643e032d11e07f6dfec471cadea8e9dba827.1300732395.git.raj.khem@gmail.com> Date: Wed, 23 Mar 2011 16:53:52 +0000 Message-ID: <1300899232.3018.31.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [PATCH V2 1/1] scripts/poky-qemu-internal: Add call to stty X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2011 17:02:23 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2011-03-21 at 11:34 -0700, Khem Raj wrote: > When qemu is booted into console with -nographics > then after exiting the terminal line settings are messed > up. This patch calls stty sane to restore the terminal > settings to default. > > stty is part of coreutils which is installed on all > host distros hence there is no need to warn about it > being available or not > > Signed-off-by: Khem Raj > --- > scripts/poky-qemu-internal | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal > index 8fd1834..556ce69 100755 > --- a/scripts/poky-qemu-internal > +++ b/scripts/poky-qemu-internal > @@ -189,6 +189,7 @@ cleanup() { > echo "poky-export-rootfs stop $ROOTFS" > poky-export-rootfs stop $ROOTFS > fi > + stty sane > } > > n1=$[ (`echo $TAP | sed 's/tap//'` * 2) + 1 ] With the recent change to the script to run: $QEMUBIN -kernel $KERNEL $QEMUOPTIONS $SERIALOPTS -no-reboot $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT --append "$KERNCMDLINE $SCRIPT_KERNEL_OPT" || stty sane is the above change still needed? Cheers, Richard