On Sun, Jul 19, 2009 at 4:19 PM, Corey<co...@bitworthy.net> wrote: > On Sunday 19 July 2009 16:02:20 John Floren wrote: >> On Sun, Jul 19, 2009 at 3:51 PM, Corey<co...@bitworthy.net> wrote: > <snip> >> > Can someone give me just the bare minimal sam command/info that I need >> > to: >> > >> > edit a couple lines >> > close and save properly >> > >> You can use acme if you want. >> > > That was my first effort (though it suffered similar issue: must acclimate to > acme before you can configure your new installation) - however, when I > tried to traverse /n/9fat/plan9.ini, acme complained that there was no > such file; so, being completely new to plan 9, my progress at that point > came to a complete standstill. >
Run 9fat: first, then run acme in the same window. Or, run acme, then do the command "Local 9fat:" inside the editor. You need to learn about namespaces. And the task you're setting out to perform is not a difficult one, especially considering that a terminal boots with Acme already showing the readme file--so READ ME. The "Local" trick may be the only part that's not obvious. > >> Otherwise: >> >> % 9fat: >> % sam /n/9fat/plan9.ini >> right click and select the filename, then midclick in the white area >> of the sam window. This should bring up the file. >> Make your changes, then click in the light blue part of the sam >> window. Type 'w' and hit enter, then type 'q' and hit enter. This >> should write and quit. >> > > Thanks - I'll try this. > > > Another quick question: > > Just to be safe, I would like to copy the org plan9.ini before I try to modify > it; so if I hose it, I can move it back; how would I do this? > > > Cheers > % 9fat: #do this if you haven't already % cp /n/9fat/plan9.ini /n/9fat/plan9.ini.bak John -- "I've tried programming Ruby on Rails, following TechCrunch in my RSS reader, and drinking absinthe. It doesn't work. I'm going back to C, Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba