Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
tch that expression, I > suppose that 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
ion is what is used for "character other than an alphanumeric, underscore, or *". trebol.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
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
de, so I'm talking rubbish. trebol.

Re: [9fans] equality sign in Rc

2017-05-15 Thread trebol
wer to my silly question: why not permit = 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
> 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.

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. trebol > Gi

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-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-14 Thread trebol
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-13 Thread trebol
No with hyphenation, my friend!

[9fans] equality sign in Rc

2017-05-13 Thread trebol
It feels more like "Frankenstein". 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

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
again and again), my fault, sorry again. 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
-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.

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

2014-11-14 Thread trebol
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.

Re: [9fans] acme mouse wheel

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

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] Setting up Mail in Acme on the Raspberry Pi.

2014-10-31 Thread trebol
Mats Olsson plan9@gmail.com 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

[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,

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 sdao...@yandex.com wrote: trebol tre...@india.com 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

[9fans] Announcing The Virtual Plan 9 Server Cookbook

2014-08-28 Thread trebol
Hello David.

[9fans] Venti on NetBSD64

2014-07-24 Thread trebol

[9fans] Venti on NetBSD64

2014-07-24 Thread trebol
$ 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] NetBSD venti server

2014-07-19 Thread trebol
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.

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

[9fans] print(2)'s format

2014-03-02 Thread trebol
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.

[9fans] rc and spaces in file names

2013-12-20 Thread trebol
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,

[9fans] Spell checking with acme in p9p

2013-12-15 Thread trebol
. The script and spout's source are small, so I'm going to paste both here. trebol. #!/usr/local/plan9/bin/rc # Don't forget to check the path! # aispell_p9p rm -f /tmp/$pid^'.'aispell spellpgr=aspell args=() spellflags=() for(x){ switch($x){ case -d* spellflags

[9fans] PBSR...EI

2013-06-11 Thread trebol
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] PBSR...EI

2013-06-02 Thread trebol
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-01 Thread trebol
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/secstore warning: cannot set uid on /n

[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
the installation. Can I boot the official Plan9 with your bootloader? Regards, trebol.

[9fans] cryptsetup

2013-05-27 Thread trebol
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
, 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] International Ispell in Plan9

2013-04-13 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
to be keep learning C (just 3th chapter of KR 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. // // #!/bin/rc rm -f /tmp

[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

[9fans] International Ispell in Plan9

2013-04-12 Thread trebol
this in the list, but I thought this could be useful for someone. Regards, trebol.

[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-10 Thread trebol
#define REGLIB #undef NO8BIT #define WORDS /usr/trebol/local/share/dict/words #define LANGUAGES {american,MASTERDICTS=american.med,HASHFILES=americanmed.hash,EXTRADICT=} {espaƱol} /* * Important directory paths. If you change MAN45DIR from

[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] 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] 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] documentation suggestion

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

[9fans] Disk backup?

2013-03-26 Thread trebol
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] Disk backup?

2013-03-24 Thread trebol
, trebol.

[9fans] Disk backup?

2013-03-24 Thread trebol
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] 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] 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
troff with APE? And thanks for your responses, trebol.