HP3000-L Archives

January 2002, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Francois Desrochers <[log in to unmask]>
Reply To:
Francois Desrochers <[log in to unmask]>
Date:
Wed, 9 Jan 2002 13:26:07 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
Allen,

You ask what's the difference between:

> (1/11):setvar z 'z'
> (1/12):run qedit.pub.robelle;info="t !z"
> Open Scratch File
> T.PUB.SYS

and

> (1/13):run qedit.pub.robelle;parm=900;info="t !z"
> 'Language' is now TEXT
> 18 lines in file

Parm and Info= are there to give instructions to Qedit when it starts up.
When specified, the Parm value has priority over the Info= string. If you
don't specify a Parm value, the Info= string is then parsed and used as the
startup instructions. These instructions can be entered using arguments
using syntax similar to Unix arguments (-option). For example, Info="-p
512 -c 'T !z" means parm=512 (-p) and execute the command "T !z" (-c).

In its simplest form, if you supply only an Info= string without arguments
as you did in your first example, Qedit assumes the Info= string contains
the filename you want to edit. That's why you see the "Open Scratch" message
and the filename is T.PUB.SYS. The "!z" parameter is simply ignored.

In your second example, you're specifying a number of options:

   512 Single file edit only (info= contains name)
   256 Suspend on info=file name and single file edit
   128 Execute Info= string only
     4 Execute INFO string once
  (900)

You probably don't need all these options as some are overlapping. Which
Parm value should you use? Well, it depends what you want to accomplish. In
the end, it seems like you asked Qedit to execute the Info= string and exit.
So, it actually Texted the file "Z" in and terminated immediately.

Since you've entered the Run command from the MPE prompt, "!z" has been
resolved by the CI in both cases but the result was ignored in the first
case and used in the second.

Francois Desrochers
Robelle Solutions Technology Inc.
email: francois<dot>desrochers<at>robelle<dot>com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2