From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <28267-1295587019-819585@sneakemail.com> Date: Thu, 20 Jan 2011 21:17:27 -0800 From: 6o205zd02@sneakemail.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: 9fans@9fans.net References: <86r5c63lx3.fsf@cmarib.ramside> In-Reply-To: <86r5c63lx3.fsf@cmarib.ramside> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] help wanted: Acme dump file format & hello from a 9oobie Topicbox-Message-UUID: 9fe4c7e8-ead6-11e9-9d60-3106f5b1d025 That drove me crazy in plan9port too. I sent a series of patches to address the various issues as I discovered them to Russ Cox and he applied them to the plan9port tree. I don't know if they all got transferred to plan9 or not (I rarely have an opportunity or need to use real plan9). You might want to compare the acme sources (especially rows.c) between plan9port and plan9. I don't know of any documentation of the dump file format, but its not too difficult to figure out from looking at the code for rowdump and rowload in acme/rows.c. - Peter Canning On 1/20/2011 8:44 PM, smiley-at-zenzebra.mv.com |9fans| wrote: > Hello! > > I'm new to Plan 9. I just performed my first install last weekend. > [pause for applause] So far, there are some things that I LOVE about the > OS, some things I'm still getting used to, and some things that are just > driving me batty! Like in any new relationship, I am trying to move > things from the "driving me batty" category to the "getting used to" > category. :) > > One thing that's driving me batty are the Acme "Dump" and "Load" > commands. For some reason, when I "Load" a configuration I just > "Dump"ed, the windows aren't in the same configuration as when I saved > them. (Exact procedure used: arrange windows, Dump, Exit, acme, Load, > grok wrongness). So I tried looking at the contents of the file > acme.dump, to see if I could spot a problem or tweak something to get it > working. > > Unfortunately, I can't seem to find any documentation of the acme.dump > file format anywhere on the interweb. The file contains columns of > unlabeled numbers... mostly small integers... the meaning of which are, > well, not immediately evident. > > Yes, I know the source code is in /sys/src/cmd/acme, somewhere, but I > thought I'd better ask here before combing through a couple thousand > lines of code in a dialect of C I'm not yet familiar with. :) > > So, my noobie question: > > Is there any documentation of the acme.dump file format? > > Or can anybody tell me the format being used in acme.dump? > > Any help would be greatly appreciated! > > (If anyone responds with this information, I'll make sure it gets posted > on the wiki for others to find. Thanks!) >