Provided by: x11-apps_7.7+2_amd64 

NAME
xedit - simple text editor for X
SYNTAX
xedit [ -toolkitoption ... ] [ filename ... ]
DESCRIPTION
Xedit provides a window consisting of the following four areas:
Commands Section A set of commands that allow you to exit xedit, save the file, or load a new
file into the edit window.
Message Window Displays xedit messages. In addition, this window can be also used as a scratch
pad.
Filename Display Displays the name of the file currently being edited, and whether this file is
Read-Write or Read Only.
Edit Window Displays the text of the file that you are editing or creating.
OPTIONS
Xedit accepts all of the standard X Toolkit command line options (see X(7)). The order of the command
line options is not important.
filename
Specifies the file(s) that are to be loaded during start-up. This is the file which will be
edited. If a file is not specified, xedit lets you load files or create new files after it has
started up.
EDITING
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 has the input focus, or the Text widget that the pointer
cursor is currently over.
The following keystroke combinations are defined:
Ctrl-a Beginning Of Line
Meta-b Backward Word
Ctrl-b Backward Character
Meta-f Forward Word
Ctrl-d Delete Next Character
Meta-i Insert File
Ctrl-e End Of Line
Meta-k Kill To End Of Paragraph
Ctrl-f Forward Character
Meta-q Form Paragraph
Ctrl-g Keyboard Reset
Meta-v Previous Page
Ctrl-h Delete Previous Character
Meta-y Insert Current Selection
Ctrl-j Newline And Indent
Meta-z Scroll One Line Down
Ctrl-k Kill To End Of Line
Meta-d Delete Next Word
Ctrl-l Redraw Display
Meta-D Kill Word
Ctrl-m Newline
Delete Previous Word
Ctrl-n Next Line
Meta-H Backward Kill Word
Ctrl-o Newline And Backup
Meta-< Beginning Of File
Ctrl-p Previous Line
Meta-> End Of File
Ctrl-r Search/Replace Backward
Meta-] Forward Paragraph
Ctrl-s Search/Replace Forward
Meta-[ Backward Paragraph
Ctrl-t Transpose Characters
Ctrl-u [number] Multiply by 4 or number
Meta-Delete Delete Previous Word
Ctrl-v Next Page
Meta-Shift Delete Kill Previous Word
Ctrl-w Kill Selection
Meta-Backspace Delete Previous Word
Ctrl-y Unkill
Kill Previous Word
Ctrl-z Scroll One Line Up
Meta-z Scroll One Line Down
Ctrl-_ Undo
Escape Line Edit Mode
In addition, the pointer may 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)
LINE EDIT MODE
LLiinneeteeddiittfmmooddee commandsshaveathehformat:commands for searching and replacing text in a
[line-number[,line-number]]command[parameters]
Line number may be specified as:
. The current text line.
$ The last line of the file.
number The literal line number.
- or ^ The previous line. Equivalent to -1.
-number or ^number
The current line minus number.
+ The next line. Equivalent to +1.
+number The current line plus number.
, or % From the first to the last line. Equivalent to 1,$.
; From the current to the last line. Equivalent to .,$.
Command may be specified as:
s Substitute text in the specified lines.
/re/ Search forward for the regular expression pattern re.
?re? Search backward for the regular expression pattern re.
Parameters may be specified as:
/re/ Works as a parameter to i or as a command.
/re/text/
Search forward for re and substitute by text.
Options may follow or be parameters, known values are:
i Case insensitive search.
g Globalaultswton1,ematchnwillxbe replaced.ecified, only the nth,
c Confirm before replacing text.
number Replace only the occurrence referenced by number.
Commands accept some variations, examples: /pattern/i
i/pattern/
i/pattern
Search forward for pattern.
,sc/pattern/text
,sc/pattern/text/
,s/pattern/text/c
withctext. entire buffer and ask confirmation to replace pattern
,s/pattern/text/number
defaultstto thecfinumberWhengien,tearnadctnioerlyN rtetyYneoxtamcaetCOMMANDS
Quit xedit displayseatwarninggmessage,.allowingctheguserato savebthem.aved,
Save xeditLnaosvaledorriberusitertaefieleetphreeex>ctfilethemEditawindow. the right
RESOURCES
For xedit the available resources are:
tagsName (Class TagsName)
Defaultevalue ismtags.the tags file to search when loading a new file.
loadTags (Class LoadTags)
Default islTrue. enable or disabling searching for tags files.
enableBackups (Class EnableBackups)
xedititoaatcionpgytthhaetcobraigdoenafile<isuffix>
backupNamePrefix (Class BackupNamePrefix)
defaulteisathatino stringsshalleberprepended. the backup filename. The
backupNameSuffix (Class BackupNameSuffix)
defaulteisatotuseg``~'' as thebsuffix.ded to the backup filename. The
positionFormat (Class Format)
s%%lcps-?p[r0i-n9t]s+nbstheenttll'o'w,edwhtiohints (Class Hints)
displayed inlthe bc_labelgwindow.rated by new lines, that will be
hintsInterval (Class Interval)
windowiwillhbeichanged.in seconds, which the hint string in the bc_label
changedBitmap (Class Bitmap)
thecfilesbeingnedited isechanged.that will be displayed in the fileMenu, when
autoReplace (Class Replace)
c{non-blanks}{blantkos}c[r{esttreinsgi}m]p.leFimealcdrsosareThsepfaoramtaetdmibsy newlines.ng errors, but not\nmacro some long string with \\\n newlines \\\n
bwyneswolmienelsongstringwwithnto by not, and /macro
ispell.dictionaries (Class ispell.Dictionary)
ispelliprogram.tThe defaultavaluemis,"americandamericamed+ english". to the
ispell.dictionary (Class ispell.Dictionary)
Specifies the default dictionary to use.
ispell*<DICTIONARY>.wordChars (Class ispell*Chars)
<dDiIcCtTiIoOnNaArRiYe>ssfriesloduricse.onetofstheadictionariestspecifiedainwthe. The
ispell.ispellCommand (Class ispell.CommandLine)
nReeiysptehlel(`1`)-wm'a'npoapgteifno,rdmeoirteheirnftohrma`t`i-oan''onopisipoenl.lmoptions.u don't
ispell.formatting (Class ispell.TextFormat)
available formatseareftexttandghtml.se while spell checking the file. The
ispell*text.skipLines (Class ispell*text.Skip)
checked.aThisgresourceeisfonly usedainetextnmode. string will not be spell
ispell.terseMode (Class ispell.Terse)
gweonredsatgednetrharteudghthromupnthvailsupeelilst`F`a-lCs'e'.ooption),ror
ispell.lookCommand (Class ispell.CommandLine)
additionaloarguments.aTheodefault programeusedeiso/usr/bin/egrep.ly,
ispell.wordsFile (Class ispell.Words)
/usr/share/dict/words.] to search for alternate words. The default file is
ispell.guessLabel (Class ispell.Status)
ofrone orsmoreewords.hThesdefaultavalueaiswGuess.pell returns a guess list
ispell.missLabel (Class ispell.Status)
orrmoredwordsyto matcheaimisspelleduone.rTheedefaultlvalueris Miss.t of one
ispell.rootLabel (Class ispell.Status)
bfuotlliotwecdanbybeayfsopamcedatnhdrotuhgehraoortoowtRoot:,eandcisonary,
ispell.noneLabel (Class ispell.Status)
valuegisiNone.ed in the ispell status bar when there is no near misses. The default
ispell.compoundLabel (Class ispell.Status)
concatenationyof twotwords.eThesdefaultavaluenishCompound.ing checked is formed by
ispell.okLabel (Class ispell.Status)
TihnitsersfarciedisheOnk.usingrtheecheck buttondinotheixedittispelltionary.
ispell.eofLabel (Class ispell.Status)
The defaultdvalueyis EndtOf File.l status bar when the end of the file is reached.
ispell.repeatLabel (Class ispell.Status)
togethernindthelfile.iThehdefaultlvalueuisbRepeat. two identical words are found
ispell.lookLabel (Class ispell.Status)
tihsepeLlolo.knocnemLmaabnedl.rIefsonuorcreesisltsshoawrn.sfound,btheavaluedofptheing the results of
ispell.workingLabel (Class ispell.Status)
ispell.iTheddefaultdvaluehisi....l status bar while xedit is communicating with
WIDGETS
tihsdegwiivdegnitcerxedihtenasshname
Xedit xedit
Paned paned
Paned buttons
Command quit
Command save
Command load
Text filename
Label bc_label
Text messageWindow
Label labelWindow
Text editWindow
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT stored inethemRESOURCEeMANAGERfproperty.overrides the global resources
FILES
/etc/X11/app-defaults/Xedit
specifies required resources
SEE ALSO
X(7), xrdb(1), Athena Widget Set
RESTRICTIONS
Xedit is not a replacement to Emacs.
COPYRIGHT
CXopyrighta198,uroijgehttsoandrpermissions.
AUTHORS
Paulo CesartPereiraMde Andrade,tThe XFree86 Project
X Version 11 xedit 1.2.1 XEDIT(1)