uni-Xedit reference card Line Commands: Type line commands and their operands in the command line area of the edit screen, then press ENTER to execute them. ADD adds one or more blank lines immediately after the current line ADD[n] ALL limits the display to specific lines. Excluded lines are indicated (location and number) in the resulting display. ALL without a target displays all lines. ALL[target] BACKWARD scrolls the screen display toward the beginning of the file BAckward [n] scroll backward n lines [*] scroll to beginning of the file BOTTOM scrolls the screen display twoard theend of the file so that the last line becomes the current line Bottom CANCEL terminates the editing session for all files in the ring (as long as there are no unsaved changes in the files) CANCEL CAPPEND moves the column pointer to the column beyond the last non-blank character in the current line, then appends the specified text. CAppend[text] CDELETE deletes text on thecurrent, or subsequent, lines according to a specified column target CDelete[target] CFIRST shifts the column pointer left to the leftmost column that you can edit CFirst CHANGE searches for a string of characters and changes it to another string. The string change can occur a specified number of times and on more than one line. Change /str-1 [/str-2/[target[nn[nf]]] [* [* ]] CINSERT inserts text on the current line beginning at the column pointer. Existing data automatically shifts to the right. CInsert text CLAST shirts the column pointer right to the rightmost column on the screen that you can edit CLAst CLOCATE moves the column pointer to a specified column target CLocate target CMS executes a Unix shell command from within uni-XEDIT or escapes to the shell for series of commands CMS[string] CMSG writes a message to the command line CMSG[text] COMMAND executes a specified uni-XEDIT command without searching for a synonym or macro of the same name COMMAND string COMPRESS prepares one or more lines ina file for automatic repositioning of data COMPRESS [target] COPY copies one or more lines, starting with the first operand location, to the second operand location; with no operands, copies selected text to the clipboard COpy [target-1 target-2] COVERLAY selectively replaces one or more characters in the current line beginning at the column pointer COVerlay text CREPLACE replaces text on the current line beginning at the column pointer CReplace [text] CURSOR moves the cursor to a specified position on the edit screen CURsor CMdline [colno] [Priority n] Column [priority n] File lineno [colno] [Priority n] Home [Priority n] Screen lineno [colno] [Priority n] DELETE removes one or more lines form the file, beginning with the line and extending to the target, if one is specified. DELETE without a target removes only the current line. DELete [target] DOWN advances the current line toward the end of the file (same as NEXT) Down [n] advance n lines [*] advance to the end of the file DUPLICATE reproduces one line or a group of lines. Duplication starts with the current line, and you can specify how many times the line group of lines should be duplicated DUPlicat [n] [target] EMSG displays a message at the terminal and generates an alarm. the message appears on the message line. EMSG [text] EXPAND repositions compressed data on one or more lines in a file according to the current tab stops EXPAND [target] EXTRACT returns information about SET command options. It is only intended for use in an edit macro. EXTract /option [/option] (see option commands) FILE, FFILE writes the current file to disk and exits the editor. FFILE overwites any other file with the same name even if that file changed since your edit session began. FILE [filename] FFILE [filename] FIND, FINDUP searches forward in the file. FINDUP searches backward in the file. The searcdh stops at the first line that starts with the text specified. Find text FINDUp text FUP text FORWARD scrolls the screen display toward the end of the file FOrward [n] scrolls forward n screens [*] scrolls forward to the end of file GET retrieves all or part of another file (or retrieves data from the temporary data buffer) and places it immediately after the current line in the file you are editing GET[filename[firstline[numlines]]] HELP displays useful information about uni-XEDIT commands and options HELP HEXTYPE displays one or more lines in hew and ASCII HEXType [target] INPUT inputs a single line into the file or enters Uni-Xedit's input mode Input [string] LEFT shifts the edit screen display one or more columns to the left LEft [n] LOCATE moves the current line pointer to the linee defined by a target. You may specify a command to be executed afterword. [Locate] target [command] LOWERCAS converts uppercase letters to lowercase letters on one or more target lines LOWercas [target] MACRO causes uni-Xedit to execute the specified macro MACRO name MARK specifies, adjusts, or cancels text selections in character mode or in a macro MARK [ADJUST] [CANCEL] MOVE transfers one or more lines, starting with the current line, to a location you specify in the file. Original lines are deleted (unlike COPY) MOve target1 target2 MSG displays a message on the message line but does not generate an alarm. MSG [text] NEXT advances the current line toward the end of the file (just like DOWN). Next [n] - n lines [*] - end of file PASTE copies text from clipboard PASTE PCOPY copies selected text in character mode or macro PCOPY PCUT deletes selected text in character mode or macro PCUT PMOVE moves selected text in character mode or macro PMOVE PRESERVE saves the settings of certain SET command options PREServe POWERINPut provides "heads-down" input facility that automatically reformats data POWERIMP PUT, PUTD writes data from the file being edited into another file, PUTD also deletes the old data PUT(PUTD) [target[filename]] QUERY displays the current settings of a SET command option. The information appears on the message line Query option [name] QUIT, QUIT terminates the edit session if no changes have been made to the file. QQUIT terminates even if there are unsaved changes. QUIT (QQuit) READ puts information from the screen onto the uni-REXX program stack. It is only intended for use in a uni-REXX macro READ [Cmdline ] [NOTAG] [All [number]] [TAG] [Nochange [number]] RECOVER restores lines previously removed by the DELETE line command or the D prefix command RECover [n] gets n lines [*] all lines REFRESH refreshes the entire screen display, useful when an operating system message is covering a portion of the screen REFRESH REPEAT advances the current line forward (or backward) a single line and reexecutes the command. Works for one line or a range of lines REPEat [target] REPLACE replaces the contents of the current line with text you specify REplace [text] RESET removes pending prefix commands RESET RESTORE restores the editor config to what it was before the last PRESEERVE command RESTore RGTLEFT shifts the display screen to the right or left one or more columns RGTLEFT [n] RIGHT shifts edit screen one or more columns right Right [n] SAVE, SSAVE writes the current file to disk, optionally with a file name you specify. SSAVE overwrites any other file with the same name. SAVE (SSave) [filename] SCHANGE changes the PF key default assigned for the selective change operation SCHANGE keynumber SET SET command options control the current editing environment. [SET] option SHELL executes a unix shell command or escapes to the shell for a series of commands SHELL [string] SHIFT moves data one or more columns to the left or right SHift Left [cols] [target] Right SORT reorders lines in the file you are editing, only reorders complete records SORT target[A] sort-fld-1 [sort-fld-n] [D] SOS provides high-level functions to assign to PF keys or use in macros SOS option where option is: Alarm CLEAR LINEAdd LINEDel NUlls[ON/OFF] PF n POP PUSH TABB [n] TABCmd TABCMDB TABCMDF TABF [n] SPLTJOIN splits a line into two lines or joins two lines depending on the cursor location SPLTJOIN STATUS displays the current settings of the SET command options or places them in a file STATus [filename] TOP scrolls screen display to beginning of file TOP UP advances the current line toward the top of the file Up [n] - n lines [*] - to top UPPERCAS converts lowercase letters to uppercase in one or more lines UPPercas [target] XEDIT adds a file to the edit ring, cycles through the files in the edit ring, or moves a specific file in the ring Xedit [filename] [-Prof profname] [-NOProf] = re-executes the last command entered, or executes a specified command before re-execution = [command] ? redisplays commands from the command buffer. type one or more ?'s to show more commands ! executes a Unix shell command or escapes to the shell for a series of commands ![string] & executes and redisplays Xedit line commands & command