[HPADM] SUMMARY - NOT trapping Ctrl+C!!

From: Palmer, Neal (NPalmer@uwic.ac.uk)
Date: Thu Jul 04 2002 - 11:18:58 EDT


Hi all,

2 things :

Add this line to /etc/profile and .profile(s)

        stty erase "^H" kill "^U" intr "^C" eof "^D"

and/or, set the ctrl key to interrupt

        stty intr ^C

Thanks for the advice all!

Cheers

Nealp

> -----Original Message-----
> From: Palmer, Neal [SMTP:NPalmer@uwic.ac.uk]
> Sent: 04 July 2002 14:24
> To: 'hpux-admin@DutchWorks.nl'
> Subject: [HPADM] NOT trapping Ctrl+C!!
>
> Hi all,
>
> I have a new system (hpux 11.11) that I am trying to setup, but for some
> reason I cannot use ctrl+c to break out of commands/processes. Everytime I
> run a ping, I have to open another session to kill the original process!
>
> I have tried to compare the login settings (.profile, .login, etc) on a
> system (hpux 11.00) that doesnt have this problem and cant find anything.
> I'm logging in as a standard user then 'su'ing to root. Neither user has
> rights to use ctrl+c.
>
> Any ideas?
>
> Thanks!
>
> Neal.
>
> -----------------------------------------------------------------------
>
> Neal Palmer
> System Support Officer
> UWIC
> UK
>
> "It's just a ride" - Bill Hicks 1961-1994
> -----------------------------------------------------------------------
>
>
> --
> ---> Please post QUESTIONS and SUMMARIES only!! <---
> To subscribe/unsubscribe to this list, contact
> majordomo@dutchworks.nl
> Name: hpux-admin@dutchworks.nl Owner:
> owner-hpux-admin@dutchworks.nl
>
> Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse
> only)
> http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse &
> search)

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:15 EDT