HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Query on migration NCR UNIX Rel 3.02 with HP-UX 11...
Operating System - HP-UX
1834498
Members
2573
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-19-2006 06:01 AM
02-19-2006 06:01 AM
we are migrating existing NCR UNIX MPRAS V Release 3.02 with HP-UX 11i for one of our customer.during migrating our shell scripts in test server we found that command "readtimeout" is not available in HP-UX 11i, I will appreciate if anyone can suggest the alternate of this.
I will explain the functionality of this command in NCR UNIX MPRAS V Release e.g.
When we enter the following command it will accept values from 0 to 10 from the user, in case if user not enter any response with in 60 seconds then automatically next command will be executed in the shell scripts.
/usr/lib/inet/bin/timedread -F10 -s60
Enter your choice in the range 0 - 10 (Default: 0 ): * (out put of the above command)
The other format of the same command is that it will accept from the user only y or n values and it will timeout if no response is entered with in the 60 seconds.
readtimeout 60 "Press RETURN For MENU"
Press RETURN For MENU :(y/n/?) ? y
I will explain the functionality of this command in NCR UNIX MPRAS V Release e.g.
When we enter the following command it will accept values from 0 to 10 from the user, in case if user not enter any response with in 60 seconds then automatically next command will be executed in the shell scripts.
/usr/lib/inet/bin/timedread -F10 -s60
Enter your choice in the range 0 - 10 (Default: 0 ): * (out put of the above command)
The other format of the same command is that it will accept from the user only y or n values and it will timeout if no response is entered with in the 60 seconds.
readtimeout 60 "Press RETURN For MENU"
Press RETURN For MENU :(y/n/?) ? y
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 06:14 AM
02-19-2006 06:14 AM
Solution
Hi:
From a pure shell standpoint, you can use the 'line' command with its optional timeout switch. For example:
# info=`line -t 60`
See the 'line(1)' manpages for more information.
You will have to perform you own checking for the validity of the data read. The read, delivers everything up to a newline character.
Regards!
...JRF...
From a pure shell standpoint, you can use the 'line' command with its optional timeout switch. For example:
# info=`line -t 60`
See the 'line(1)' manpages for more information.
You will have to perform you own checking for the validity of the data read. The read, delivers everything up to a newline character.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP