From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <200907191619.20170.corey@bitworthy.net> References: <200907191551.26219.corey@bitworthy.net> <7d3530220907191602g42d0007dtb223787ca4c64257@mail.gmail.com> <200907191619.20170.corey@bitworthy.net> Date: Sun, 19 Jul 2009 16:25:18 -0700 Message-ID: <7d3530220907191625h4baed64cid4d7dfb3dbdd53b7@mail.gmail.com> From: John Floren To: corey@bitworthy.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] first timer - editing plan9.ini Topicbox-Message-UUID: 27c74f7a-ead5-11e9-9d60-3106f5b1d025 On Sun, Jul 19, 2009 at 4:19 PM, Corey wrote: > On Sunday 19 July 2009 16:02:20 John Floren wrote: >> On Sun, Jul 19, 2009 at 3:51 PM, Corey wrote: > >> > 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