forsyth20121205-174063a80cc13 years agoHistory
120 lines · 2.9 KB · Text
RawDownload
.TH BRUTUS 1.SH NAMEbrutus \- screen editor with support for SGML.SH SYNOPSIS.B wm/brutus[.I file].SH DESCRIPTION.I Brutusis a multi-file editor for UTF format text files..PPWhen editing multiple files, each file appears in its own window.Button 1 can be used to make a window current. Within the currentwindow, button 1 selects text.Double clicking selects text up to the boundaries of words, lines,quoted text or bracketed text depending upon the text at the point of thedouble click. Double clicking at the start of a lineselects the entire line. Double clicking just inside various forms ofbrace selects text up to the matching brace, correctly handling nested braces.Button 2 displays a menu of editing commands:.TF snarf.TP.B cutDelete the selected text and save it in the snarf buffer..TP.B pasteReplace the selected text by the contents of the snarf buffer..TP.B snarfSave the selected text in the snarf buffer..TP.B lookSearch forwards and select the next occurrence of the selected text..PD.PPMouse chording is implemented, as in.IR acme (1).Dragging a selection with button-1 held down and then also clickingbutton-2 cuts the selected text into the Snarf buffer.Clicking button-3 instead of button-2 replaces the selected text with the contentsof the Snarf buffer..PPClicking button 3 extracts the whitespace-bounded string around the point of theclick and plumbs it to the appropriate application (see.IR plumber (8))..PPA.I brutusconsole window is always displayed from which new files may be openedor from which existing open files may be selected.Typing.IP.EX.BI / word.EE.PPin the console window will search for the character sequence.I wordin the file associated with the current window. Typing.IP.EX.BI ? word.EE.PPin the console window will search backwards for the character sequence.IR word .If text has been selected in the current window the search begins from theend of the selection if searching forwards and the beginning of the selection ifsearching backwards.If no text has been selected the search begins from the current insertion point.Typing.IP.EX.I linenumber.EE.PPin the console window selects all the text on line.I linenumberand moves the window to show the selected text..SS SGMLIf the first line of a file is exactly:.IP.EX<SGML>.EE.PPit is assumed to be in SGML format and the contents are displayed accordingto some predefined formatting rules. Tags of the form.BI < font . size >are recognised and used to control the visual appearanceof text. The.I fontmay be one of:.BR Roman ,.BR Italic , .BR Bold ,and.B Typegiving normal, italicised, emboldened, and constant width text.The.I sizemay be one of.BR 6 ,.BR 8 ,.BR 10 ,.BR 12 ,or.BR 16 ,and determines the point size of the displayed text..SH PLUMBING.B wm/brutuslistens for.B editmessages and plumbs text selected by button 3.SH SOURCE.B /appl/wm/brutus.b.SH SEE ALSO.IR acme (1),.IR cook (1)