Apple no longer bundles X with macOS. What I usually do is to get the X server, which is now developed separately. Or just use iTerm when I need a better terminal that's much better at pretending to be a DEC terminal that Terminal.app.
Unfortunately, that's not very helpful, as relatively few people have iTerm installed and almost nobody has an X environment on their Macs.
I think the best approach would be to check an "ncurses torture app" that exercises individual features so you can pinpoint where Terminal fails and then report the issue and/or shame them publicly for them. They do care about developer experience and a sizable chunk of their market for laptops is for developers and sysadmins (my last 4 Macs or so were company issued machines).
Is there a vttest analog for ncurses?
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
> <><
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden<mailto:address@hidden>
> https://lists.gnu.org/mailman/listinfo/bug-ncurses<https://lists.gnu.org/mailman/listinfo/bug-ncurses>
_______________________________________________
Bug-ncurses mailing list
address@hidden<mailto:address@hidden>
https://lists.gnu.org/mailman/listinfo/bug-ncurses<https://lists.gnu.org/mailman/listinfo/bug-ncurses>
_______________________________________________
Bug-ncurses mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-ncurses