Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
Thanks for your feedback. Now, I think I am going to start by trying to understand a little about the Dev interface you talk about, and then continue to write a real driver for a gamepad that I have. Is there any documentation that describes this Dev interface? This is a usb gamepad, so probably I

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
> probablly not. the usb stuff is all accessable from userland. usbd > runs in user space as do all the clients of usb -- usb/disk usb/mouse, etc. So, this means that I never have to deal with usb interfaces? Can you point me some documentation about this? Hugo

Re: [9fans] Writing drivers in Plan 9

2008-04-15 Thread hugo rivera
> it should be in the manul pages. try > ; lookman usb Great! thanks Hugo

[9fans] Acme and unicode

2008-05-14 Thread hugo rivera
Hi guys: I hope this is not a very silly question, but I do not remember how to write unicode characters in Acme. I am using plan 9 from user space on FreeBSD. As far as I remember, it was something like Alt+X SOME_NUMBER, but this does not work. Saludos Hugo

Re: [9fans] Acme and unicode

2008-05-15 Thread hugo rivera
Thanks a lot for your help, I am not sure what I was doing, but now everything is ok. Saludos Hugo

[9fans] Running plan 9 on a Toshiba laptop

2008-06-10 Thread hugo rivera
Hi: I downloaded the plan 9 iso image a couple of days ago. I just burned it and booted in a Toshiba with an intel Core2 Duo, with a sata hard drive. When I just run plan 9, without installing it, everything runs ok, but when I choose the install option, it starts loading and the freezes in the "us

Re: [9fans] Running plan 9 on a Toshiba laptop

2008-06-11 Thread hugo rivera
2008/6/10 Lorenzo Fernando Bivens de la Fuente <[EMAIL PROTECTED]>: > Hola! > > Any error message? > What is your disk controller? > Have you read the wiki? Is it supported? > > Does it freeze whether you choose to use DMA or not? > > éxito! > > > &g

Re: [9fans] Running plan 9 on a Toshiba laptop

2008-06-13 Thread hugo rivera
based one, etc... (I am asuming that is the laptop you are > talking about because it is the only toshiba listed on the "previously > on plan 9" section) > > Get the output from lspci on lunix or some other utility on windows or > whatever your usual poison is. > > Su

Re: [9fans] Running plan 9 on a Toshiba laptop

