From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <200907191551.26219.corey@bitworthy.net> References: <200907191551.26219.corey@bitworthy.net> Date: Sun, 19 Jul 2009 16:02:20 -0700 Message-ID: <7d3530220907191602g42d0007dtb223787ca4c64257@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: 27b1d3c0-ead5-11e9-9d60-3106f5b1d025 On Sun, Jul 19, 2009 at 3:51 PM, Corey wrote: > > Ok, so I have my fossil+venti and hopefully soon-to-be cpu and auth-server > booted up for the first time, and I'm in rio as user glenda. > > I'm continuing to follow the docs, which is prompting me to edit plan9.ini for > various things. > > sam is completely opaque to the uninitiated. (I'm a mere vi fanatic) > > Before I go into sitting down and learning sam, it would be nice to simply be > able get the machine running in a minimally satisfactory way, i.e.: network > online, display running at reasonable depth, venti finished, and auth-serv > working. > > Can someone give me just the bare minimal sam command/info that I need to: > > edit a couple lines > close and save properly > > > ... better yet: is there a simple/minimal editor that doesn't require > learning a command language to begin using it first? > > I began by beginning to read through sam_tut.pdf, and I look forward to > gaining proficiency with it... but not at this moment - I just want to get my > new plan9 box running so I can access it remotely. > > As it is, I'm guessing I'm just going to hose my plan9.ini if I try editing it > before I'm well familiar with sam... > > > THanks! > You can use acme if you want. 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. You can basically treat sam like ed with windows, but there are more complex commands available too. Myself, I usually use acme. 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