Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site tymix.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!oliveb!tymix!granvold From: granvold@tymix.UUCP (Tom Granvold) Newsgroups: net.micro.amiga Subject: Re: Amiga developer speaks, CLI tips, e Message-ID: <557@tymix.UUCP> Date: Mon, 14-Oct-85 12:46:25 EDT Article-I.D.: tymix.557 Posted: Mon Oct 14 12:46:25 1985 Date-Received: Wed, 16-Oct-85 05:28:06 EDT References: <455@puff.UUCP> <148600006@uiucuxc> Reply-To: granvold@tymix.UUCP (Tom Granvold) Followup-To: net.micro.amiga Distribution: net.micro.amiga Organization: Tymnet Inc., Cupertino CA Lines: 71 Keywords: ED and XON Summary: ED and XON answers In article <148600006@uiucuxc> hamilton@uiucuxc.CSO.UIUC.EDU writes: > me too. now, can you tell me the XON character? ^S stops output, >but ^Q doesn't restart it. RETURN restarts, but you get a "bad command" >message later. i've resorted to ^S and ^H, at least until i can 'port >"more". > I had found that ^X restarts output after using ^S. A lucky guess and a thousand monkeys helped in finding this. > does someone have dox for ed? i used the monkey approach here too. >i've got (barely) enough to get by, but i need a lot more. what's >"*(escape?)sa", anyway? i use escape-x-escape to write&quit. if nobody >has better info, i'll post the notes i've made. > The documentation for ED is in the AmigaDOS User's Manual, which probably only the developers have at this time. There are two groups of commands for ED, immediate and extended. The immediate commands use the control key, shown here by '^'. The extended commands are called up by the escape key. Immediate commands: (the characters may either upper or lower case) ^A - Inset line ^B - Delete line ^D - Scroll text down ^E - Move to top or bottom of screen ^F - Flip case ^G - Repeat last extended command line ^H - Delete previous char. ^I - tab ^M - carriage return ^O - Delete word or spaces ^R - Go to end of previous word ^T - Go to start of next word ^U - Scroll text up ^V - Verify screen ^Y - Delete to end of line ^[ - escape ^] - go to start of line Also, the cursor keys work as do , and . Extended commands: (again either upper of lower case works) A - Insert line B - Go to end of file BE - mark end of block BF - backwards file BS - mark start of block CE - Go to end of line CL - Move cursor left one character CR - Move cursot right one character CS - Go to start of line D - Delete line DB - Delete block DC - Delete character E/s/t/ - Change s to t EQ - Query change EX - Extend right margin F /s/ - Find string s I - Insert line IB - Insert copy of block IF/s/ - insert file 'f' J - Join current & next line LC - Distinguish between upper & lower case in searches M n - Go to line #n N - Go to start of next line P - Go to start of previous line Q - Quit, text not saved RP - Repeat S - Split line SA - Save text to file SB - Show block SH - Show information SL n - Set left margin SR n - Set right margin ST n - Set tab distance T - go to top of file U - Undo changes on current line UC - Ignore case in searches WB /s/ - Write block fo file 's' X - Save text and exit When escape is pressed to execute an extended command, the cursor moves to the bottom of the window to take the command and its parameters. Escape is like ':' in VI this way. >>I've had the OS crash when I had the Demos running (line,box,dotty). >>They aren't very robust. Otherwise, I've had no crashes from the >>OS, that I didn't write myself :-) > i've seen several (>8) crashes, only one i wrote myself. > I have also crashed a few times myself. Once was when the tab on the disk was now quite in the write enable position. It was loose and would sometimes enable writes and others disable writes. In trying to copy a disk to it the machine got confused and crashed. Tom Granvold ucbvax!allegra!oliveb!tymix!granvold