emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS


From: Alain Schneble
Subject: Re: Asynchronous DNS
Date: Mon, 15 Feb 2016 16:04:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt)

Eli Zaretskii <address@hidden> writes:

>> From: Alain Schneble <address@hidden>
>> CC: Lars Ingebrigtsen <address@hidden>, <address@hidden>
>> Date: Mon, 15 Feb 2016 12:06:52 +0100
>> 
>> >> Uhm...  I can't really imagine what it's used for at all.  :-)  Is it to
>> >> communicate to, for instance, a shell what the size of the Emacs window
>> >> is?
>> >
>> > Yes.
>> 
>> This sounds like set-process-window-size could just return Qnil when
>> called on a network process.  This would make the blocker in that
>> function obsolete.
>
> If the ioctl call issued by the implementation always fails on
> sockets, then yes.

On GNU/Linux (debian) the call to ioctl (fd, TIOCSWINSZ, &size) in
set_window_size returns -1 if called with a socket fd and thus fails
with errno=25 "Inappropriate ioctl for device".  I guess this might be
the case on other systems as well...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]