[Previous] [Contents] [Next]

qed

QNX fullscreen Editor (QNX2)

Syntax:

qed [-br] [file [commands...]]

Options:

-b
Browse only -- do not allow the user to write the file.
-r
Restricted. Do not give the user the ability to start a shell or run other commands from the editor.
file
The name of the file to edit. There is no default; if the editor is started without a file, one will have to be specified within the editor before the text may be saved.
commands
A list of editor commands to execute on startup.

Description:

The qed utility is a fullscreen editor which has been shipped with QNX since the early days of the QNX2 operating system. It has been ported to QNX 4 for the convenience of the many people who have become accustomed to it. However, it is no longer the preferred editor in QNX and its use is deprecated. The qed editor is a niche editor available only on QNX, while other options such as vi and emacs are more universally available.

If you enter this editor by accident, the best way to get out is to hit q Enter while the cursor is on the top command line. Because it was designed for the console with full PC keyboard capabilities, its use is more limited on terminals and many terminfo entries do not describe the capabilities it requires for such basic things as getting back to its command line.

For more information on qed, you'll find a complete HTML manual online.


Note: This editor is provided "as is" and its use is not encouraged.

Examples:

Edit the file myfile.c:

    qed myfile.c

Edit the file myfile.c, moving to line 320 on startup:

    qed myfile.c 320

Files:

/usr/lib/ed.macros
The qed utility uses internal macros for most of its operations. These macros are defined in this file.
/usr/lib/box.macros
This file contains a set of macros for box-drawing within qed using the PC character set line-drawing characters. This file is optional and may not be found on your system.

Exit status:

0
Successful completion.
>0
An error occurred.

See also:

vi, vedit


[Previous] [Contents] [Next]