|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
QNX fullscreen Editor
qed [-br] [file [commands...]]
- Browse only — don't allow the user to write the file.
- Restricted. Don't give the user the ability to start a shell or run other commands from the editor.
- 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.
- A list of editor commands to execute on startup.
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.
|This editor is provided “as is” and we don't encourage you to use it.|
Edit the file myfile.c:
Edit the file myfile.c, moving to line 320 on startup:
qed myfile.c 320
- The qed utility uses internal macros for most of its operations. These macros are defined in this file.
- 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.
- > 0
- An error occurred.
Using Editors in the Neutrino User's Guide