Re: xterm operation not permitted
Re: xterm operation not permitted
- Subject: Re: xterm operation not permitted
- From: Thomas Dickey via X11-users <email@hidden>
- Date: Fri, 7 Feb 2020 04:36:07 -0500
On Thu, Feb 06, 2020 at 09:30:52PM -0500, Jonathan Prescott wrote:
> As a data point, if it is relevant, rxvt has always worked from El Capitan,
> which was when I bought this Mac, to Catalina today. Not sure if that is
> important, but, it is an observation. ETerm was not working, but, I haven’t
> upgraded it since the MacPorts upgrade. I normally used Apple’s Terminal,
> and iTerm, but, xterm, et al, are useful once in awhile, which why I keep
> them around.
>
> Another point, the last time I installed xterm prior to today, the operating
> system was Catalina 10.15.2. When I upgraded MacPorts today, my machine had
> been upgraded to 10.15.3 in the interim. Your point about potential point
> upgrade to the devices fixing the bug could be on point.
yes - would be nice if Apple provided release notes...
In a quick check, I see that the MacPorts package for urxvt uses these
functions:
posix_openpt
grantpt
ptsname
unlockpt
while xterm uses this:
openpty
The actual choice depends on the configure script, but it is optional:
Patch #292 - 2013/04/25
* add configure option --disable-openpty to control whether
openpty() may be used in preference to posix_openpt().
* improve workaround from [451]patch #279 for BSD systems which do
not complete initialization until both sides of the pseudoterminal
are opened, by preferring openpty() function over posix_openpt()
when available (report by Christian Weisgerber).
That bug report referred to MacOS, and because it related to timing
(which will be different between different terminal programs), one
may "work" while another has unexpected behavior.
> Jonathan
>
> > On Feb 6, 2020, at 8:37 PM, Thomas Dickey <email@hidden> wrote:
> >
> > On Thu, Feb 06, 2020 at 10:37:34AM -0500, Jonathan Prescott wrote:
> >> Well, let’s just say that, on MacOS Catalina 10.15.3, the xterm I had
> >> installed, the latest at the time from MacPorts, failed in the way everyone
> >> has been noting lately. I did my periodic update of MacPorts, and I
> >> noticed
> >> that xterm was updated this cycle. After the MacPorts update, xterm worked
> >> like everyone is expecting. Now, whether it was xterm that was fixed, or
> >> an
> >> X11 related library (that’s all I use MacPorts for), I couldn’t tell you.
> >> However, it was not a change in the operating system, or XQuartz (not X11
> >> server), since these didn’t change.
> >
> > I don't know - since nothing relevant changed in xterm (it's been almost
> > all font-related/display-related things in the past year).
> >
> > A few years ago someone had a problem with those symptoms which was
> > apparently due to MacOS/OSX associating permissions to the _pseudo
> > terminal_.
> >
> > In a quick check, it seems I last revised that in 2011.
> >
> > I upgraded one of my machines to Catalina in October to investigate this
> > (there are a couple of pty-interfaces which _could_ be used, and possibly
> > Apple's broken a different one in Catalina), but found no corresponding
> > problem (but that one started as Mohave - upgrades from older releases,
> > I think, accumulate crud that Apple doesn't cleanup).
> >
> > If the problem is related to file-permissions (and acls), I suppose
> > it's also possible that an unrelated upgrade will replace some
> > file and suddenly relieve some bug. But I don't know to advise you
> > on that -- only on things that I can reproduce :-)
> >
> >> Jonathan
> >>
> >>> On Feb 6, 2020, at 3:54 AM, Thomas Dickey <email@hidden> wrote:
> >>>
> >>> ----- Original Message -----
> >>> | From: "Apple X11 Users' List" <email@hidden>
> >>> | To: "David Ledger" <email@hidden>
> >>> | Cc: "Apple X11 Users' List" <email@hidden>
> >>> | Sent: Wednesday, February 5, 2020 9:35:37 PM
> >>> | Subject: Re: xterm operation not permitted
> >>>
> >>> | I just updated my MacPorts distribution, and the new xterm seems to
> >>> have been
> >>> | fixed so that it works on Catalina as you would expect.
> >>> | Jonathan
> >>>
> >>> that's not due to a change in xterm, but some permissions bug in the
> >>> pseudo-terminal support.
> >
> > --
> > Thomas E. Dickey <email@hidden>
> > https://invisible-island.net <https://invisible-island.net/>
> > ftp://ftp.invisible-island.net <ftp://ftp.invisible-island.net/>
--
Thomas E. Dickey <email@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net
Attachment:
signature.asc
Description: PGP signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden