Re: [9fans] first questions from a lurker

2014-03-16 Thread trebol
Reading your mails, I recommend you to read carefully and patiently all the docs in /says/doc, the man pages, starting with the intros, the great info in cat-v.org and of course the wiki! Don't forget searching in the mail archive, you'll see a lot of info about the things you are asking for (incl

[9fans] NetBSD venti server

2014-07-19 Thread trebol
libX11.so.6 libX11.so create /etc/ld.so.conf: /lib /usr/lib /emul/netbsd32/lib create ptys: # cd /dev # sh MAKEDEV opty For now, all is going like a charm. I hope this will be usefull to someone. Nice summer (Or winter). trebol.

[9fans] Venti on NetBSD64

2014-07-24 Thread trebol

[9fans] Venti on NetBSD64

2014-07-24 Thread trebol
$ cd 9base; make $ mkdir $PLAN9/etc $ cp rc/rc $PLAN9/bin; cp rc/rcmain $PLAN9/etc So the equation is something like: Venti + NetBSD64 = netbsd32_compat40 + p9p from i386 4.0 + 9base's rc I hope in the future I can add '= Plan9' to this mess. trebol.

[9fans] Announcing The Virtual Plan 9 Server Cookbook

2014-08-28 Thread trebol
Hello David.

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-10-15 Thread trebol
For a external imap server, like gmail, you can compile heirloom's mailx with ape. Works nice with the plumber, and setting the pager to cat it integrates nice within acme, a rio window or 9term. I use it also in p9p, until I meet a nice alternative. trebol.

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-10-15 Thread trebol
Steffen Nurpmeso wrote: > trebol wrote: > |For a external imap server, like gmail, you can compile heirloom's mailx > |with ape. Works nice with the plumber, and setting the pager to cat > |it integrates nice within acme, a rio window or 9term. I use it also > > So

[9fans] abaco in linux

2014-10-25 Thread trebol
In linux gcc cries: io.c:23:7: error: assignment to expression with array type arg2 = va_arg(*arg, va_list); I have seen other errors like that in the web, and solutions involving va_copy(). I don't know... I'm just learning but the source seems correct, arg2 is a va_list, and va_arg(*arg, va_l

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-10-31 Thread trebol
Mats Olsson wrote: > Hi all of you! > > Thanks for all the help you've given me to get this far using the Plan > 9 OS on a Raspberry Pi! I can now retrieve mail from the gmail > accounts I've tried. It works well but, even though it doesn't make > sense to me, I can't send e-mail to those account

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-10-31 Thread trebol
You can try other smtp server. If the problem is in the authorization with Google, remember that you can use heirloom's mailx. I compiled it in plan9 some time ago, and I don't remember any trouble. The configuration is a child game. Good luck. trebol.

Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.

2014-11-03 Thread trebol
You must set the dot to all the text (mark all the text, for example type ':,' in the tag line and click it with buttom 3) and then execute in the tag '>upas/smtp -d -a ...' Don't forget the '>', read acme(1). trebol.

Re: [9fans] acme & mouse wheel

2014-11-07 Thread trebol
Have you set the mouse to ps2intellimouse?

[9fans] e0|e01 on regexp(3)

2014-11-14 Thread trebol
s'/_-|_-_|-_|__+ ... and a lot of more cra* ... /__/g' You could expect the output be '__', but it's '__-' So... if you are a retard like me, don't try to be such smart and use various sed commands. trebol.

[9fans] (no subject)

2014-11-24 Thread trebol
Hello everyone. I'm curious about the behavior of rc concatenating null strings (brakes execution on error...). It's a feature, rationally thought-out, or a bug? If anyone can tell me the story behind, I'll be grateful. trebol.

[9fans] rc: null list in concatenation

2014-11-24 Thread trebol
Hello everyone. I'm curious about the behavior of rc concatenating null strings (brakes execution on error...). It's a feature, rationally thought-out, or a bug? If anyone can tell me the story behind, I'll be grateful. trebol. P.D. Sorry for previous mail without subject.

Re: [9fans] rc: null list in concatenation

2014-11-24 Thread trebol
ll strings (brakes >> execution on error...). It's a feature, rationally thought-out, or a bug? >> >> If anyone can tell me the story behind, I'll be grateful. >> >> trebol. >> >> P.D. >> Sorry for previous mail without subject. >> >>

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
, and I think it's important to remember those first steps to improve documentation. I remember the first time I type. $ man bash I had to power off the computer and go to the beach. trebol.

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
> Also, when the '^' is omitted, like in > > $dir(1)^$dir(2) Also, when the '^' is omitted, like in $dir(1)$dir(2) Sorry for the mess...

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
> My be my poor English It's the proof itself!

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread trebol
fully again and again), my fault, sorry again. trebol.

Re: [9fans] Compiling ken-cc on Linux

2015-11-27 Thread trebol
Ryan Gonzalez wrote: > See > https://bitbucket.org/plan9-from-bell-labs/9-cc/issues/1/problems-building-under-x64-linux > for some tips on fixing various errors you may encounter, including this > one. (I opened that issue like 8 months ago...) > > On Wed, Nov 25, 2015 at 11:10 AM, Vasudev Kamath

[9fans] equality sign in Rc

2017-05-13 Thread trebol
some times It feels more like "Frankenstein". trebol.

Re: [9fans] equality sign in Rc

2017-05-13 Thread trebol
No with hyphenation, my friend!

Re: [9fans] equality sign in Rc

2017-05-14 Thread trebol
law!). By the way, do you know how this was designed in the original rc for v10 research unix? I looked some time ago in http://www.tuhs.org/Archive/Distributions/Research/ but there is no source of rc, only documentation. trebol.

