- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Changing the output of the TYPE command
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
Discussions
Discussions
Forums
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
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-28-2010 02:44 AM
тАО11-28-2010 02:44 AM
Changing the output of the TYPE command
How can I change the menu bar to display everything in upper case "RETURN/SPACE=MORE, PREV/NEXT=SCROLL"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 05:40 AM
тАО11-28-2010 05:40 AM
Re: Changing the output of the TYPE command
use SET TERM/NOLOWER or SET TERM/UPPERCASE to force the terminal driver to convert all characters to uppercase.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 05:43 AM
тАО11-28-2010 05:43 AM
Re: Changing the output of the TYPE command
AFAIK, those texts are part of the executable.
You may try to patch it.
For pretty simple EXEs I have successfully I have done that with a simple editor (because I did not have the compiler for the source language), AS LONG AS YOU __DO__ KEEP THE STRINGS __EXACTLY__ THE SAME LENGTH.
NO guarantee of success, and because TYPE is included in VMS, every new version or patch MIGHT replace it, and require a redo.
YMMV.
Good luck & success.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 08:53 AM
тАО11-28-2010 08:53 AM
Re: Changing the output of the TYPE command
It also doesn't seem that you want the TYPE command here, you likely want to use the Unix-like more or the less tools, or analogous. Various ports are available.
And there's a copy in GNV.
Interestingly, you're also asking for some added extra "fun" here as the "prev" and "next" keys aren't ubiquitous keys.
And please consider posting why are you might be asking this question. Some background? Goals? Requirements? Without some background and some requirements, we might get you the correct answer, but might well miss the best answer. We can't tailor the answer to your particular requirements, only to your point question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 01:22 PM
тАО11-28-2010 01:22 PM
Re: Changing the output of the TYPE command
After you figured out what the length field is you can probably patch in place or make the string shorter. Happy hacking!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 01:47 PM
тАО11-28-2010 01:47 PM
Re: Changing the output of the TYPE command
>AFAIK, those texts are part of the
>executable
No, they're not in TYPE.EXE, they're (correctly) isolated in a message file. That means you can easily support multiple languages without requiring multiple versions of the image.
See SYS$MESSAGE:CLIUTLMSG.EXE. Note there are several messages which contain the string you're interested in "RETURN/SPACE=More, PREV/NEXT=Scroll"
An upper case variant can be dealt with as if it were another language. Obtain a copy of CLIUTLMSG.MSG from the source distribution, make modifications to the message text, and recompile it into a site specific variation of the standard message file.
For more detail about the message utility see "HP OpenVMS Command Definition, Librarian, and Message Utilities Manual"
http://h71000.www7.hp.com/doc/82final/6100/6100PRO.HTML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2010 02:27 PM
тАО11-28-2010 02:27 PM
Re: Changing the output of the TYPE command
If you have a VAX running V7.3, you may be able to decompile its copy of CLIUTLMSG, then move the source code to Alpha or IA64 for compiling. Hoping that later versions haven't added new messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 08:35 AM
тАО11-30-2010 08:35 AM
Re: Changing the output of the TYPE command
I'm curious as to why you would want to do this.
Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 04:20 AM
тАО12-01-2010 04:20 AM
Re: Changing the output of the TYPE command
The company that I work for is in Israel and therefore the primary language of the end users is hebrew. Our systems have been built with a character set that is 7-bit hebrew. This means that our end users can see either hebrew or lowercase english but not both together.
The words "More" and "Scroll" that I mentioned in the original question will therefore appear as gibberish ("More" - capital M followed by 3 hebrew characters)
I like John's idea of creating a multi language version of the TYPE command. I will try to create a hebrew language version of the TYPE command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2010 07:26 AM
тАО12-01-2010 07:26 AM
Re: Changing the output of the TYPE command
VMS and DECwindows once had language variants; internationalized add-ons. Hebrew was one language that had some local language add-ons. Some of these may still exist, depending on what version is in use here. Particularly if this isn't a current release.
Also see the SYS$LANGUAGE support, and APIs including LIB$GET_USERS_LANGUAGE().
That support had some oddities; definitely test.
There was some damage around the message help files when local languages were enabled. I don't know if that got fixed, or if you had to (for instance) redirect the message help files over to the English message help files if the localized files weren't installed, for instance.
There are additional issues here, given the lack of unicode support in the operating system and tools.
Was "just" TYPE the central issue here, then I'd get rid of the TYPE command. The more or less tools with message catalogs (and C had message catalog support on recent releases) might get you where you want for this case. That gives you full control. (I've posted what amounts to full source for a type command, using C and RMS calls, if you're interested.)