From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: scm_shell in C-Thread - Quit vs. Terminal Corruption
Date: Sat, 17 Oct 2009 14:52:43 +0200 [thread overview]
Message-ID: <87oco6rxlw.fsf@gnu.org> (raw)
In-Reply-To: 20091016190925.GA26534@shoikan
Hi,
vimml@selgrad.org writes:
> - Is there a better way to tell the scheme-thread to terminate?
You could use a condition variable (info "(guile) Mutexes and Condition
Variables").
> - Why does the code given above mess with my terminal?
I don’t know. This happens sometimes with ncurses applications that
fail to reset the terminal state upon exit, or generally applications
that use tcsetattr(3) without the ‘ECHO’ flag (e.g., command line
programs asking for a password).
Thanks,
Ludo’.
prev parent reply other threads:[~2009-10-17 12:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-16 19:09 scm_shell in C-Thread - Quit vs. Terminal Corruption vimml
2009-10-17 2:42 ` Linas Vepstas
2009-10-17 17:36 ` kai.selgrad
2009-10-18 15:05 ` Neil Jerram
2009-10-18 15:48 ` kai.selgrad
2009-10-17 2:49 ` Linas Vepstas
2009-10-17 12:44 ` Ludovic Courtès
2009-10-17 17:43 ` vimml
2009-10-17 17:47 ` vimml
2009-10-17 12:52 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oco6rxlw.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).