RAC
Sponsor Page

News Headlines
Tech Headlines
Plan Headlines
Front Page
Search the NewsWire
When I do a SHOWVAR @ command at the colon prompt, I notice near the bottom of the list that there is an entry that reads HPTYPEAHEAD: False — how do I change that to True?

Joe Dolliver replies:
You can change your terminal type file “TT10” to enable typeahead at all times. Go into ttutil.pub.sys; type in tt10 and hit enter, not return. Hit the next form softkey until you are at the control menu and enter your changes. Save it, go to the main menu, save it again, and exit. At the next reboot the changes will be permanent.

I just began to write some scripts in the MPE/iX Shell but I could not find a function to run an MPE command in a shell script. Is it possible ?

Mark Bixby replies:
You can use the callci shell command.

Why does changing a permanent file to temporary (e.g. FCLOSE with a disposition of 5) require PM capability?

Gavin Scott replies:
Because it’s the only thing stopping you from stealing a file you don’t own. Try this:

FOPEN EDITOR.PUB.SYS for read access (anyone can do this).
FCLOSE disp=5 (will require PM).

*Poof* EDITOR.PUB.SYS is now gone and is a temporary file. You can do a

:SAVE or another FOPEN/FCLOSE to turn it into a local permanent file if you like. If it didn’t require PM, then anyone who could open a file could remove it. This was a cute way to rename files across accounts before there was POSIX.

Where do I start to configure my HP Laser printer to be a network printer off the HP 3000. Don’t I need steps for I need steps for the NMMGR process?

Jeff Woods replies:
Odd as it might seem, network printing isn’t configured using NMMGR but instead depends on SYSGEN devices with the ID HPTCPJD plus a text file called NPCONFIG.PUB.SYS defining each printer LDEV.

(This might have more than one LDEV associated with each IP address, perhaps to give different environments such as landscape vs. portrait or duplex printing or special margins or line spacing as needed).

The process is pretty well documented in Chapter 3 of the “Native Mode Spooler Reference Manual”. That manual is available in both the MPE 5.5 and 6.0 manual sets, available online at www.docs.hp.
com/mpeix

What is the name and syntax of the Posix utility that allows you to assign a new file, that is given the same name as the one you are replacing, and the new file will replace the old file when the last user closes it?

Andreas Schmidt replies:
You want to use mv, a utility to rename and move files and directories. The syntax is

mv [-fi] file1 file2
mv [-fi] file... directory
mv -R|-r [-fi] directory1 directory2

Is there any way to undefer a job in SPSAVE state?

Jeff Woods replies
Use the command :
SPOOLF O#;PRINT
This makes a copy of the spoolfile with the same attributes as the original spoolfile. You may also specify additional options on the SPOOLF;PRINT command if you want to change something. For more details, see :HELP SPOOLF or :HELP SPOOLF ALL.


Copyright The 3000 NewsWire. All rights reserved.