Re: [9fans] equality sign in Rc

2017-05-14 Thread trebol
> I see. It seems that you know the code very well. If the variable assignments > are only before a command, why not permit = > after the command? Do you know if is there a thought reason for that? More precisely, "after the start of the command".

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
"c is a counter example" I think he means the opposite.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
Why? the assignment is after the start of the command, so is not an assignment, and with the correction of Erik, now rc admit the use of = after the first word (in the first would be an assignment), so two=2 is just an argument to echo, exactly 'two='2. I like this behavior. trebo

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
> Actually a --fu variable is not that useful in Plan 9: > > % --fu=bar > % echo $--fu > rc: null list in concatenation > % echo "$--fu" > rc: null list in concatenation > % ls /env > '/env/*' > /env/--fu > ... > > So rc can create a variable starting with more than one '-', but can't use it. Th

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
t = after the start of a command? As I said, = in command arguments should be prohibited! trebol.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
't study the code, so I'm talking rubbish. trebol.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
correct. For me the best is making $-fu a syntax error, and let the programmer decide if such an awkward name is worthy of typing quotes everywhere. trebol

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
hat not matching that expression is what is used for "character other than an alphanumeric, underscore, or *". trebol.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
talking about is chars that don't match that expression, I > suppose that not matching > that expression is what is used for > > "character other than an alphanumeric, underscore, or *". > > trebol.

[9fans] Spanish hyphenation in troff

2013-01-18 Thread trebol
Hello all, Anyone know how to get spanish hyphenation in troff? Thanks in advance, trebol.

[9fans] Spanish hyphenation in troff

2013-01-18 Thread trebol
Thanks Gorka, but I've tried that with ftp.ctan.org/pub/tex/language/hyphenation/eshyph.tex and all I've is: assertion failed: file n8.c:543 I'm new to plan9, so I'm a little lost. Sorry if this is an obvious/common task. trebol.

[9fans] Spanish hyphenation in troff

2013-01-18 Thread trebol
o work with troff. Anyone has compiled heirloom troff with APE? And thanks for your responses, trebol.

[9fans] chess?

2013-02-10 Thread trebol
Hello all, How do you play chess with plan9? I saw a gnuchess version in the games's man page of the first edition: doc.cat-v.org/plan_9/1st_edition/manual.pdf Any board also? Thanks in advance, trebol.

[9fans] Disk backup?

2013-03-24 Thread trebol
anks in advance, trebol.

[9fans] Disk backup?

2013-03-24 Thread trebol
ce; and keep reading the documentation, but I think in the future I'll ask the list about the correct restoration of the dump. Thanks a lot! trebol.

[9fans] Disk backup?

2013-03-26 Thread trebol
(linux). So my questions are: - Is there a way to simulate the incremental backup feature of gnu tar? - Is possible to restore the system in a new disk with this copy of dump? - What do you recommend me for send the tar file, ssh, nfs or other thing? thanks, trebol.

[9fans] documentation suggestion

2013-03-31 Thread trebol
be in the man pages. Regards, trebol.

[9fans] documentation suggestion

2013-04-01 Thread trebol
On Mon, Apr 01, 2013 at 08:08:18AM +0200, Peter A. Cejchan wrote: > to save my time, could you, please, share that trick? Thanks, > > ++pac Hello Peter, I suppose my English is too bad. The trick I was talking about is the dragging feature itself, sorry.

[9fans] Spanish spell

2013-04-06 Thread trebol
Hello everyone, Anyone have a Spanish dict for sprog, or can tell me what is the best way to make one using a spell|aspell|hunspell one? Is this possible or is sprog designed only for ASCII? Regards, trebol.

[9fans] Spanish spell

2013-04-07 Thread trebol
I see, sprog is based on unix's spell, so no Spanish spell checking for me... Anyone has ported international ispell to plan9? I don't see anything in contrib neither 9fans's archives.

[9fans] International Ispell in Plan9

2013-04-10 Thread trebol
#define TERMLIB "-lcurses" #define REGLIB "" #undef NO8BIT #define WORDS "/usr/trebol/local/share/dict/words" #define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash,EXTRADICT=} {espaƱol}

[9fans] International Ispell in Plan9

