Skip to content

Conversation

@waywardmonkeys
Copy link
Contributor

This removes some usages of the SYSVONLY flag and lets us assume
the existence of killpg. It also updates a bit of code to accurately
populate the pgrp variable using tcgetpgrp rather than an ioctl.

This removes some usages of the SYSVONLY flag and lets us assume
the existence of `killpg`. It also updates a bit of code to accurately
populate the `pgrp` variable using `tcgetpgrp` rather than an ioctl.
@waywardmonkeys
Copy link
Contributor Author

This leaves a single use of SYSVONLY, so we are close to being able to remove it!

Also, I think using killpg to send SIGWINCH in src/unixcomm.c can actually go away in a subsequent patch. Setting the terminal size via TIOCSWINSZ should send SIGWINCH on its own.

Copy link
Collaborator

@nbriggs nbriggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@nbriggs nbriggs merged commit a47119f into Interlisp:master Dec 31, 2020
@waywardmonkeys waywardmonkeys deleted the killpg-is-posix branch December 31, 2020 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants