How to disable intr?

How to disable intr?

Post by D. Beaudo » Fri, 28 Apr 1995 04:00:00



Hola,

How does one disable the intr signal (i.e. ^C) inside of a csh shell script. I
don't want the user to be able to break out of their .login file when it
pauses to a ask the termin type.

Thanks!  

Dave

----------------------------------------------------------------------------


     "All opinions are my own..."             | (908) 855-5756
----------------------------------------------------------------------------

 
 
 

How to disable intr?

Post by Tein H. Yuan(°K¤? » Tue, 02 May 1995 04:00:00


: Hola,

: How does one disable the intr signal (i.e. ^C) inside of a csh shell script. I
: don't want the user to be able to break out of their .login file when it
: pauses to a ask the termin type.

Add one line in your shell script

stty intr ""
Then, intr will become undefined-mode.

-- Tein
===========================================================
Tein Horng Yuan (K?DA)
(voice): 886-2-789-9247         (fax): 886-2-783-6444

===========================================================

===========================================================

 
 
 

1. hda: read intr: status = 0x59...

I've tried to install slackware 6 times now and still no luck, every time
i try to read or write to /dev/hda2 or any other partition i get the following
error filling up my screen:

hda: read intr: status = 0x59 {DriveReady Seekcomplete Data Request Error}
hda: read intr: error = 0x40 {unrecoverable error}  LBASect = "SomeNumber",
Sector = "SomeNumber"
end_request: I/O error, dev 03:03 sector "SomeNumber"

My first assumption was that there was bad sectors on the drive. So I
re-Fdisked, re-formated and scaned for bad sectors. But none were found.
I tried  installing on a new drive, and much to my suprise I got the exact
same error!

I've searched around for info on this error but so far i've turned up nothing.
So I decided to try here.

I know the drive is ok, it doesn't even hicup in  Win95. so my next suspect is
my cheap shaudy VXpro chipset.

Some info on my machine. It's a Houston/hsin tech mainboard, Cyrix 6x86L cpu,
Samsung WN321620A 2.1 GB hard drive, Hmm.. what else?

If anybody knows of a solution to this problem please mail me (I'm dying here!!).

Thanks, Ryan.

2. networking dropout

3. Using intr. USR 28K8 with linux

4. MS-IE and KDE

5. PCI intr=32 out of range

6. Changelogs on kernel.org

7. intr for Solaris 8

8. Tivoli TME3.6 Install question

9. Is TCP/IP stack intr-driven resource hog ?

10. WARNING: invalid vector intr: number 0x7de, pil 0x0

11. serial.c and intr signals from dialin

12. New: "can't resubmit intr status -19" when disconnecting USB device

13. Xterms and weirdness with erase, kill, intr