Set Command [S]

Qedit 5.7 for HP-UX

Home Previous Next


Set Command [S]

Changes configuration options of Qedit.

SETkeyword [ value ... ]

You can use Qedit in its default mode, as it comes out of the box. To get the most out of Qedit, you will eventually want to try some of the optional features. To see all of the Set options available and their minimal abbreviations, type Verify All at the prompt.

/set modify hp                {select MPE-style modify}
/set visual save on update on {full-screen options}

Each Set command may specify one keyword from among those listed below.

Here is a list of the Set keywords:

Account Where to find Qedified compilers and help files.
Alias Redefine Qedit commands or create new commands.
Autocont Do not abort in batch on errors.
Check Verify Delete or Justify > 5 lines, hold programs.
Decimal Apostrophe means Control Character ('7 = Bell).
DL Reserve memory in DL area for user Procs.
Editinput Remove line noise; allow Roman-8.
Expandtabs Expand tab characters into spaces when Texting.
Extentsize Minimum sectors/extent for Keep and New.
Extprog Attach an external program such as MPEX to Qedit.
Filename Override file names on Help, Hint, Qzmodhlp files.
FORTRAN External files default to FORTRAN, not SPL.
Hints Disable the "hint of the day".
Hppath Override default path for cmd/prog files (MPE V).
Increment Default increment between added lines.
Interactive Override batch/session mode.
Justify Margins and options for justifying and centering.
Keep Format of the next Keep file.
Language Type of program or text to be kept in this file.
Left Left margin for edit, list, keep (default=1).
Length Maximum characters per line for a Lang=Text file.
Lib Default Lib= for the :Run command.
Limits Restricting features of Qedit available to user.
List Format of LP listings; also LJ options.
Modify Type of modify (Robelle, HP or Qzmodify).
Open Default modes for Open Command (Defer, etc.)
Pattern Switch back to old pattern-matching.
Priority Switch Qedit execution to a new MPE subqueue.
Prompt Replace "/" with new prompt string.
Right Right margin for edit, list, keep, etc.
RL Default RL= value for the :Prep command.
Shift Configure how to up- and down-shift.
Spell Configure how spell checks lines and words.
Statistics Print CPU and wall time of each command.
Suspend Whether to suspend on Exit or not.
Tabs Set "tab" key and columns; set on terminal.
Term Adjust number of terminal display columns.
Totals Print number of lines processed by a command.
UDC Recognize User Defined Commands in Qedit.
Undo Disable/enable ability to "undo" changes.
Visual Full-screen options (save fkeys, update, etc.).
Warnings Print warning messages (or not!).
Whichcomp Which COBOL compiler, etc.
Window Rules for string search (columns, upshift, etc.).
Work Default size/function of workfiles.
Wraparound Move words to next line when long line Added.
X Tag changed lines in COBOL file with string.
Zip Configure auto-modify, first, last, all, etc.

To configure Qedit to operate as you like best, put your favorite Set commands in a file named /opt/robelle/qeditmgr. These commands will apply to every user that invokes Qedit. If you can't build /opt/robelle/qeditmgr or you don't think your Set options will appeal to everyone, create the file $HOME/.qeditmgr with your personal Set commands.

A typical configuration file for a COBOL shop might look like this:

{These are default Qedit values for all users:}
set lang cobolx all on {always use 80 columns}
set x date list off    {mark changed lines with date}
set check on           {verify delete/format of >5 lines}
set vis save 1         {Visual saves function keys}
z=listj */last         {define Z command}
set shift down 3 up 3  {shift everything but strings}

Syntax of Set Commands

The syntax descriptions that follow list the initial values. These are also the defaults that are used if you omit values in Set commands. For example:

Set Foo [ ON|OFF ]

(Default: ON)

(Initially: OFF)

The (imaginary) Foo keyword may be set ON or OFF. Initially when Qedit starts up it is OFF. Thereafter, if you type Set Foo without specifying ON or OFF, the default will be as though you had specified ON.

Error Messages

If you type a Set command that Qedit does not understand, you usually get an error message telling you specifically what is wrong, sometimes suggesting valid values. Occasionally you will see the error message

Error: Param.

This is Qedit's catch-all message for when you have typed something that it doesn't like, and cannot guess what you meant.

More:

Account

Alias

Autocont

Check

Decimal

DL size

Editinput

Expandtabs

Extentsize

Extprog

Filename

FORTRAN

Halfbright

Hints

Hppath

Increment

Interactive

Justify

Keep

Language

Left

Length

Lib

Limits

List

Maxdata

Modify

Open

Pattern

Priority

Prompt

Redo

Right

RL file name

Shift

Spell

Statistics

Stringdelimiters

Tabs

Term

Text

Totals

UDC

Undo

Varsub

Visual

Warnings

Whichcomp

Window

Work

Wraparound

X

Zip


Home Previous Next