bug-ncurses
[Top][All Lists]
Advanced

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

Re: Strange OSX behavior


From: Bryan Christ
Subject: Re: Strange OSX behavior
Date: Thu, 6 Jun 2019 11:51:35 -0500

I will.  What it looks like is happening is that poll() set to POLLIN on my pty file descriptor is returning that data is available.  However, when I call the TIOCINQ ioctl, to see how many bytes are available for reading, the call succeeds but sets the value to zero.

On Wed, Jun 5, 2019 at 8:26 PM Chris Page <address@hidden> wrote:
Please file bug reports and enhancement requests for Terminal. For example <https://feedbackassistant.apple.com/>.

--
Chris Page
macOS Terminal

> On Jun 5, 2019, at 4:10 PM, address@hidden wrote:
>
> I can second that one.  The terminal emulation behavior for OS X terminal is very incomplete.  Using the xterm they ship with their port of X works much, much better.
>
> From: Bug-ncurses <bug-ncurses-bounces+herbie_robinson=address@hidden> On Behalf Of Dan Gookin
> Sent: Wednesday, June 5, 2019 6:52 PM
> To: Bryan Christ <address@hidden>
> Cc: address@hidden
> Subject: [EXTERNAL] Re: Strange OSX behavior
>
> [EXTERNAL SENDER: This email originated from outside of Stratus Technologies. Do not click links or open attachments unless you recognize the sender and know the content is safe.]
>
> Bryan,
>
> I have no idea what you’re reffing to, though I admire your technical knowledge and pluck. Often I’ve found that running code on iTerm instead of the OS X terminal application yields more predictable results. FWIW.
>
> Best,
> DAN
>
>> On Jun 5, 2019, at 3:41 PM, Bryan Christ <address@hidden<mailto:address@hidden>> wrote:
>>
>> This is a bit off topic so forgive me but it's the only place I know where experts on the terminal live :) I've started porting my terminal emulation library to OSX and it's been fun to say the least. Now that it finally builds, I see strange behavior with my demo program that I don't see when it runs on Linux or FreeBSD. Output coming from XYZ application running inside the emulator is only echoed when I write data to the slave pty file descriptor (for example holding down the cursor key). If anyone has even a good guess as to what's going on, I would appreciate it.
>>
>> --
>> Bryan
>> <><



--
Bryan
<><

reply via email to

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