zsh-workers
 help / color / mirror / code / Atom feed
* best way to disable PRIVILEGED?
@ 2020-06-28 12:10 Jens Staal
  2020-06-28 14:31 ` Daniel Shahaf
  2020-06-28 17:06 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Staal @ 2020-06-28 12:10 UTC (permalink / raw)
  To: zsh-workers

Dear all,

I just got zsh to compile under Plan9/APE using PDCurses [1], terminfo stubs
from old PDCurses [2], pcre [3] and some hacking [4] (at the time of this
writing the last modifications have not been pushed yet, currently only builds
with "make", mkfile not completely done yet).

the zsh executes but with the error: "zsh: error on TTY read: permission denied"

One of the hacks I did was to redefine seteuid to setuid. I am not sure if that
would be the reason for the error or if I will end up noticing that the issue
are my terminfo stubs...

Has anyone else tried to build zsh with pdcurses on systems without terminfo?

A logical first thing to try however is to follow the instructions in
zsh_system.h and remove the seteuid hack and disable PRIVILEGED.

What is the best way of doing this? Just deleting all parts referring to
PRIVILEGED or is there a more elegant solution?


Best regards,
Jens


[1] https://github.com/staalmannen/PDCurses
[2] https://github.com/staalmannen/pdterm
[3] https://github.com/staalmannen/pcre
[4] https://github.com/staalmannen/zsh



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-29  6:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-28 12:10 best way to disable PRIVILEGED? Jens Staal
2020-06-28 14:31 ` Daniel Shahaf
2020-06-28 16:26   ` Jens Staal
2020-06-29  6:55   ` Jens Staal
2020-06-28 17:06 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).