🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #673

Re: disabling TIOCGPGRP on pty master sides

#673
From: Sean Eric Fagan
Date: Sat, 22 Dec 1990 05:38
23 lines
1700 bytes
Submitted-by: sef@kithrup.COM (Sean Eric Fagan)

In article <16068@cs.utexas.edu> thorinn@rimfaxe.diku.dk (Lars Henrik Mathiesen) writes:
>I'd very much hope that such an ioctl would include checks for the
>termio settings of the slave side: A signal should only be allowed if
>it would be possible to write a character on the master pty to achieve
>the same result. (And then, why not do just that?)

Because that won't support existing practice.

Emacs defines C-xC-c in shell mode to be "interrupt-shell-subjob."  It is
defined to send a SIGINT to the process group.  Not a control-c, or DEL, or
whatever you have your interrupt character defined as.  Note that emacs
terminates the shell by sending it (I believe) a SIGTERM.  What keyboard
sequence generates that signal?

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef@kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.

Volume-Number: Volume 22, Number 37
Technical Details
Message-ID: <16118@cs.utexas.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!jsq
References: <15827@cs.utexas.edu> <15975@cs.utexas.edu> <16068@cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!cs.utexas.edu!jsq
From: sef@kithrup.COM (Sean Eric Fagan)
Newsgroups: comp.std.unix
Subject: Re: disabling TIOCGPGRP on pty master sides
Message-ID: <16118@cs.utexas.edu>
Date: 22 Dec 90 05:38:33 GMT
References: <15827@cs.utexas.edu> <15975@cs.utexas.edu> <16068@cs.utexas.edu>
Sender: jsq@cs.utexas.edu
Organization: Kithrup Enterprises, Ltd.
Lines: 23
Approved: jsq@cs.utexas.edu (Moderator, John S. Quarterman)
X-Submissions: std-unix@uunet.uu.net