- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: control c break not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 04:43 AM
10-17-2003 04:43 AM
control c break not working
Thank
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 08:48 AM
10-17-2003 08:48 AM
Re: control c break not working
There are other options.
control-D (* EOF?? *)
control \ (* not sure but it often terminates sessions *)
shift-] (* close telnet session and quit *)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2003 08:29 PM
10-17-2003 08:29 PM
Re: control c break not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 01:56 PM
10-19-2003 01:56 PM
Re: control c break not working
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 09:08 PM
10-19-2003 09:08 PM
Re: control c break not working
Check the stty entries.
$ stty
speed 9600 baud; -parity hupcl
min = 1; time = 1; intr = ^C; erase = DEL; kill = ^U;
susp = ^Y;
brkint -inpck -istrip icrnl onlcr tab3
-iexten echo echoe echok
-echoctl -echoke
$stty intr ^C.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2003 09:16 PM
10-19-2003 09:16 PM
Re: control c break not working
Try this, in vi insert mode:
Type ^V^C (control-v, control-c). You should see a ^C on the screen, and if you save the file and run "od -cb FILE" you should see the first byte is 003.
If not, talk to your network guys.
-- Graham
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2003 06:38 AM
10-20-2003 06:38 AM
Re: control c break not working
I willing to bet 10 points that you're setting an interrupt trap in your profile. The more command resets these traps, but tail does not. To check, simple enter:
trap
You should see something like this:
trap -- '
Look for any traps in /etc/profile and .profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2003 07:26 AM
10-24-2003 07:26 AM
Re: control c break not working
trap "echo logout" 0
trap 1 2 3
The output of the trap is
0:echo 'logout root'
1:
2:
3:
And also the other machines have the same setup, but don't have this issue.
For Graham's response, the output is
0000000 ^ V ^ C \n
136 126 136 103 012
0000005
This is also the same as the other setup, the other machines are working fine to use control c to break the tail -f.
I still don't understand, but thanks for your help.
Regards,
Tony