- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- /usr/bin/cu CTRL-C not quitting
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
11-25-2004 04:32 AM
11-25-2004 04:32 AM
/usr/bin/cu CTRL-C not quitting
/usr/bin/cu -I /etc/uucp/config -x6 john
./cu: fconn_open: Opening port ACU1 (speed 19200)
./cu: fconn_set: Changing setting to 0, 0, 2
./cu: fcsend: Writing "AT\r"
./cu: icexpect: Looking for 2 "OK"
./cu: icexpect: Got "AT\r\r\nOK" (found it)
./cu: fcsend: Writing "ATDT" \T "537334\r"
./cu: icexpect: Looking for 7 "CONNECT"
./cu: icexpect: Got "\r\nATDT537334\r./cu: Got interrupt signal
./cu: Got interrupt signal
Any ideas as I don't have the problem when I use the same modem on an HP-UX 11.00 system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 07:53 AM
11-25-2004 07:53 AM
Re: /usr/bin/cu CTRL-C not quitting
I try on my RedHat 9 uucp 1.06.1. The results are same, no CTRL-C.
As a workarround you can use CTRL-Z follow by a kill %1 .
Maybe this workarround will be sufficient for you.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 11:22 AM
11-25-2004 11:22 AM
Re: /usr/bin/cu CTRL-C not quitting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 06:38 PM
11-25-2004 06:38 PM
Re: /usr/bin/cu CTRL-C not quitting
Yes the Ctrl-Z would work but simple users use these modems for supporting an application on remote sites. If I start telling them tricks like Ctrl-Z we could have lots of background jobs running on Customers machines. Also I believe that if you dial to an HP system and CTRL-Z then forget to kill %1 before logging out it puts a lock on the port that rprevents you from re-connecting.
Stuart, in answer to your question, no ~. does not work. The only other way out I have found is Ctrl-\ but like the Ctrl-Z I don't like he idea of letting that into the open if other options are available.
I thought I saw on the Web some source for the cu command which talked about allowing and ignoreing interrupts but I can't find the page again. I've downloaded the UUCP source myself but can't find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2004 10:09 AM
11-28-2004 10:09 AM
Re: /usr/bin/cu CTRL-C not quitting
I've not looked myself, sorry I can't be of more help.