[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::hackers_v1

Title:-={ H A C K E R S }=-
Notice:Write locked - see NOTED::HACKERS
Moderator:DIEHRD::MORRIS
Created:Thu Feb 20 1986
Last Modified:Mon Aug 03 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:680
Total number of notes:5456

155.0. "Want a way to shut off CTRL Z" by PIGGY::BROUILLETTE () Thu Aug 29 1985 16:56

I am searching for an EASY way to shut off CTRL Z in an account.  I have found
many ways to shut off CTRL Y but nothing for CTRL Z. Can anyone help me??

Thanks,
Mike B.
T.RTitleUserPersonal
Name
DateLines
155.1SMAUG::THOMPSONThu Aug 29 1985 21:166
Having given this no thought at all ... how about defining ctrl-z as an
"out-of-band" character and catching it that way?

It should work if you're running your own s/w, otherwise you will need
some other method.
Mark
155.2TOOLS::STANFri Aug 30 1985 02:162
Shutting of CTRL/Z is a bad idea and will cause certain programs
to hang with no way out of them.
155.3PIGGY::BROUILLETTETue Sep 10 1985 17:4716
Here is the background of the system.

The system is a material tracking system used by the Distribution group
of DEC and is written in COBOL.  The system is used by alot of outside vendors
that feed our system with all types of info. Because of the outside vendors,
the company is worried about hackers getting in thru there (not my prime worry)
My prime worry is that if they hit a CTRL/Z in the middle of building a record
in the record structure I have inherited with this system, that they will
corrupt the database.

What I am looking for is a tool that I can envoke at login time. As for the 
possible problem with a user locking the system, I have ways around that alreadyon the system


thanks in advance,
Mike B.
155.4TURTLE::GILBERTTue Sep 10 1985 18:475
COBOL supports the AT END option (on READ and ACCEPT), so you can
process EOFs however you wish.  If you simply want to abort, you
could establish a condition handler to check for unexpected EOFs.

This seems too easy; perhaps I don't fully appreciate the problem.
155.5SHOGUN::BLUEJAYWed Sep 11 1985 09:457
I'd suggest that you set up the program so that no database structures are
in 'undefined' states when input is being gotten from a user. That way, a
CTRL/Z won't mess things up. This also minimizes your exposure to aborts
due to system failures, since you're not sitting there for 15 minutes holding
on to a bunch of records.

						- Bluejay Adametz, CFII