Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How do I disable Escape keys (CTL-C) for end-users
@ 1996-11-05  5:00 clos
  1996-11-05  5:00 ` Tim Mooney
  1996-11-06  5:00 ` Juergen Schroeder
  0 siblings, 2 replies; 3+ messages in thread
From: clos @ 1996-11-05  5:00 UTC (permalink / raw)






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.

Any suggestions ??????




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

* Re: How do I disable Escape keys (CTL-C) for end-users
  1996-11-05  5:00 How do I disable Escape keys (CTL-C) for end-users clos
@ 1996-11-05  5:00 ` Tim Mooney
  1996-11-06  5:00 ` Juergen Schroeder
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 1996-11-05  5:00 UTC (permalink / raw)



[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



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

* Re: How do I disable Escape keys (CTL-C) for end-users
  1996-11-05  5:00 How do I disable Escape keys (CTL-C) for end-users clos
  1996-11-05  5:00 ` Tim Mooney
@ 1996-11-06  5:00 ` Juergen Schroeder
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Schroeder @ 1996-11-06  5:00 UTC (permalink / raw)



clos@ivory.trentu.ca wrote:

: 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

Try this in the ~/.profile

trap "" INT                     # Ignore SIGINT (ctrl/c).
trap "" USR1                    # Ignore SIGUSR1.
trap "" QUIT                    # Ignore SIGQUIT (ctrl-\).
trap "" TSTP                    # Ignore ctrl-z.

Juergen



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

end of thread, other threads:[~1996-11-06  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-11-05  5:00 How do I disable Escape keys (CTL-C) for end-users clos
1996-11-05  5:00 ` Tim Mooney
1996-11-06  5:00 ` Juergen Schroeder

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