Qedit 5.8 for HP-UX

User Manual

Doc-To-Help Standard Manual


 

Program and manual copyright © 1977-2008 Robelle Solutions Technology Inc.

Permission is granted to reprint this document (but not for profit), provided that copyright notice is given.

Updated Monday, August 11, 2008

 

 

Qedit and Suprtool are trademarks of Robelle Solutions Technology Inc. Windows is a trademark of Microsoft Corporation. Other product and company names mentioned herein may be the trademarks of their respective owners.

I

Robelle Solutions Technology Inc.

7360 – 137 Street, Suite 372

Surrey, B.C. Canada V3W 1A3

Phone:    604.501.2001

Fax:         604.501.2003

E-mail:    sales@robelle.com

E-mail:    support@robelle.com

Web:      www.robelle.com


Contents

Welcome to Qedit 1

Introduction. 1

Documentation. 2

User Manual 2

Change Notice. 2

Printed Documentation. 2

Customer Support 2

Robelle Newsletter 2

Additional Software. 2

Qcat 3

Qaccess. 3

Compare. 3

Notation. 3

New to Qedit 5.8. 4

Installing Qedit/UX   5

General Installation Notes. 5

Who Should Use These Instructions?. 5

Summary of Installation Steps. 5

Step 1: Log On as Root 5

Step 2: Create Robelle Directory. 6

Step 3: Restore Files. 6

Step 4: Set Up PATH (Optional) 6

Step 5: Start the Qedit for Windows Server (optional) 6

Getting a Quick Start with HP Full-Screen Editing   9

Introduction. 9

Starting Visual Mode. 10

Screen Layout 11

Home Line. 11

Status Line. 11

Text Lines. 11

Template Line. 11

Special Indicator Columns. 12

Using Your Keyboard. 12

Moving the Cursor 12

Editing the Text Lines. 12

Control Functions. 13

Reflection for DOS Keyboards. 13

Other PC Keyboards. 14

Function Keys. 14

Browsing Through Your File. 15

Cut-and-Paste. 16

Cutting Operations. 16

Pasting Operations. 17

Resetting Cut-and-Paste. 17

Copying a Block of Text 17

Cut-and-Paste Between Files. 18

Dividing and Gluing Operations. 18

Dividing Lines in Visual Mode. 18

Gluing Lines in Visual Mode. 19

Excluding Lines From Visual Mode Display. 19

Justifying Lines in Visual Mode. 19

Renumbering Lines. 20

Inserting Blank Lines. 20

Hold Files. 20

Marking Changes Without Using Line Numbers. 20

Paste from a Non-Qedit File. 20

Home Line Commands. 21

Finding Strings. 21

Changing Strings. 22

Help on Visual Mode. 22

Formatting Paragraphs. 22

Undoing Changes in Visual Mode. 22

Refreshing the Screen. 23

Other Line Mode Commands. 23

Truncated Home Line. 23

Exit from Visual 23

Getting a Quick Start with VT Full-Screen Editing   25

Introduction. 25

Home and End keys. 25

Starting Screen Mode. 25

Troubleshooting. 26

Screen Layout 26

Status Line. 27

Text Lines. 27

Message Line. 27

Using Your Keyboard. 28

Moving the Cursor 28

Editing the Text Lines. 29

Control Functions. 29

Browsing Through Your File. 29

Cut-and-Paste. 30

Resetting Cut-and-Paste. 31

Copying a Block of Text 31

Splitting and Joining Lines. 31

Getting a Quick Start with Line Mode Editing   33

Introduction. 33

Adding Lines to a File. 33

Looking at the File. 34

Browsing the File. 35

Searching the File. 35

Editing Lines. 36

Global Changes. 37

Copying Lines. 38

Moving Lines. 38

Deleting Lines. 39

Help Command. 40

Saving the File. 40

Open and Shut for Instant Access. 40

Running Qedit under HP-UX   43

Running Qedit 43

Visual Mode for HP Terminals. 43

Screen Mode for VT Terminals. 44

Edit Several Files at Once. 44

How to Edit Several Files?. 44

Starting a New Scratch File. 44

Configuring Different Shells. 45

