xedit [-toolkitoption ... ] [filename]
The xedit(1) utility provides a window consisting of the following four areas:
The Athena Text widget is used for the three sections of this application that allow text input. The characters typed will go to the Text widget that the pointer cursor is currently over. If the pointer cursor is not over a text widget, the key presses will have no effect on the application. This is also true for the special key sequences that pop-up dialog widgets, so typing Ctrl-s in the file name widget will enable searching in that widget, not the edit widget.
Both the message window and the edit window will create a scrollbar if the text to display is too large to fit in that window. Horizontal scrolling is not allowed by default, but can be turned on through the Text widget's resources, see Athena Widget Set for the exact resource definition.
The following keystroke combinations are defined:
Ctrl-a | Beginning Of Line |
Ctrl-b | Backward Character |
Ctrl-d | Delete Next Character |
Ctrl-e | End Of Line |
Ctrl-f | Forward Character |
Ctrl-g | Multiply Reset |
Ctrl-h | Delete Previous Character |
Ctrl-j | Newline And Indent |
Ctrl-k | Kill To End Of Line |
Ctrl-l | Redraw Display |
Ctrl-m | Newline |
Ctrl-n | Next Line |
Ctrl-o | Newline And Backup |
Ctrl-p | Previous Line |
Ctrl-r | Search/Replace Backward |
Ctrl-s | Search/Replace Forward |
Ctrl-t | Transpose Characters |
Ctrl-u | Multiply by 4 |
Ctrl-v | Next Page |
Ctrl-w | Kill Selection |
Ctrl-y | Unkill |
Ctrl-z | Scroll One Line Up |
Meta-b | Backward Word |
Meta-d | Delete Next Word |
Meta-D | Kill Word |
Meta-f | Forward Word |
Meta-H | Backward Kill Word |
Meta-h | Delete Previous Word |
Meta-i | Insert File |
Meta-k | Kill To End Of Paragraph |
Meta-q | Form Paragraph |
Meta-v | Previous Page |
Meta-y | Insert Current Selection |
Meta-z | Scroll One Line Down |
Meta-> | End Of File |
Meta-< | Beginning Of File |
Meta-[ | Backward Paragraph |
Meta-] | Forward Paragraph |
Meta-Backspace | Delete Previous Word |
Meta-Shift Backspace | Kill Previous Word |
Meta-Delete | Delete Previous Word |
Meta-Shift Delete | Kill Previous Word |
In addition, the pointer can be used to cut and paste text:
Button 1 Down | Start Selection |
Button 1 Motion | Adjust Selection |
Button 1 Up | End Selection (cut) |
Button 2 Down | Insert Current Selection (paste) |
Button 3 Down | Extend Current Selection |
Button 3 Motion | Adjust Selection |
Button 3 Up | End Selection (cut) |
For xedit(1) the available resources are:
Xedit xedit
Paned paned
Paned buttons
Command quit
Command save
Command load
Text filename
Label bc_label
Text messageWindow
Label labelWindow
Text editWindow
X(5)
xrdb(1)
Athena Widget Set