From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans-Werner Roitzsch Newsgroups: gmane.lisp.guile.user Subject: Re: Read characters from without newline Date: Sun, 29 Aug 2021 10:07:54 +0000 Message-ID: <36192b9d-3493-e408-855b-350ad66eafc0@posteo.net> References: <3ea2d7b2-019e-a226-9166-34edaec52fd4@posteo.de> <87lf4l5lw8.fsf@ft.bewatermyfriend.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Tim Meehan , Mike Gran , Chris Vine , ft@bewatermyfriend.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Aug 29 12:08:20 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKHjf-0009Qk-VB for guile-user@m.gmane-mx.org; Sun, 29 Aug 2021 12:08:20 +0200 Original-Received: from localhost ([::1]:33280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKHjd-00004w-VH for guile-user@m.gmane-mx.org; Sun, 29 Aug 2021 06:08:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKHjR-0008Vy-In for guile-user@gnu.org; Sun, 29 Aug 2021 06:08:05 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52983) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKHjM-0002Zl-P3 for guile-user@gnu.org; Sun, 29 Aug 2021 06:08:05 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 58267240107 for ; Sun, 29 Aug 2021 12:07:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1630231676; bh=i7YVcDQjEtS8hebjt58Pz5bvLIzNxNeSO4zpFP4N3Uk=; h=Subject:To:Cc:From:Date:From; b=StpYnYdev1D1rOXNbnH4VMKGH+m5fMiz7L25Jd/1iAsaeEbFN+6joqzqhOljZzs+s RkNCQlyN5hDuY1XlK0xAy0LyXJNLy0s+R6ReTnbOrd9ZU7s8DxyCQSEtSq1N/sjYXe ifZIw6qfebImBxXovy0L5pzlikmQXDj/MtUff7PYskJiZeoAbmOHJ12bEqR5JdgHE5 QeSKi7z0xFwhu5hC2BduZ7TDRaWz6LwVflKkN8XMfrzyccsNQIVaQ2VkbfrzFieQ+b zNb8tfCoQglqHfUJhPHcGzbs13HHM1t2sMODRU4EO2ZWDfArci01lnnnf75oCKwycr 72UgZL0OzpqMw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gy8K71SyTz6tm6; Sun, 29 Aug 2021 12:07:54 +0200 (CEST) In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=hwroitzsch@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17701 Archived-At: Thank you all for your pointers, hints and solutions! I shall try them out : ) Best regards, Zelphir On 8/29/21 1:47 AM, Tim Meehan wrote: > Second for guile-termios, I use it and like it very much (saved my bacon > with a program I was writing). > > On Sat, Aug 28, 2021 at 3:56 PM Frank Terbeck > wrote: > >> Mike Gran wrote: >> […] >>> There is a binding of tcsetattr in the (ncurses extra) library >>> in guile-ncurses, but since you just need a couple of functions, you >>> could wrap them in FFI, I suppose. >> Shameless plug: https://gitlab.com/ft/guile-termios >> >> I sort of have this ready for guix, too. But I never got around to actu- >> ally submitting it. >> >> >> Regards, Frank >> -- >> In protocol design, perfection has been reached not when there is >> nothing left to add, but when there is nothing left to take away. >> -- RFC 1925 >> >>