Bourne and Korn Shells. 45

C Shell 45

Setting Up a PATH for Qedit 45

Bourne and Korn Shells. 46

C Shell 46

Control Characters and stty. 46

Qeditmgr Configuration Files. 46

Default Set Commands. 47

On-Line vs. Batch Access. 47

Command Line Options. 47

Initial Command Line:  -ccmdstring. 47

Editing a Single File:  -s. 48

Exit with Verify:  -v. 48

"Discard Changes?" on Exit 48

HP-UX Notes. 48

EDITOR Variable. 48

Scratch File. 49

Hold Files. 49

Shell Commands. 49

Shell Command History. 50

Tab Stops. 51

Hardcoded File Names. 51

/opt/robelle/qeditmgr 51

$HOME/.qeditmgr 51

/opt/robelle/help/qedit 51

Visual Mode. 51

Variables that Drive Qedit 52

Setting Variables in Your Shell 52

RCRTMODEL Variable. 53

RPCVERSION Variable. 55

RCRTWIDTH Variable. 55

Function Key Labels. 55

RCRTSTRAPSGH for Handshaking. 56

QEDITMGRTRACE Variable. 56

QEDCURWFILE Variable. 56

QEDSTOREDPWD and QEDPROMPTEDPWD Variables. 56

ROBELLE Environment Variable. 57

Converting Qedit Files with qcat 57

Differences Between MPE and HP-UX.. 57

Open/Shut 58

Current "*" File Name. 58

Missing Features. 58

Qedit for Microsoft Windows  59

Introduction. 59

Server Process. 59

HP-UX 10.0. 59

Port Number 60

Log Files. 61

Console Messages. 61

Access Log. 61

Error Log. 61

Trace Log. 61

Log File Names. 61

Qedit Issues and Solutions  63

Running Qedit with Reflection. 63

Alt-Y vs. :Reflect 63

Form Feed Causing Return/Line Feed. 63

Completion Codes. 64

Controlling the PC.. 64

Accidental Exit from Reflection. 64

Changing the Exit Keystroke. 65

Files without NewLine Characters. 65

Lines, Strings and Ranges. 66

Qedit Commands  69

Introduction. 69

General Notes. 69

Abbreviations. 69

Uppercase or Lowercase. 69

Multiple Commands per Line. 70

Comments on Command Lines. 70

Stopping Commands with Control-Y.. 70

Implicit Commands. 70

Function Keys. 71

Shell Commands. 71

Calculator Commands. 71

Add Command [A] 72

Add (Adding New Lines) 72

Add (Adding a String as a Line) 74

Add (Copying Lines within a File) 74

Add (Moving Lines within a File) 75

Add (Copying Lines Between Files) 75

Append Command [AP] 77

Backward Command [BA/F5] 78

Before Command [B] 79

CD Command [CD] 81

Change Command [C] 82

Change (Changing Strings) 82

Change (Changing Columns) 85

Close Command [CL] 86

Colcopy Command  [COL] 87

Colmove Command  [COLM] 90

Delete Command [D] 93

Destroy Command [DES] 95

Divide Command [DI] 96

:Do Command [DO] 97

Exit Command [E/F8] 98

Find Command [F/F4] 99

Findup Command [FINDU/F3] 100

Form Command  [FORM] 101

Forward Command [FO/F6] 102

Garbage Command [GAR] 103

Glue Command [G] 104

Help Command [H/?] 105

Hold Command [HO] 106

Justify Command [J] 107

Keep Command [K] 113

List Command [L] 116

:Listredo Command [LISTREDO/F7] 126

:Listundo Command [LISTU] 127

LS Command [LS] 128

Lsort Command [LSO] 129

Merge Command [ME] 130

Modify Command [M] 132

New Command [N] 142

Open Command [O] 143

Proc Command [P] 147

Q Command [Q] 148

:Redo Command [REDO] 149

:Reflect Command [REFLECT] 150

Renumber Command [REN] 152

Replace Command [R] 153

Set Command [S] 154

Account 156

Alias. 156

Autocont 158

Check. 158

Decimal 158

DL size. 159

Editinput 159

Expandtabs. 160

Extentsize.