- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CUE is written in what language?
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
09-29-2002 02:28 AM
09-29-2002 02:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 05:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 06:59 AM
09-29-2002 06:59 AM
Re: CUE is written in what language?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 01:05 PM
09-29-2002 01:05 PM
Re: CUE is written in what language?
The tput interface is perfect for handling a huge variety of character-mode terminals. NOTE: there is no ASCII character for arrow keys--these are preprogrammed by the terminal to either: execute locally and send nothing to the computer, or with an special-key enabling sequence, the arrow keys will transmit 2 or more characters with each keystroke. This is how vi enables the arrow keys to move around the screen.
tput is an interface to the terminfo database (man terminfo and man tput) which is based on the Curses library of terminal controls. For multi-character sequences, there is a special handler in the datacomm driver that knows the two characters were sent very close to each other. This allows the 2 characters to be treated separately or as a pair, depending on how much time occurred between characters.
tput handles output, sensing and input conditions based on the terminfo man page.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 04:17 PM
09-29-2002 04:17 PM
Re: CUE is written in what language?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2002 06:21 PM
09-29-2002 06:21 PM
Re: CUE is written in what language?
The vi editor is written in the C language and calls the Curses library routines directly.
Now for fancy features like a drop down menu, you will have to code a very large number of steps. Your script will be very lengthy (1000's of lines) to read each character you type, trap the cursor position, remember what was on the screen, rewrite specific areas of the screen, monitor the selection and then restore the missing screen elements when the menu disappears.
You may have to compromise on your menu system to design a simpler interface.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2002 06:53 AM
09-30-2002 06:53 AM
Re: CUE is written in what language?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2002 09:11 PM
10-06-2002 09:11 PM