2008-06-20 Thread hugo rivera
yes, I downloaded the cd about 10 days ago. These are the lines that I could find: ahci0 port 0xf0704000: hba sss 0; ncs 31; coal 1; mport 2; led 1; clo 1; ems 0; ich: sata-II with 3 ports and this is the lspci -vvv output: 00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (

Re: [9fans] Writing drivers in Plan 9

2008-09-03 Thread hugo rivera
Sadly I cannot find time for Plan 9 for now. I am just too busy with my job in the university and preparing me for some tests in October. Hopefully I can start this thing in November. 2008/9/3 Tom Lieber <[EMAIL PROTECTED]>: > On Tue, Apr 15, 2008 at 4:40 AM, hugo rivera <[EMAIL PROTE

[9fans] Acme questions

2008-09-10 Thread hugo rivera
Hi: I've been using Acme for a while and I really like it. I am using it on a daily basis and now it is my official text editor and user interface on linux and freebsd. There are three issues that I want to discuss (really meaning suggest): 1. Is it possible to hide an entire column? I think it is

Re: [9fans] Acme questions

2008-09-10 Thread hugo rivera
2008/9/10 erik quanstrom <[EMAIL PROTECTED]>: > no. and you're right, it would be a great feature but it would take > quite a bit of rethinking. Sorry to hear that. > not in the same way. you want to b3 ":-/text/" (no quotes) > in the tag. i'm sure there are other ways to do this. Great, than

Re: [9fans] Acme questions

2008-09-11 Thread hugo rivera
2008/9/10 Pietro Gagliardi <[EMAIL PROTECTED]>: > On Sep 10, 2008, at 10:04 AM, hugo rivera wrote: > I think double-clicking on the box to the left of the column information > line thingy should do it. You mean the small purple box left of the column tag? probably I am doing somet

Re: [9fans] Acme questions

2008-09-11 Thread hugo rivera
2008/9/11 sqweek <[EMAIL PROTECTED]>: > I think Pietro was making a suggestion, rather than explaining the > current state of affairs. Oops. Well, I think is a good suggestion. :-)

[9fans] accessing a network with 9vx

2008-09-26 Thread hugo rivera
Hi there: I just downloaded 9vx and started up on my box. On http://swtch.com/9vx/ it is mentioned that I can access my host's network stack, but I cannot figure out how (or maybe I am not understanding it right?). There is no network interface on /net. Can someone point me some docs on how to conf

Re: [9fans] accessing a network with 9vx

2008-09-26 Thread hugo rivera
Uh, great, thanks 2008/9/26 Brian L. Stuart <[EMAIL PROTECTED]>: >> I just downloaded 9vx and started up on my box. >> On http://swtch.com/9vx/ it is mentioned that I can access my host's >> network stack, but I cannot figure out how (or maybe I am not >> understanding it right?). There is no netw

[9fans] Reading man pages in acme

2008-10-17 Thread hugo rivera
Hello: When one is using acme under plan 9, it is possible to click in a given man page name, for example 9pserve(4), and acme opens immediately in a new window. Well this very nice feature does not work with acme from plan9port (at least not right out the box) not even with plan9port's man pages.

Re: [9fans] Reading man pages in acme

2008-10-18 Thread hugo rivera
ok, thanks 2008/10/17 Uriel <[EMAIL PROTECTED]>: > This has nothing to do with acme, see plumber(4) and /mnt/plumb/rules > > uriel > > On Fri, Oct 17, 2008 at 7:50 PM, hugo rivera <[EMAIL PROTECTED]> wrote: >> Hello: >> When one is using acme under plan 9

[9fans] Acme and spaces in file names

2009-01-14 Thread hugo rivera
Hi guys, I realized that acme gets confused when handling files with spaces in their names, is there an easy way to handle this? I mean, for example, when I paint a file name with an space on it, using the left click, it would be nice that acme could open that file. Obviously removing spaces from m

[9fans] troff bug?

2009-01-15 Thread hugo rivera
Hi, I have written a couple of documents using plan 9's troff utility, but it can be safely assured that I am a troff newbie. Now I have to write some sort of manual, and I am using eqn(1) to write all the formulas and equations, but I ran into trouble as soon as I had to write a ≥ character. First

[9fans] Google Summer of code 2009

2009-02-09 Thread hugo rivera
I heard that there will be a GSoC this year, are there any plans to get plan 9 as a mentoring organization? -- Saludos Hugo

Re: [9fans] Acme and spaces in file names

2009-02-13 Thread hugo rivera
lan B). > > If you cannot find it just drop me a line and I'll copy it again. > > On Wed, Jan 14, 2009 at 4:39 PM, Robert Raschke > wrote: >> On Wed, Jan 14, 2009 at 2:26 PM, hugo rivera wrote: >>> Hi guys, >>> I realized that acme gets confused when h

[9fans] Another acme question

