From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: vimml@selgrad.org Newsgroups: gmane.lisp.guile.user Subject: Re: scm_shell in C-Thread - Quit vs. Terminal Corruption Date: Sat, 17 Oct 2009 19:43:47 +0200 Message-ID: <20091017174347.GB5441@shoikan> References: <20091016190925.GA26534@shoikan> <3ae3aa420910161949q2a683ce3m2957e061e1814441@mail.gmail.com> <8763aetck8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255801570 5425 80.91.229.12 (17 Oct 2009 17:46:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Oct 2009 17:46:10 +0000 (UTC) Cc: guile-user@gnu.org To: Ludovic =?iso-8859-1?Q?Court=E8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Oct 17 19:46:00 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MzDJz-0000ay-Q0 for guile-user@m.gmane.org; Sat, 17 Oct 2009 19:44:04 +0200 Original-Received: from localhost ([127.0.0.1]:54880 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzDJy-0003g4-VV for guile-user@m.gmane.org; Sat, 17 Oct 2009 13:44:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MzDJu-0003eI-1N for guile-user@gnu.org; Sat, 17 Oct 2009 13:43:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MzDJp-0003XM-AV for guile-user@gnu.org; Sat, 17 Oct 2009 13:43:57 -0400 Original-Received: from [199.232.76.173] (port=37358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MzDJp-0003XE-89 for guile-user@gnu.org; Sat, 17 Oct 2009 13:43:53 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:36274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MzDJn-0008UC-O2; Sat, 17 Oct 2009 13:43:51 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id B30BA126C1727; Sat, 17 Oct 2009 19:43:50 +0200 (CEST) Original-Received: from [84.56.122.80] (helo=localhost) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #314) id 1MzDJm-0006Gg-00; Sat, 17 Oct 2009 19:43:50 +0200 Content-Disposition: inline In-Reply-To: <8763aetck8.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Sender: kai.selgrad@web.de X-Provags-ID: V01U2FsdGVkX1/5k4kFkLezOIkQkiBrNngZYuBkoPPdeBfTOfoH NhN0XPkOeGy8OoGp/B6ZKUUGwWOfPyBj6l/aQ6FIBkxxQnj76O nNPRPYYhc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7446 Archived-At: Hej, thank you both :) > >> shellprompt ~ $ shellprompt ~ $ shellprompt ~ $ > > > > I didn't quite understand everything, Ok, that was a little cryptic, just to clarify myself, I meant: shellprompt ~ $ echo "hello" hello shellprompt ~ $ guile myscript.scm shellprompt ~ $ At this point hittig return does no longer break lines, thus resulting in shellprompt ~ $ shellprompt ~ $ shellprompt ~ $ I hope it is clearer now :) > > "stty sane" should fix this problem. > Alternatively, reset(1) will return the terminal in a normal state. I was actually hoping to find out how to avoid the situation at all, but knowing this the testing should be more convenient now :) Kai.