2013-04-11 Thread trebol
> And you can have '>> /personal/dictionary/path' [...] Sorry, this must be 'echo >> /personal/dictionary/path' and make a 2-1 mouse chord. Regards, trebol.

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
On Thu, Apr 11, 2013 at 07:57:13PM +0200, Nemo wrote: > you could put it in sources, if not yet there. I want to put order in this mess before put it in sources. I change the for loop to work in the output of ispell instead, and now ispell works only one time in terse mode. The script is now muc

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
e last line in a input without \n now doesn't stay out of the check. I have looked in the acme scripts a lot and I can't find any example of getting the dot address, only in c code. If anyone knows how to make it in rc, I will be very grateful. I think with the feature of selecting a address in the output of the script executed to any selected text in a window, and pointing the cursor in the right position, the work will be finish. I'm learning a lot about Plan9, acme, rc, awk, sed ... perhaps I should have to wait until I have the skills and knowledge about programming and Plan9 before posting anything like this in the list, but I thought this could be useful for someone. Regards, trebol.

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
The script don't work, and has serious mistakes in its approach. I will fix it soon. Regards, trebol.

[9fans] International Ispell in Plan9

2013-04-13 Thread trebol
way it's going to be keep learning C (just 3th chapter of K&R for now...) and make a simple C program to make the work and put it in /acme/bin for future use in scripts, and maybe substitute the script with a faster program. Regards, trebol. //

[9fans] cwfs64x+cryptsetup+mirror?

2013-05-23 Thread trebol
Hello everyone, Anyone has used cryptsetup with cwfs64x and fs's mirror feature? Any reliability problems? Also, weeks ago I send a mail to cont...@plan9.bell-labs.com without response. I would like to share some ape ports and dictionaries for dict. Thanks in advance. Regards, trebol.

[9fans] cwfs64x+cryptsetup+mirror?

2013-05-25 Thread trebol
x27;s experiences. > the usual technique is to email geoff at plan9..bell-labs.com > and ask for a contrib directory and an account. Thanks Steve. I'm putting order in my staff and learning to make proper mk installations. When I finish this I will email geoff. Regards, trebol.

[9fans] cryptsetup

2013-05-27 Thread trebol
so, I don't find anything about cryptsetup outside 9front. Is it possible to use it in the original Plan9? Thanks in advance, trebol.

[9fans] cryptsetup

2013-05-27 Thread trebol
the idea of have my data exposed. Regards, trebol.

[9fans] PBSR...EI

2013-05-29 Thread trebol
Hello everyone, I would like to install the official Plan9 distro but the boot process stop at PBSR...EI. This is a amd k8 machine, but before I tried in a old pentium III with similar error. Is this a pbs error, or is 9load who fails? Also, I tried erik quanstrom's 9atom and boot but: - If I

[9fans] PBSR...EI

2013-05-29 Thread trebol
keeps filling the screen making impossible the installation. Can I boot the official Plan9 with your bootloader? Regards, trebol.

[9fans] PBSR...EI

2013-06-01 Thread trebol
ting the fossil partition: /boot/kfs does not exists I have tried putting the 9atom kernel in 9fat, but things get even worst. Any help will be very appreciated. Regards, trebol. This is the 9atom installer's output: warning: cannot set uid on /n/newfs/adm/

[9fans] PBSR...EI

2013-06-02 Thread trebol
So I have official plan9 root with 9load, pbslba and 9pf from old 9spirit iso. I know those are patches from erik, so the best would be use his new kernel, but the cpu0:spurious interrupt ... is a little intimidating to an ignorant like me. I will try his new iso, and thanks erik. Regards, trebol.

[9fans] PBSR...EI

2013-06-11 Thread trebol
t and report... I hope in the future to be of more help. When I have time I will try installing Plan 9 in the other machine that fails with PBSR... (an old PentiumIII). Regards, trebol.

[9fans] Spell checking with acme in p9p

2013-12-15 Thread trebol
ot;-Tutf8". I was going to ask for a directory in sources, but I haven't see any interest in those things in the list. I hope that this will help you. The script and spout's source are small, so I'm going to paste both here. trebol. #!/usr/local/plan9/bi

[9fans] rc and spaces in file names

2013-12-20 Thread trebol
#x27; ' for(i in Plan*){cp $i `{echo $i | sed 's/lan/LAN/'}} term% ls P* 'PLAN 9' 'PLAN B' 'Plan 9' 'Plan B' With p9p is the same. I'll appreciate If anyone can tell me why. trebol.

[9fans] rc and spaces in file names

2013-12-20 Thread trebol
Ok, thanks to both. I got confused with this part of rc(1): `{command} rc executes the command and reads its standard output, splitting it into a list of arguments, using characters in $ifs as separators. If $ifs is not otherwise set, i

[9fans] print(2)'s format

2014-03-02 Thread trebol
so I tried with seq, like '9 seq -f%03.0f $i $i' or -f%03g, getting the desired output in P9P, but discovering that in Plan9, the floating point verbs doesn't include the flag '0'. I'm really curious about this. Anyone knows the reason of letting out this flag (and including it in P9P)? Regards, trebol.