<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Changing the output of the TYPE command in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718885#M40913</link>
    <description>You don't seem to assume VMS, you seem to want or expect a Unix shell here.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;And there's a copy in GNV.&lt;BR /&gt;&lt;BR /&gt;Interestingly, you're also asking for some added extra "fun" here as the "prev" and "next" keys aren't ubiquitous keys.&lt;BR /&gt;&lt;BR /&gt;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.</description>
    <pubDate>Sun, 28 Nov 2010 16:53:02 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2010-11-28T16:53:02Z</dc:date>
    <item>
      <title>Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718882#M40910</link>
      <description>The DCL command type/page=search filename.txt displays a menu bar at the bottom of the screen that contains "RETURN/SPACE=More, PREV/NEXT=Scroll"&lt;BR /&gt;&lt;BR /&gt;How can I change the menu bar to display everything in upper case "RETURN/SPACE=MORE, PREV/NEXT=SCROLL"?</description>
      <pubDate>Sun, 28 Nov 2010 10:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718882#M40910</guid>
      <dc:creator>Anthony Silverman</dc:creator>
      <dc:date>2010-11-28T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718883#M40911</link>
      <description>Anthony,&lt;BR /&gt;&lt;BR /&gt;use SET TERM/NOLOWER or SET TERM/UPPERCASE to force the terminal driver to convert all characters to uppercase.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Sun, 28 Nov 2010 13:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718883#M40911</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-11-28T13:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718884#M40912</link>
      <description>Antony,&lt;BR /&gt;&lt;BR /&gt;AFAIK, those texts are part of the executable.&lt;BR /&gt;You may try to patch it.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;NO guarantee of success, and because TYPE is included in VMS, every new version or patch MIGHT replace it, and require a redo.&lt;BR /&gt;&lt;BR /&gt;YMMV.&lt;BR /&gt;&lt;BR /&gt;Good luck &amp;amp; success.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Sun, 28 Nov 2010 13:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718884#M40912</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-11-28T13:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718885#M40913</link>
      <description>You don't seem to assume VMS, you seem to want or expect a Unix shell here.&lt;BR /&gt;&lt;BR /&gt;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.  &lt;BR /&gt;&lt;BR /&gt;And there's a copy in GNV.&lt;BR /&gt;&lt;BR /&gt;Interestingly, you're also asking for some added extra "fun" here as the "prev" and "next" keys aren't ubiquitous keys.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Sun, 28 Nov 2010 16:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718885#M40913</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-11-28T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718886#M40914</link>
      <description>The text comes from a message file and can be found in CLITULMSG.EXE. Presumed you have the privileges, you can patch the string there. It's installed, so replace it and all users will see the changed string. If you just want to see this in your environment, make the change in a local copy and define the logical cliutlmsg pointing to your copy. Include the file version in the define.&lt;BR /&gt;&lt;BR /&gt;After you figured out what the length field is you can probably patch in place or make the string shorter. Happy hacking!</description>
      <pubDate>Sun, 28 Nov 2010 21:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718886#M40914</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2010-11-28T21:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718887#M40915</link>
      <description>re Jan:&lt;BR /&gt; &lt;BR /&gt;&amp;gt;AFAIK, those texts are part of the &lt;BR /&gt;&amp;gt;executable&lt;BR /&gt;&lt;BR /&gt;  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.&lt;BR /&gt;&lt;BR /&gt;  See SYS$MESSAGE:CLIUTLMSG.EXE. Note there are several messages which contain the string you're interested in "RETURN/SPACE=More, PREV/NEXT=Scroll"&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;For more detail about the message utility see "HP OpenVMS Command Definition, Librarian, and Message Utilities Manual"&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/82final/6100/6100PRO.HTML" target="_blank"&gt;http://h71000.www7.hp.com/doc/82final/6100/6100PRO.HTML&lt;/A&gt;</description>
      <pubDate>Sun, 28 Nov 2010 21:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718887#M40915</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-11-28T21:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718888#M40916</link>
      <description>Looking around the web I found the freeware utility UNMESSAGE which says it can decompile message files. However, it's a VAX image. Although source code is provided, it doesn't look like it will work on Alpha or IA64, even assuming the message table formats are the same. A quick glance at the code shows a $CRMPSC call with an address range which won't work on Alpha.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Sun, 28 Nov 2010 22:27:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718888#M40916</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-11-28T22:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718889#M40917</link>
      <description>Hi Anthony&lt;BR /&gt;&lt;BR /&gt;I'm curious as to why you would want to do this.&lt;BR /&gt;&lt;BR /&gt;Craig&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2010 16:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718889#M40917</guid>
      <dc:creator>Craig A</dc:creator>
      <dc:date>2010-11-30T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718890#M40918</link>
      <description>Here's the reason why I want to do this.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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)&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2010 12:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718890#M40918</guid>
      <dc:creator>Anthony Silverman</dc:creator>
      <dc:date>2010-12-01T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718891#M40919</link>
      <description>This is probably a legacy application, as comparatively few packages are using DCL and VMS as a front-end user interface, and fewer still use the internationalization interfaces and local language support.  Are you working toward a transition to a different front-end?  (How much are you investing in this front-end?)&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Also see the SYS$LANGUAGE support, and APIs including LIB$GET_USERS_LANGUAGE().  &lt;BR /&gt;&lt;BR /&gt;That support had some oddities; definitely test.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;There are additional issues here, given the lack of unicode support in the operating system and tools.&lt;BR /&gt;&lt;BR /&gt;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.)</description>
      <pubDate>Wed, 01 Dec 2010 15:26:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718891#M40919</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-12-01T15:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718892#M40920</link>
      <description>I'm sure the problem is already solved and nobody cares about decompiling messages any more: so this is some more unwanted and useless information from my side.&lt;BR /&gt;&lt;BR /&gt;The message format is the same on all platforms.&lt;BR /&gt;&lt;BR /&gt;Once you get to the message section, an image section on VAX/ALPHA or a program segment on Integrity, you can use the decompile code from Joe Meadows's UNMESSAGE utility. Actually his tool starts with a longword vector at offset 16 in the first image section. It shows that for nonexecutable message files the message section always starts at VBN 2, no matter which platform the message file was produced for.&lt;BR /&gt;&lt;BR /&gt;So I made a simple open source version based on Joe's decompile code with hard coded VBN and offset. The sources are attached - the include file, although renamed, is unchanged. I tested unmsg on Linux with a couple of message files. It should be easy porting this to VMS.&lt;BR /&gt;&lt;BR /&gt;Warning, there is no check whether the passed-in file is indeed a nonexecutable message file. That wasn't the case in the orignal tool and it is known that VMS code doesn't do this either. Obviously the utility can be improved, but that wasn't the goal and may not be worth the time, or?&lt;BR /&gt;&lt;BR /&gt;On the other hand, I don't see why the $crpmsc should fail to expand the P0 region on Alpha or Integrity.</description>
      <pubDate>Tue, 14 Dec 2010 21:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718892#M40920</guid>
      <dc:creator>H.Becker</dc:creator>
      <dc:date>2010-12-14T21:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the output of the TYPE command</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718893#M40921</link>
      <description>Using H.Becker's source code (commented out "__attribute__ ((packed))")&lt;BR /&gt;&lt;BR /&gt;dumped output for SYS$MESSAGE:CLIUTLMSG.EXE into into CLIUTLMSG.MSG, uppercased the messages in question, glued one line together, compiled and linked.&lt;BR /&gt;&lt;BR /&gt;then DEFINE CLIUTLMSG to point to the new file.&lt;BR /&gt;&lt;BR /&gt;Now,&lt;BR /&gt;&lt;BR /&gt;$ type/page=save/search="return" CLIUTLMSG.msg&lt;BR /&gt;&lt;BR /&gt;.FACILITY       UTIL,286 /SYSTEM&lt;BR /&gt;.SEVERITY       WARNING&lt;BR /&gt;_011E8008       "TRUE" /IDENT=NORMAL1&lt;BR /&gt;_011E8010       "YES" /IDENT=NORMAL2&lt;BR /&gt;_011E8018       "1" /IDENT=NORMAL3&lt;BR /&gt;_011E8020       "" /IDENT=NORMAL4&lt;BR /&gt;_011E8028       "FALSE" /IDENT=NEGANS1&lt;BR /&gt;_011E8030       "NO" /IDENT=NEGANS2&lt;BR /&gt; RETURN/SPACE=MORE, PREV/NEXT=SCROLL, INS/REM=PAN, SELECT=80/132, Q=QUIT&lt;BR /&gt;&lt;BR /&gt;done.</description>
      <pubDate>Wed, 15 Dec 2010 01:04:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/changing-the-output-of-the-type-command/m-p/4718893#M40921</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-12-15T01:04:54Z</dc:date>
    </item>
  </channel>
</rss>

