Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

Control C - disable

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> Control C - disable Page: [1]
Login
Message << Older Topic   Newer Topic >>
Control C - disable - Jul. 9, '04, 8:58:39 AM   
Guest
I run a Compaq Alpha DS20E - EV68, with HP Tru64 UNIX, version 5.1B
Can you please tell me how do I disable Control+C?
If possible, just for users. Administrator, as root, must keep Control+C privileges.
  Post #: 1
RE: Control C - disable - Jul. 9, '04, 9:20:05 AM   
Rodney

 

Posts: 3696
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
You need to tell us why you are wanting to disable Ctrl-C.
Ctrl-C is just a key sequence. Depending on what the key sequence
is and the terminal settings certain actions happen. Interrupt
is an important feature that many applications use to stop an
internal sequence from continuing without the application stopping.
Suspend (aka ^Z) is in a similar situation. Adjusting if/when/why
Interrupt or Suspend is usually done on an application by application
basis, not a per user or system-wide basis -- too much will get messed.

The other obvious question is, why are you asking a Tru64 question here?

(in reply to Guest)
Post #: 2
RE: Control C - disable - Jul. 9, '04, 10:15:41 AM   
Guest
First of all, thanks for your reply.
Am I making any mistake, posting a Tru64 question here? If so, I'm sorry. Am I on the wrong forum, or UNIX Tools Forum is not at all for Tru64?
If so, please accept my apologies.
About what you mencioned: we run a Cobol (AcuCobol) application. Users often use Control+C, "breaking"; they may damage files, by doing so.
I want to disable Control+C, in order to prevent users of "breaking" the application. How is it done? Can you help me?
Thank you.

(in reply to Rodney)
  Post #: 3
RE: Control C - disable - Jul. 9, '04, 11:00:15 AM   
Rodney

 

Posts: 3696
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
We deal with a product called SFU (Services for UNIX) mostly here.
In particular the Interix (Unix) portion of it by itself and when it
interacts with other systems. So it wasn't clear to me that it was a
pure Tru64 question given the usual context.

You'll likely get a better answer from one of the unix newsgroups.
In particular the one aimed at Tru64: "comp.unix.tru64"
You may want to read the 'stty' man page about changing the terminal
interrupt key sequence.

(in reply to Guest)
Post #: 4
RE: Control C - disable - Jul. 13, '04, 9:10:48 AM   
Guest
I understood how it works.
Thank you very much for your help.

(in reply to Rodney)
  Post #: 5
Page:   [1]
All Forums >> [Windows - UNIX Interop] >> System & Network Admin Forum >> Control C - disable Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031