*BSD News Article 46752


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!dish.news.pipex.net!pipex!warwick!news.coventry.ac.uk!news
From: justin@vide.coventry.ac.uk (Justin Murdock)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: disabling ^Z
Date: 12 Jul 1995 09:06:22 +0100
Organization: Visual and Information DEsign centre, Coventry Universtiy
Lines: 22
Message-ID: <justinznbkywcgbkob@virtue.vide.coventry.ac.uk>
References: <Pine.ULT.3.91.950703160948.5827A-100000@silver.ucs.indiana.edu>
	<3tgjlv$239@sanson.dit.upm.es>
NNTP-Posting-Host: @vide-gate.coventry.ac.uk
In-reply-to: jmrueda@diatel.upm.es's message of 6 Jul 1995 12:07:27 GMT
X-Newsreader: (ding) Gnus v0.45

>>>>> "Javier" == Javier Martin Rueda <jmrueda@diatel.upm.es> writes:

>> what should I add in the .login file to disable users from being
>> able to use the ^Z

Javier> If csh has something similar to sh's trap, maybe that could be
Javier> used to ignore signal TSTP.

Javier> Else, an easy solution would be to add:

Javier> stty susp undef

Javier> But that can be overriden with a simple "stty susp ^Z". :-(
Javier> Probably the first method (trap) could be overriden by the
Javier> user as well.

I guess you could add "exec sh"....

-- 
~ o   - "There is nothing a vulture hates more than a glass eye."
 |    - 
\_/   - Justin Murdock, +44 1203 337865. This man is very strange