[Previous] [Contents] [Index] [Next]

qed

QNX fullscreen Editor

Syntax:

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

Options:

-b
Browse only -- don't allow the user to write the file.
-r
Restricted. Don't 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's no default; if the editor is started without a file, one has 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 that's been shipped with QNX since the early days of the QNX 2 operating system. It has been ported to QNX Neutrino for the convenience of the many people who have become accustomed to it. However, it's no longer the preferred editor in QNX Neutrino and its use is deprecated. The qed editor is available only on the QNX OS, while other editors such as vi and emacs are more universally available.

If you enter this editor by accident, the best way to get out is to press 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 don't 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 we don't encourage you to use it.

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 might not be found on your system.

Exit status:

0
Success
> 0
An error occurred.

See also:

elvis, ped, vi

Using Editors in the Neutrino User's Guide


[Previous] [Contents] [Index] [Next]