2009-02-18 Thread hugo rivera
Hi, I am not really sure how can this be done, if at all. Lets imagine I have a program in my path, that I want to execute from acme, called New (yes, the same name as the acme's New command). How do I execute it by middle clicking on it without acme thinking I am refering to its own command and, t

Re: [9fans] Another acme question

2009-02-18 Thread hugo rivera
uh, obviously. Sorry for the stupid question and the noise. 2009/2/18, lu...@proxima.alt.za : > > How > > do I execute it by middle clicking on it without acme thinking I am > > refering to its own command and, therefore, creating a new window that > > I never wanted? > > > You type /bin/New, i

[9fans] Mail configuration

2009-02-20 Thread hugo rivera
Hi there, I am using plan9port on linux, and I want to be able to read mail from some account I have in some server running IMAP. Since this is the first time I try to configure a mail client (gmail is just so easy) I have no clue on what exactly I should do or if it is even possible to read mail u

[9fans] spreding the word

2009-02-23 Thread hugo rivera
Well, I made an obvious mistake and sent the last email to the wrong address. I apologize for that. -- Saludos Hugo

Re: [9fans] spreding the word

2009-02-24 Thread hugo rivera
2009/2/23, erik quanstrom : > this seems dated to me #w, #H and #b no longer > exist and the install is now quite different. > > > - erik > > The book seems rather old and somehow outdated, but I think (meaning hope, since my german goes as far as knowing what a maulesel is) that the main design

Re: [9fans] spreding the word

2009-02-24 Thread hugo rivera
> > -- Mensaje reenviado -- > From: hugo rivera > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Date: Mon, 23 Feb 2009 16:41:05 +0100 > Subject: [9fans] spreding the word > Well, > I made an obvious mistake and sent the last email to

[9fans] Acme huge bar

2009-02-26 Thread hugo rivera
Hi all, Sometimes while resizing windows in Acme, I get a very thick bar on top one of the windows. Perhaps something is not being assigned the right value somewhere. There is an image showing the fat bar attached. Bye, -- Hugo <>

Re: [9fans] Acme huge bar

2009-02-26 Thread hugo rivera
OK, I get it, but maybe Acme can force you to show full lines of text instead of increasing the bar width? It just looks a little odd, but nevermind, isn't that important 2009/2/26, Matthew O'Gorman : > its because you dont want half a line of text shown. it can only resize and > have the thin ba

Re: [9fans] Acme huge bar

2009-02-27 Thread hugo rivera
yes. The tag fonts are $PLAN9/font/luc/unicode.7.font and the window fonts are $PLAN9/font/fixed/unicode.6x13.font, from plan9port. They look neat, if you ask me. 2009/2/27, ron minnich : > On Thu, Feb 26, 2009 at 8:58 AM, hugo rivera wrote: > > Hi all, > > Sometimes while resi

Re: [9fans] Acme huge bar

2009-02-28 Thread hugo rivera
yes, I execute Font for each window I want to. OK, got the point, thanks. 2009/2/27 Anthony Sorace : > do you do that by executing Font in each window? > > IIRC, acme tries to move the tag bar a line at a time, but does so > using the sizes of your tag bar font (-f). you'll see this behavior > occ

[9fans] threads vs forks

2009-03-03 Thread hugo rivera
Hi, this is not really a plan 9 question, but since you are the wisest guys I know I am hoping that you can help me. You see, I have to launch many tasks running in parallel (~5000) in a cluster running linux. Each of the task performs some astronomical calculations and I am not pretty sure if usin

Re: [9fans] threads vs forks

2009-03-03 Thread hugo rivera
thanks a lot guys. I think I should study this issue in greater detail. It is not as easy as I tought it would be. 2009/3/3, David Leimbach : > > > On Tue, Mar 3, 2009 at 3:52 AM, hugo rivera wrote: > > Hi, > > this is not really a plan 9 question, but since you are the wis

Re: [9fans] threads vs forks

2009-03-03 Thread hugo rivera
2009/3/3, Uriel : > Oh, and as I mentioned in another thread, in my experience if you are > going to fork, make sure you compile statically, dynamic linking is > almost as evil as pthreads. But this is lunix, so what do you expect? > not much. Wish I could get it done with plan 9. -- Hugo

Re: [9fans] threads vs forks

2009-03-03 Thread hugo rivera
2009/3/3, ron minnich : > > lots of questions first . > > how many cluster nodes. how long do the jobs run. input files or > args? output files? how big? You can't say much with the information > you gave. It is a small cluster, of 6 machines. I think each job runs for a few minutes (~5), take

Re: [9fans] threads vs forks

2009-03-04 Thread hugo rivera
Thanks for the advice. Nevertheless I am in no position to decide what pieces of software the cluster will run, I just have to deal with what I have, but anyway I can suggest other possibilities. 2009/3/4, Vincent Schut : > John Barham wrote: > > > On Tue, Mar 3, 2009 at 3:52 AM,

Re: [9fans] threads vs forks

2009-03-04 Thread hugo rivera
. And I am not really sure if I have access to all the nodes, so I can install pp on each one of them. 2009/3/4, Vincent Schut : > hugo rivera wrote: > > > Thanks for the advice. > > Nevertheless I am in no position to decide what pieces of software the > > cluster will run,

Re: [9fans] threads vs forks

2009-03-04 Thread hugo rivera
you are right. I was totally confused at the beggining. Thanks a lot. 2009/3/4, Vincent Schut : > hugo rivera wrote: > > > The cluster has torque installed as the resource manager. I think it > > runs of top of pbs (an older project). > > As far as I know now I just have t

Re: [9fans] acme Put doesn't save

2009-03-04 Thread hugo rivera
While learning some of acme's basic commands I was also shocked by this, and I agree with Ruda that executing a Put with a non-existent file (e.g. '/home/ruda/a' ;-) should save the contents of the window in that file. Probably there are other ways to do it, like Edit w /home/ruda/a, but the ones

Re: [9fans] acme Put doesn't save

2009-03-04 Thread hugo rivera
2009/3/4, erik quanstrom : > this isn't true. if you click on New and then type something > for a filename you will notice that the tag line box becomes > filled and then click on Put, the file *will* be saved, even if the > file does not exist. It is, if you considered the fact that I was tal

Re: [9fans] GSoC 2009

2009-03-04 Thread hugo rivera
Well, I asked about GSoC 2009 some weeks ago and I got no reply here. I certainly would like to apply as a student, but I am no sure if I qualify (in one hand I am kind of a student, and on the other I probably need to learn a lot more about plan 9). In any case, I would like to see how this evolve

[9fans] C Programming in Plan 9 from Bell Labs

2009-03-06 Thread hugo rivera
Hi, does anyone know of (or has) a pdf (ps) version of Pietro's C Programming in Plan 9 from Bell Labs? I was trying to print it from cat-v.org but for some reason I am not able to do so. Saludos -- Hugo

Re: [9fans] Google Summer of code 2009

2009-03-06 Thread hugo rivera
uh, sorry to hear that. Well, maybe next year... Saludos 2009/3/6, Dave Eckhardt : > > I heard that there will be a GSoC this year, are there > > any plans to get plan 9 as a mentoring organization? > > > There has been some discussion about this among the people who > put together last year's a

Re: [9fans] C Programming in Plan 9 from Bell Labs

2009-03-09 Thread hugo rivera
thank you. 2009/3/8, Pietro Gagliardi : > http://plan9.bell-labs.com/sources/contrib/pietro/programming.pdf > > I uploaded a slightly updated version to > /n/sources/contrib/pietro/programming.ms and updated the > PDF likewise. When I get more time I will further expand the tutorial. > > > --

[9fans] venti conf

2009-03-10 Thread hugo rivera
Hello, I am a little confused about setting up venti (on linux). I followed the instructions found on the wiki, and venti is up. But now I am lost; as far as I understood (from the man pages) I have to run vac every time I want to backup something and then unvac it every time I want to recover it,

Re: [9fans] venti conf

2009-03-10 Thread hugo rivera
2009/3/10, Robert Raschke : > Venti is just a block storage, I think you're wanting to learn about > fossil. But I have no idea if you can run fossil in p9p. I think you can't. -- Hugo

Re: [9fans] venti conf

2009-03-10 Thread hugo rivera
in/vbackup -f -w 4 /dev/lvm/homesnap $lastscore >> > /etc/venti/home.vac.log > echo Finished Venti Snapshot of /home/ericvh `date` >> > /etc/venti/home-time.log > /sbin/lvremove -f /dev/lvm/homesnap > cp -rf /etc/venti/* /home/ericvh/etc/venti > > > On Mar 10, 200

[9fans] unvac bug

2009-03-11 Thread hugo rivera
hi there, there is a strange bug in unvac from p9p. When you vac a file tree with the -a option, to have something like 2009/0311/yourtree, and then you unvac it with "unvac vacfile 2009/0311/yourtree/thefileyouwant", unvac dies with a segmentation fault. Apparently unvac creates the 2009 directory

Re: [9fans] venti conf

2009-03-11 Thread hugo rivera
One other thing, I cannot see venti usage statistics, as pointed in the wiki. hget tells me: hget: too many errors with no progress Connection refused do you know what could be causing this? (for some reason venti is not posting anything in my http port) is there some other way to get the statist

Re: [9fans] testing...

2010-05-06 Thread hugo rivera
I got it. 2010/5/6 EBo (sandien) : > My ISP is migrating email clients and this is apparently breaking my > subscriptions...  Just a test to see if I can get through... > >  EBo -- > > > > -- Hugo

[9fans] portability question

2010-06-16 Thread hugo rivera
Can someone clarify why the program included outputs 'AB00' (as I expect) on 32 bit systems and 'AB00' on 64 bit systems? where all those 1's came from? what's the portable way of doing this? sorry for newbie questions like this. unsigned long l; unsigned char c;

Re: [9fans] portability question

2010-06-16 Thread hugo rivera
2010/6/16 Lucio De Re : > On Wed, Jun 16, 2010 at 11:11:09AM +0200, hugo rivera wrote: > >>         printf("%lX\n", l); > > Would you try %luX?  It may work better? no, or at least not as I intend. It produces '2868903936X' on 32 bit linux and '184

Re: [9fans] portability question

2010-06-17 Thread hugo rivera
Thanks for the feedback. 2010/6/16 Bakul Shah : > On Wed, 16 Jun 2010 11:11:09 +0200 hugo rivera  wrote: >> Can someone clarify why the program included outputs 'AB00' (as I >> expect) on 32 bit systems and 'AB00' on 64 bit systems? >>

[9fans] xml

2010-06-28 Thread hugo rivera
If you haven't heard of XML yet, you must be living under a rock! - Programming in the .NET Environment Taken from the fortunes file. I guess I must be living under a rock, but I don't know what xml is, or pragmatically, what is it for. Please, understand that I'm not trying to start a flame war i

Re: [9fans] xml

2010-06-30 Thread hugo rivera
Now that I had a closer look to xml files, I think I get the main idea. >From my point of view, xml doesn't seem so bad after all (please, please, this is just an uninformed opinion) but perhaps in the future I'll be able to see its defects. -- Hugo

[9fans] regexp doubt

2010-07-13 Thread hugo rivera
Hi, can someone tell me why the regular expression /stat[abc]?[ ;\-]/ doesn't match the string "stat-" in acme? I expect it to match, where does my mistake lie? Saludos, -- Hugo

Re: [9fans] regexp doubt

2010-07-13 Thread hugo rivera
2010/7/13 Vinu Rajashekhar : > > On Tue, Jul 13, 2010 at 8:26 PM, hugo rivera wrote: > It's the [abc]? I guess, it says that you want an a, b, or c after stat. not really, since there's a '?' REP operator there. And it actually matches strings like "stat;" -- Hugo

Re: [9fans] regexp doubt

2010-07-13 Thread hugo rivera
I wasn't searching, but using it with acme's x command. 2010/7/13 erik quanstrom : > On Tue Jul 13 11:13:03 EDT 2010, uai...@gmail.com wrote: >> Hi, >> can someone tell me why the regular expression /stat[abc]?[ ;\-]/ >> doesn't match the string "stat-" in acme? I expect it to match, where >> does

Re: [9fans] regexp doubt

2010-07-13 Thread hugo rivera
both of them yield a regexp: malformed `[]' error. I forgot to mention and I had an alternative solution from the beginning /stat[abc]?([ ;]|-)/ I'm just wondering the reason the original version failed. 2010/7/13 Rodolfo (kix) : > Can you try: > > /stat[abc]?[ ;\\-]/ > > I am not sure (and I do

Re: [9fans] regexp doubt

2010-07-13 Thread hugo rivera
maybe I'm using a buggy version of acme, because /stat[abc]?[- ;]/ also fails with a "malformed" error. And according to the regexp(7) man page, you should be able to precede a '-' with a backslash. 2010/7/13 : >> both of them yield a >> >> regexp: malformed `[]' >> >> error. >> I forgot to ment

Re: [9fans] regexp doubt

2010-07-14 Thread hugo rivera
Yes, I'm using acme from p9p. 2010/7/13 : >> I think you have found a real bug. >> >> I created a new window containing >> >>    x x+ x- xy >> >> and I executed Edit ,x/x[ +\-]/d >> and sure enough it doesn't delete x-. > > Interesting.  Is that in p9p acme?  I just tried it in 9vx > and it did d

Re: [9fans] regexp doubt

2010-07-15 Thread hugo rivera
Thanks to you, guys. 2010/7/14 Russ Cox : > thanks for tracking this down. > fixed in p9p, with some extra names. > sam needs the same changes. > libregexp is okay. > > http://code.swtch.com/plan9port/changeset/239be7f74189 > > russ > > -- Hugo

[9fans] print conversions

2010-08-16 Thread hugo rivera
Hi, I'm trying to print floating point numbers, but I get one extra digit when I use the g verb. Quoting from print(2), "... and precision is the maximum number of significant digits for g and G conversions."; so I expect print("%.2g\n", 1234.567); to produce 1.2e+03 but I get 1.23e+03 it seems tha

Re: [9fans] proceedings

2010-10-13 Thread hugo rivera
http://9fans.net/iwp95e.pdf: The requested URL /iwp95e.pdf was not found on this server. 2010/10/13 erik quanstrom : > raw proceedings posted www.9fans.net/iwp95e.pdf > > -- Hugo

Re: [9fans] proceedings

2010-10-13 Thread hugo rivera
Thanks. 2010/10/13 Jeff Sickel : > http://www.iwp9.org/iwp95e.pdf > > should work for you ... > > On Oct 13, 2010, at 10:26 AM, hugo rivera wrote: > >> http://9fans.net/iwp95e.pdf: >> The requested URL /iwp95e.pdf was not found on this server. >> >> 2010/

[9fans] slides and troff

2010-10-28 Thread hugo rivera
Hello, I'm using Uriel's macros for creating slides with groff (I'm unable to make p9p's troff to work). The slides look fine, but I can't add slide numbers at the bottom of each slide (which I expected to get, since the slide macros seem to modify the ms macro). I've been messing around with troff

Re: [9fans] ACME: can't open file

2011-01-28 Thread hugo rivera
Hi, that should work with *existing* files. 2011/1/28 Nyan Htoo Tin : > > Hi, I'm newbie to plan 9, I followed a newbie-guideline for plan 9. > http://docs.google.com/viewer?a=v&q=cache:QmcfceZ7SaEJ:www.quanstro.net/newbie-guide.pdf+plan+9+newbie&hl=en&pid=bl&srcid=ADGEESgTqzYeNZOLhG2K94Rvow-B5QW7

[9fans] rc file name matching

2011-02-16 Thread hugo rivera
Hi, In rc *hola* matches any file that contains the word 'hola'. Is there any way to match all the files that don't contain 'hola' in its name? with awk and grep it's easy, but I can't figure out with rc. -- Hugo

Re: [9fans] rc file name matching

2011-02-16 Thread hugo rivera
Thanks Erik. 2011/2/16 erik quanstrom : > On Wed Feb 16 09:59:31 EST 2011, uai...@gmail.com wrote: >> Hi, >> In rc >> *hola* >> matches any file that contains the word 'hola'. Is there any way to >> match all the files that don't contain 'hola' in its name? with awk >> and grep it's easy, but I ca

Re: [9fans] rc file name matching

2011-02-16 Thread hugo rivera
I am not restricted to rc only. I was doing something similar to you, but then it occurred to me that perhaps there was an easy way to do it with rc; apparently there isn't ☺ 2011/2/16 Anthony Sorace : > I hadn't thought of erik's answer. I usually end up doing something > like "cat `{ls | grep -v

[9fans] acme Local command on p9p

2011-02-23 Thread hugo rivera
Hello, the man page for acme on p9p reads Local In the Plan 9 acme, this prefix causes a command to be run in acme'sown file name space and environment variable group. On Unix this is impossible... is there any other way to define environment variables for acme while it's running? On plan9, Local

Re: [9fans] acme Local command on p9p

2011-02-23 Thread hugo rivera
> My corporate pc barely allows me to reply emails, so this is not tested ;) > gabi > > On Wed, Feb 23, 2011 at 11:39 AM, hugo rivera wrote: >> >> Hello, >> the man page for acme on p9p reads >> >> Local In the Plan 9 acme, this prefix causes a command to be

[9fans] line numbers in troff

2011-05-19 Thread hugo rivera
Hello, usually, when writting drafts for somebody else to review, its useful to have line numbers printed at the beginning of each line. How would you implement that in troff? I never written a macro in troff, so some basic pointers would be enough for me (e.g. some good troff book). Thanks, -- H

Re: [9fans] line numbers in troff

2011-06-07 Thread hugo rivera
Thanks a lot. 2011/5/19 Charles Forsyth : > .nm 1 turns on line number mode > .nm 0 turns it off > .nn N turns it off for the next N lines > .nm 1 M   numbers every M lines following > > there are other options > > -- Mensaje reenviado -- > From: hugo r

[9fans] troff book

2011-12-02 Thread hugo rivera
Hi, soon I'll begin to write my thesis and I am planing to use troff. I previously wrote some documents with it, mostly with the ms macro, which I think I'll use for the thesis. Can you advice some book about troff with some introduction on how to write troff macros? Saludos y gracias, -- Hugo

Re: [9fans] troff book

2011-12-02 Thread hugo rivera
Thanks for the feedback. I'll have a look at some of those books. 2011/12/2 Steve Simon : > By far the best books on troff (IMHO) are the pair by Gehani and Lally, > Document Formatting and Typesetting on the Unix system, volume 1 and 2. > > They are out of print but available from alibris.com and

Re: [9fans] troff book

2011-12-02 Thread hugo rivera
I think I'll reconsider using troff for my thesis, because some math is sure to come across. But learning more about troff is indeed useful. 2011/12/2 simon softnet : > By the way, I am currently forced to use LaTeX. > It's because formulas look nicer, and also because my current > supervisor asks

Re: [9fans] awk reading?

2011-12-19 Thread hugo rivera
I agree with Ruda. 2011/12/19 Rudolf Sykora : > On 19 December 2011 11:27, dexen deVries wrote: >> just yesterday i've got a glimpse of awk's power and neatness. it's good, >> it's >> useful and i want to dig deeper. what's recommended online reading on awk? > > I believe one of the best pieces

[9fans] venti backup

2012-01-17 Thread hugo rivera
Hello, I've backed up all my *active* arenas in to another disk, just to be safe. The man page says that the index and the bloom filter may be rebuilt if lost. So it seems sufficient to backup my arenas, am I right? saludos, -- Hugo

Re: [9fans] venti backup

2012-01-17 Thread hugo rivera
Great. Thanks. I hope I will never need to use my backed up arenas :-) 2012/1/17 Steve Simon : >> So it seems sufficient to backup my arenas, am I >> right? > > Yes, exactly, I haev done this several times. > > It might take a few hours and some studying of manuals > but the arenas are all you nee

Re: [9fans] venti backup

2012-01-19 Thread hugo rivera
Just to make sure I could rebuild things in case I should, I've tried to recover everything from my backed up arenas, but I failed. I am not sure if things go wrong because the backup per se is wrong or I am making a mistake while recovering from the backup (or both). So this is how I create the ba

Re: [9fans] venti backup

2012-01-20 Thread hugo rivera
There's something weird going on. First checkarenas reports % venti/checkarenas -v /dev/da1s4 arena='arenas00' [802816,537673728) version=5 created=1265030300 modified=1265248834 sealed score=f383ebf9edefe8d37733c8caba6ff53e8b5517b0 clumps=82,908 compressed clumps=22,812 da

Re: [9fans] venti backup

2012-01-20 Thread hugo rivera
Thanks a lot, David, for your detailed reply. I've followed your indications and now I am able to recover from my venti backup :-) I must confess that I am puzzled, because some sizes and most seeks for dd are off by 1 block from what I expect. Particulary, why do you % dd -if arenas2.img -of arena

Re: [9fans] venti backup

2012-01-20 Thread hugo rivera
Does the presence of the trailer imply that I should add an extra block to the arenas backup? If my last arena is arena='arenas059' [31676186624,32213057536) then I should backup 32213057536+8192 bytes instead of 32213057536? 2012/1/20 David du Colombier <0in...@gmail.com>: > This is because eac

Re: [9fans] venti backup

2012-01-23 Thread hugo rivera
OK, thanks a lot for your help! 2012/1/20 David du Colombier <0in...@gmail.com>: >> Does the presence of the trailer imply that I should add an extra >> block to the arenas backup? >> If my last arena is >> >> arena='arenas059' [31676186624,32213057536) >> >> then I should backup 32213057536+8192

Re: [9fans] trailing newline in awk

2012-01-26 Thread hugo rivera
Seems impossible to do in awk, but I could be wrong. In ssam is easy: % ssam -ne 'y/.+\n/p' file prints the last line if it's missing the line feed. 2012/1/26 dexen deVries : > hi list, > > can't wrap my head around this: in an awk script, how to take some action if a > file lacks last trailing

Re: [9fans] the `Look' command in Acme

2012-05-17 Thread hugo rivera
True, but I think he refers to remove it from the tag only, since every time you have to use a Look command you have to retype it followed by the pattern. 2012/5/17 Lucio De Re : >> i've removed the `Look' command from Acme's tag, as i found no use for it. >> anything i'm missing? > > It's a conve

Re: [9fans] Acme: the way the future actually was

2012-09-14 Thread Hugo Rivera
I knew it because I read the paper :-) 2012/9/14 erik quanstrom : > On Fri Sep 14 10:12:24 EDT 2012, charles.fors...@gmail.com wrote: > >> Probably never heard of Oberon either. > > neither is knowledge of oberon ubiquitous among 9fans, who may > not realize that acme itself is a copy. > > - erik

Re: [9fans] c++

2012-11-22 Thread Hugo Rivera
Great, you have my admiration, for what's worth. I truly mean that, no sarcasm or anything alike. It would be much better if I could offer my support instead, and maybe some day I could try to do something similar as you are. 2012/11/22 : >> Of course, it depends on the problem considered. But I

<    1   2