Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: How do I disable Escape keys (CTL-C) for end-users
Date: 1996/11/05	[thread overview]
Message-ID: <55odhn$16b@dogbert.cc.ndsu.NoDak.edu> (raw)
In-Reply-To: E0EqyG.J7p@blaze.trentu.ca


[posted & cc'ed]

In article <E0EqyG.J7p@blaze.trentu.ca>,  <clos@ivory.trentu.ca> wrote:
  
> We are running DEC Unix 3.2C on a Alpha 2100 and would like to disable the use
> of escape keys such as CTL-C and CTL-Z to prevent end-users from escaping from
> their application menu to Unix command line. We are using the Korn shell and I
> have tried using:  stty ignbrk, stty -brkint in their .profile with no luck.

According to the man page for stty:

    +
    The stringss undef and ^- set the special character to
    {_POSIX_VDISABLE} if it is in effect for the device.


so

	stty intr ^-
	stty susp ^-

and so on might do the trick.  Users can still change the settings back,
though.

> Any suggestions ??????

Tim
-- 
Tim Mooney                              mooney@toons.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Bldg.                 (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105



  reply	other threads:[~1996-11-05  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-05  5:00 How do I disable Escape keys (CTL-C) for end-users clos
1996-11-05  5:00 ` Tim Mooney [this message]
1996-11-06  5:00 ` Juergen Schroeder
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox