unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 57095@debbugs.gnu.org, Josselin Poiret <dev@jpoiret.xyz>,
	Csepp <raingloom@riseup.net>
Subject: bug#57095: 'terminal-window-size' throws ENOTTY ("Inappropriate ioctl for device")
Date: Fri, 2 Sep 2022 20:14:44 +0200	[thread overview]
Message-ID: <11388f64-eb5f-6f87-78b4-494a0529f8bb@telenet.be> (raw)
In-Reply-To: <87mtbixhh8.fsf@gnu.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 497 bytes --]


On 02-09-2022 11:17, Ludovic Courtès wrote:
> [...]
>
> What’s frustrating is that I can’t think of a way to work around it,
> except by changing ‘terminal-columns’ & co. to not use exceptions (or
> introducing a variant that does that).
>
> Thoughts?

Exception handlers do not cross process boundaries. Maybe run the inner 
(catch ...) or (with-exception-handle ...) or whatever is used here in a 
separate thread + wait for the thread to return?

Greetings,
Maxime.


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

      reply	other threads:[~2022-09-02 18:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 23:06 bug#57095: another "inappropriate ioctl" bug :) Csepp
2022-08-10 13:43 ` Josselin Poiret via Bug reports for GNU Guix
2022-08-10 14:53   ` Ludovic Courtès
2022-09-01 21:04   ` bug#57095: 'terminal-window-size' throws ENOTTY ("Inappropriate ioctl for device") Ludovic Courtès
2022-09-01 21:21     ` Maxime Devos
2022-09-02  9:17       ` Ludovic Courtès
2022-09-02 18:14         ` Maxime Devos [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://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11388f64-eb5f-6f87-78b4-494a0529f8bb@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=57095@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=ludo@gnu.org \
    --cc=raingloom@riseup.net \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).