home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!cs.ubc.ca!bcsystems!ewilts
- From: ewilts@galaxy.gov.bc.ca (Ed Wilts)
- Newsgroups: comp.os.vms
- Subject: Re: Ctrl-C disabling with VMS sessions
- Message-ID: <1993Jan12.082001.1506@galaxy.gov.bc.ca>
- Date: 12 Jan 93 08:20:01 -0800
- References: <980674E8559F002FC3@BC750.BITNET>
- Distribution: world
- Organization: BC Systems Corporation
- Lines: 15
-
- In article <980674E8559F002FC3@BC750.BITNET>, WAYNE@BC750.BITNET writes:
- >
- > Is there anyway to disable the Ctrl-C within a VMS session, in DCL level or
- > within an application image ?
-
- Yes. I've got some old Fortran code lying around (author FJM, last modified
- 1988) that enables/disables Control-C for you. It also lets you trap the ^C
- and do whatever your code wants to do, like an orderly shutdown.
-
- I'll post to vmsnet.sources in a single part VMS_Share file. Two modules - one
- that does the work and one short program that tests it.
-
- --
- Ed Wilts, BC Systems, 4000 Seymour Place, Victoria, B.C., Canada, V8X 4S8
- EWilts@Galaxy.Gov.BC.CA Office: (604) 389-3430 Fax: (604) 389-3412
-