Re: [9fans] Plan 9 from User Space still mantained?

2024-06-20 Thread dexen deVries
>warnings the compiler wrapper provided silences quite a lot of warnings (https://github.com/9fans/plan9port/blob/master/bin/9c#L42 to #L84) and the list grows over time. >acme has been rock solid for me. last hiccups were several years ago, related to some X wonkyness. >reliability a couple gotc

[9fans] Rc here documents in function

2019-07-01 Thread dexen deVries
is there a patch for Rc out there that lets it handle here documents inside a function body? -- dx

[9fans] Upas and Message-ID?

2018-11-30 Thread dexen deVries
by chance found[1] the following passage: >(...) and the Bell Labs upas mailer never creates Message-ID. out of curiosity, any particular rationale behind that? [1] https://cr.yp.to/immhf/thread.html

[9fans] pass list from Rc to awk (p9p vs plan9)

2018-08-17 Thread dexen deVries
mental note, as it took me a second to put it together: #!/usr/bin/env rc flag e + myList = ( aa bb cc) awk ' BEGIN { split(ENVIRON["myList"], myList, "\001") # "\000" on plan9 proper for (n in myList) print n, myList[n] } '

Re: [9fans] What are you using Plan 9 for?

2018-06-21 Thread dexen deVries
i'm using plan9port (thanks, rsc) on linux for some 8 years now, for all coding - mostly low-brow web dev primarily Acme as IDE, Rc and awk for scripting the necessary tooling back when i was stuck at a corpo and had to use Windows on workstation, i installed p9p on one of build servers and ran Ac

[9fans] Acme - built in command; external command

2018-04-27 Thread dexen deVries
is it possible to execute built-in command and external command with one mouse click in Acme? something like: Putall; mk

Re: [9fans] simple rc problem in p9p (on OpenBSD)

2018-04-26 Thread dexen deVries
use a list. lists are created either by the parentheses: % w = ( A B C ) % # note no space before the backslash % wMultiline = (\ X\ Y\ Z\ ) % echo $w $wMultiline A B C X Y Z % for(i in $w) {echo $i; echo XXX} A XXX B XXX C XXX or by globbing: % text_files = *.txt or by expanding a whitespaced t

[9fans] Acme: moving the cursor to tag line

2018-04-19 Thread dexen deVries
i've realized i never use the Esc key in Acme. meanwhile, i often go through cycle of: - type chunk of code - grab mouse, focus tag line - type a command - grab mouse, execute the command would it make more sense to have Esc function as the "position cursor & focus at the end of tag line of the cu

[9fans] test(1) support for string length (-l) in p9p?

2018-04-10 Thread dexen deVries
the man page of test(1) mentions "-l string" as string length operator for -eq, -gt, etc. but there seems to be nothing in the plan9port's src/cmd/test.c, nor in 9p.io/sources/cmd/test.c is there any implementation of this floating around?

[9fans] awk handling NUL-terminated records

2017-06-07 Thread dexen deVries
i was mildly surprised that p9p awk handles NUL-terminated records just fine. either via -v 'RS=\0', or via BEGIN { RS="\0" } needed it to handle output of git status --porcelain=v2

Re: [9fans] Acme Edit to remove lines

2017-05-26 Thread dexen deVries
thanks, that did the trick indeed.

[9fans] Acme Edit to remove lines

2017-05-26 Thread dexen deVries
given multi-line dot, spanning only part of a file, how do i construct an Edit command to remove lines matching certain regular expression? wanted to delete lines starting with one particular character; without leaving an empty line behind, thus Edit s/X.+//d is not sufficient.

[9fans] equality sign in Rc

2017-05-01 Thread dexen deVries
does anybody have a version of Rc that allows unquoted equality sign? having to quote the character get a bit annoying on POSIX systems (plan9port)

[9fans] Slack via Acme?

2017-04-03 Thread dexen deVries
was there any attempt at using Slack through Acme? the default desktop GUI, a browser AFAICT, is taking 1+ GB of RAM after a few hours

[9fans] rc expression question

2017-03-31 Thread dexen deVries
given pathnames = ( foo/a.txt bar/b.txt baz/c.txt ) how do i construct arguments to test(1) that test for existence of those files in one go? wanted: test -e foo/a.txt -o -e bar/b.txt -o -e baz/c.txt assuming the pathnames may contain space characters.

Re: [9fans] linux / p9p abomination

2017-03-01 Thread dexen deVries
rc is a thing of beauty. apologies for HTML in the previous message. On Wed, Mar 1, 2017 at 1:10 PM, erik quanstrom wrote: >> while (true) >> if ($watch) >> while (!$cmd) >> $watch || true > > rc allows empty conditionals, which are true. > > - erik >

[9fans] linux / p9p abomination

2017-03-01 Thread dexen deVries
runs build upon file change, repeats on failure #!/usr/bin/env rc flag e + cmd = ( $* ) watch = ( inotifywait -q --recursive -e modify -e moved_to -e create -t 3 . ) while (true) if ($watch) while (!$cmd) $watch || true

[9fans] Rc redirect woes

2015-08-04 Thread dexen deVries
bug in plan9port rc(1): straightforward mix of input and output redirects inside of a block (`for' loop, `if' clase) causes subsequent commands' stdout to be errorously redirected too. the trigger is one or more input redirects (<{COMMAND}). problem disappears once executions falls outside of the b

Re: [9fans] Plumbing - Files with spaces

2015-07-22 Thread dexen deVries
there is trfs(4), not sure if applicable to plan9port. trfs - translate spaces and other runes in file names file system http://9p.io/magic/webls?dir=/sources/contrib/nemo

Re: [9fans] Acme 2-1 chord arguments

2015-07-15 Thread dexen deVries
dirty 1.) rc -c 'git '^ note the space after git idiomatic 1.) use win(1), pass 'command' argument a script which executes git for each line of input as arguments through rc(1) to evaluate the arguments in the usual way 2.) you can pass complex regular expression as argument to grep(1), without r

Re: [9fans] make passive aggressive gcc

2015-06-15 Thread dexen deVries
> > I don't know what gcc authors are smoking, but "strcpy(tmp, > "what.");" will be compiled to a few mov instructions with -O0, while > -Os still has a call to strcpy, just the way it *should* always be, > imho. not that it's any excuse, but -fno-builtin helps. On Mon, Jun 15, 2015 at 4:56 PM,

[9fans] mk - how to work around environment size limit on linux

2015-05-25 Thread dexen deVries
i'm using plan9port mk on linux and just hit the environment+argument length limit -- linux' execve($PLAN9/bin/rc, ... ) returns E2BIG because $newprereq gets too large. how do i work around? is there an idiomatic way of splitting up $newprereq into smaller chunks? the mkfile is: TIMESTAMP_FILE:

[9fans] p9p Acme - how to turn off output output buffering

2014-11-28 Thread dexen deVries
how do i turn off output buffering in p9p Acme for particular fd? a braindead linux application does dup(2), and proceeds using FD 3 as error output, which results in buffered output in Acme.

Re: [9fans] $ifs equivalent in mk?

2014-06-12 Thread dexen deVries
On Thursday 12 of June 2014 07:59:45 erik quanstrom wrote: > > great. glad that worked. though it is always a bit sad > when one has to outwit one's tools. > still better than managing an anthill^W^W a pile of .xml `build specs' -- dexen deVries [[[↓][→]]]

Re: [9fans] $ifs equivalent in mk?

2014-06-12 Thread dexen deVries
27;''/g; s/^|$/''/g' } or alljs=`{find -name '*.js' | 9 sed 's/^|$|''/&''/g' } -- dexen deVries [[[↓][→]]]

Re: [9fans] $ifs equivalent in mk?

2014-06-12 Thread dexen deVries
> echo $i > ; mk > echo ./a b|wc > for(i in ./a b) > echo $i > 1 2 6 > ./a b here the var is processed by Rc inside recipe; in my case i need it processed by Mk inside prerequisite list -- dexen deVries [[[↓][→]]]

[9fans] $ifs equivalent in mk?

2014-06-12 Thread dexen deVries
equivalent be done in Mk? -- dexen deVries [[[↓][→]]]

Re: [9fans] Plan9 users in Poland

2014-04-11 Thread dexen deVries
On Friday 11 of April 2014 13:28:05 Szymon Olewniczak wrote: > I'm very curious about that so I would like to ask if there are any Plan > 9 users in Poland or am I the only one in my entire country? cheers, using plan9port, toying with 9front. -- dexen deVries [[[↓][→]]]

Re: [9fans] New internal command for acme proposal (with implementations)

2014-02-05 Thread dexen deVries
nsible and customizable for *your* needs. right now Acme is fast enough. right now Acme uses fonts simple enough to be easily converted from other fonts. ...and the list goes on... [1] http://lab-fgb.com/abaco/ -- dexen deVries [[[↓][→]]]

Re: [9fans] New internal command for acme proposal (with implementations)

2014-01-24 Thread dexen deVries
to the end. this plays well with double-click on any open/close parenthesis/bracket/brace. to quickly move to the other end of code block etc. -- dexen deVries [[[↓][→]]]

Re: [9fans] devdraw memory corruption

2014-01-14 Thread dexen deVries
the breakage stops. -- dexen deVries [[[↓][→]]] <>

Re: [9fans] Acme, dump, and $HOME

2014-01-13 Thread dexen deVries
sion. > A one line change to looking at $PWD instead of $HOME makes acme much more > useful for my case, but am I missing an important other use? from acme(1): Dump Write the state of acme to the file name, if specified, or $home/acme.dump by default. i.e., Dump takes one optional argument: file pathname. -- dexen deVries [[[↓][→]]]

Re: [9fans] [p9p] restart program on Acme Load

2014-01-10 Thread dexen deVries
e close -- but the `git gui' was started in wrong dir -- in Acme's getwd() rather than window's directory. -- dexen deVries [[[↓][→]]]

Re: [9fans] 9P on FPGA?

2014-01-10 Thread dexen deVries
tion may be somewhat coupled to inferno and/or Nios. > But I imagine you're looking for something lower level? anything goes, Verilog preferred. i'm simply trying to learn something new :^) -- dexen deVries [[[↓][→]]]

[9fans] 9P on FPGA?

2014-01-10 Thread dexen deVries
is there any known 9P implementation for FPGA? or has anyone been working on communicating with FPGAs over 9P? -- dexen deVries [[[↓][→]]]

[9fans] [p9p] restart program on Acme Load

2014-01-10 Thread dexen deVries
is recreated in tag, but the program is not started. -- dexen deVries [[[↓][→]]]

[9fans] not exactly the p9p i was searching for ;-)

2014-01-07 Thread dexen deVries
http://www.spreadshirt.com/p9p-strap-C3376A4329118 oh well. -- dexen deVries [[[↓][→]]]

Re: [9fans] split(1): -e vs. -n, -f [patch]

2013-12-30 Thread dexen deVries
the later is > strange in lieu of `-s' (output file suffix) working just fine. > > that by accident or is there some rationale? -- dexen deVries [[[↓][→]]] >From 01ae77413e4249776124727e797b0172e7874987 Mon Sep 17 00:00:00 2001 From: dexen deVries Date: Mon, 30 Dec 2013 15:47

[9fans] split(1): -e vs. -n, -f

2013-12-30 Thread dexen deVries
file suffix) working just fine. that by accident or is there some rationale? -- dexen deVries [[[↓][→]]]

Re: [9fans] mk time-check/slice issue

2013-12-27 Thread dexen deVries
me say: there is a reason i prefer using p9p (mk, rc, acme) when working on linux -- rather than just linux (or GNU Make, Bash, emacs/vi), with all the assorted bells and whistles. call it zen, call it time saver, i debug my projects, not the meta-projects. commit. -- dexen deVries [[[↓][→]]]

Re: [9fans] Problem with mk

2013-12-19 Thread dexen deVries
the problem is not solved, merely one of the manifestation is eliminated. actual solution requires stating all the dependencies. if your list of sources and/or targets is dynamic, consider using mk include: <| GEN_DEPS where `GEN_DEPS' is your script generating deps in form TARGET: PREREQUISITE O

Re: [9fans] Problem with mk

2013-12-18 Thread dexen deVries
of /command line/ arguments, not of prerequisites. consider: $ NPROC=1 mk my_target also investigate -d[egp] debug stuff. have fun with mk, it's a great little tool :-) -- dexen deVries [[[↓][→]]] Take care of the luxuries and the necessities will take care of themselves. -- L. Long

Re: [9fans] Can't start multiple copies of acme

2013-12-16 Thread dexen deVries
i'm using two Acmes all the time, with: <<<'EOF' #!/usr/bin/env rc flag e + NAMESPACE=`{namespace}^-2 mkdir -p `{namespace} plumber || true exec acme EOF; of course plumber sends to the first copy. -- dexen deVries [[[↓][→]]] Take care of the luxuries and the ne

[9fans] marking lines in Acme

2013-12-11 Thread dexen deVries
ed changes), opens indicated files and marks what has been changed. as of now, the script marks only first changed range in file via selection. any /other/ sensible way of indicating other changes in this file? -- dexen deVries [[[↓][→]]]

[9fans] p9p mk rc help

2013-11-20 Thread dexen deVries
Hi list, apologies for the keyword overload ;-) I have a plan9port mkfile using Rc (MKSHELL=$PLAN9/bin/rc), a recipe contains pipeline: FOO_COMMAND | BAR_COMMAND. What is the correct way of detecting failure exit status of FOO_COMMAND (a networked operation) and ignoring exit status of BAR_COMMA

Re: [9fans] i'm afraid we've had it wrong

2013-09-29 Thread dexen deVries
n the /net is widespread in a bastardized form thanks to the `/dev/tcp/$IP/$PORT' hack in bash. -- dexen deVries [[[↓][→]]] I have seen the Great Pretender and he is not what he seems.

Re: [9fans] how to output NUL byte from awk?

2013-09-17 Thread dexen deVries
On Tuesday 17 of September 2013 12:50:07 erik quanstrom wrote: > On Tue Sep 17 10:04:20 EDT 2013, k...@sciops.net wrote: > > Quoting dexen deVries : > > > awk(1) says, ``[s]tring constants are quoted " ", with the usual C > > > escapes > > > recognized

Re: [9fans] how to output NUL byte from awk?

2013-09-17 Thread dexen deVries
On Tuesday 17 of September 2013 12:50:07 erik quanstrom wrote: > On Tue Sep 17 10:04:20 EDT 2013, k...@sciops.net wrote: > > Quoting dexen deVries : > > > awk(1) says, ``[s]tring constants are quoted " ", with the usual C > > > escapes > > > recognized

Re: [9fans] how to output NUL byte from awk?

2013-09-17 Thread dexen deVries
On Tuesday 17 of September 2013 14:03:11 Kurt H Maier wrote: > Quoting dexen deVries : > > awk(1) says, ``[s]tring constants are quoted " ", with the usual C escapes > > recognized within.'', but \0 seems to terminate internal string > > reprezentation.

[9fans] how to output NUL byte from awk?

2013-09-17 Thread dexen deVries
awk(1) says, ``[s]tring constants are quoted " ", with the usual C escapes recognized within.'', but \0 seems to terminate internal string reprezentation... so how do i output a real NUL byte? -- dexen deVries [[[↓][→]]]

Re: [9fans] Look vs. Edit?

2013-09-11 Thread dexen deVries
ned in /usr/$user/lib/plumbing. i used to have a (now long forgotten) script perform some operation on current Git repository upon B3 on SHA1. -- dexen deVries [[[↓][→]]] Take care of the luxuries and the necessities will take care of themselves. -- L. Long

[9fans] programmable pathname completion in Acme?

2013-09-09 Thread dexen deVries
part. i have a script that takes part of pathname in $1 and returns all (hopefully exactly one) matching pathnames, and i want to plumb the ^F from Acme to it. -- dexen deVries [[[↓][→]]]

Re: [9fans] p9p mk(1) syntax

2013-09-07 Thread dexen deVries
thanks to you both. http://github.com/dexen/plan9port-custom/commit/6a67d4d8c97bc682737ae1cf59544fb4c969a105.patch cinap's version also supports rc block statements; tested with: MKSHELL = rc foo = `{ echo aaa; { date; }; pwd; } bar = `{ echo zzz `{ date } zzz } test:VQ: echo foo $foo

[9fans] p9p mk(1) syntax

2013-09-06 Thread dexen deVries
in p9p mk, this works as expected: foo = `{echo bar} but the following does not -- rc(1) indicates syntax error: foo = `{echo `{echo bar}} strace indicates that mk(1) passes input to rc(1) with no closing braces at all. i'm using MKSHELL = rc. -- dexen deVries [[[↓][→]]] Take care o

[9fans] p9p mk(1) syntax

2013-09-06 Thread dexen deVries
in p9p mk, this works as expected: foo = `{echo bar} but the following does not -- rc(1) indicates syntax error: foo = `{echo `{echo bar}} strace indicates that mk(1) passes input to rc(1) with no closing braces at all. i'm using MKSHELL = rc. -- dexen deVries [[[↓][→]]]

Re: [9fans] [plan9] acme noscrool feature enable

2013-09-02 Thread dexen deVries
Acme, the following scrolls by default, but will pause scrolling when you scroll up so far that the last line of output goes out of window (becomes invisible): win ANY_COMMAND for example: win rc -c 'while (true) date && sleep 1' win ssh dexen@baron -- dexen deVries [[[↓][→]]]

Re: [9fans] [plan9] acme noscrool feature enable

2013-09-02 Thread dexen deVries
: the window scrolls > on output only if the window is displaying the end of the > buffer. -- dexen deVries [[[↓][→]]] Take care of the luxuries and the necessities will take care of themselves. -- L. Long

Re: [9fans] reading addr always returns #0,#0?

2013-09-02 Thread dexen deVries
quot;data" file you > will see the text according to your address. > > I you write the code on C or Go without a closing a descriptor of "addr" > file, everything will be ok :-) or use 9p rdwr: echo -n , | 9p write acme/2/addr echo 'dot=addr' | 9p rdwr acme/2

Re: [9fans] cifs fails on nodes named aux

2013-08-28 Thread dexen deVries
somewhat official specification confirms that -- by not listing those magic files as implied: http://msdn.microsoft.com/en-us/windows/hardware/gg463084 some more info: http://msdn.microsoft.com/en-us/library/aa365247(v=vs.85).aspx#file_and_directory_names -- dexen deVries [[[↓][→]]] Take ca

Re: [9fans] acme: send dot to the stdin of a more complicated command

2013-08-28 Thread dexen deVries
lways append LF: exec /usr/local/plan9/bin/rc <{9p read acme/$id/rdsel;echo;} tested with: echo foo bar rc <{9p read acme/$winid/rdsel; echo; } selecting bare `echo foo bar' (without LF) gives syntax error; selecting whole line works a-OK -- dexen deVries [[[↓][→]]] Take care of the luxuries and the necessities will take care of themselves. -- L. Long

[9fans] [p9p] rc script fails silently in conditional expression calling a function

2013-08-06 Thread dexen deVries
echo SUCCESS if not echo FAIL for contrast, the following script outputs `FAIL' as expected -- the difference being in calling the /bin/false directly in ``if(/bin/false)'' #!/usr/bin/env rc flag e + if (/bin/false) echo SUCCESS if not echo FAIL -- dexe

[9fans] mk: the `D' flag

2013-06-18 Thread dexen deVries
in mk(1), why is the `D' flag (if the recipe exits with a non-null status, the target is deleted) optional, rather than default? i can see why it makes little sense with together `V' flag, but for non-V rules, targeting plain files, i'd like it by default. -- dexen deVries [[[↓][→]]]

Re: [9fans] Win starting rc?

2013-06-11 Thread dexen deVries
t; if bash is started by Win? Thanks again. > > Bash was ported to plan 9? the other way around: http://swtch.com/plan9port/ also p9p mk defaults to bash , so it's good to set MKSHELL=rc on top of mkfiles. -- dexen deVries [[[↓][→]]] I have seen the Great Pretender and he is not what he seems.

Re: [9fans] btcd: A Full Alternative Bitcoin Implementation, Written In Go

2013-05-09 Thread dexen deVries
2]. [1] https://bitcointalk.org/index.php?topic=33618.0 [2] http://en.wikipedia.org/wiki/Namecoin#Namecoin_DNS -- dexen deVries [[[↓][→]]]

Re: [9fans] btcd: A Full Alternative Bitcoin Implementation, Written In Go

2013-05-09 Thread dexen deVries
ave Bitcoin in the Plan9 > environment. do you /really/ need Yet Another Networked Filesystem in Plan9? ;-) -- dexen deVries [[[↓][→]]]

Re: [9fans] Octets regexp

2013-05-02 Thread dexen deVries
please pardon the silly question, but... how about piping the binary data through xd(1) before sending it to regexp(3)? -- dexen deVries [[[↓][→]]] I have seen the Great Pretender and he is not what he seems.

[9fans] open file in awk script?

2013-04-08 Thread dexen deVries
trying to create a standalone awk script (#!/usr/local/plan9/bin/awk -f). how to open a file in BEGIN pattern section and set it as next input file? not helped so far: FILENAME="foo.txt" nor ARGV[1]="foo.txt"; nextfile; -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme script request (was: Acme Edit scriptlets)

2013-04-05 Thread dexen deVries
orts using two Acmes, each in separate namespace :-) -- dexen deVries [[[↓][→]]]

Re: [9fans] p9p vs. linux 9fs mount

2013-04-04 Thread dexen deVries
666) = -1 EACCES (Permission denied) # strace for `>>' open("/mnt/acme/2/ctl", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3 with the difference being `O_TRUNC'. cheers, -- dexen deVries [[[↓][→]]]

[9fans] p9p vs. linux 9fs mount

2013-04-04 Thread dexen deVries
ted with linux kernel version 3.9.0-rc3 and 3.5.0 and with recent p9p version. -- dexen deVries [[[↓][→]]]

[9fans] Acme script request (was: Acme Edit scriptlets)

2013-04-04 Thread dexen deVries
open. -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme Edit scriptlets

2013-04-04 Thread dexen deVries
ky goodie: automatically supplies `.' (dot) between arguments, so for example: $ G some token here becomes `grep some.token.here' -- dexen deVries [[[↓][→]]] ``we, the humanity'' is the greatest experiment we, the humanity, ever undertook. #!/usr/bin/env rc

[9fans] p9p acme vs. firefox

2013-04-03 Thread dexen deVries
probably more of a firefox question, but hey. once in a blue moon† the www-based software i'm developing displays a backtrace. is there a sensible way to plumb it to p9p Acme? all's running on linux/x11 -- dexen deVries [[[↓][→]]] † lies, damn lies and bug metrics ;-)

Re: [9fans] 9FRONT ANNOUNCES INTEL WIFI DRIVER, WPA/WPA2 SUPPORT

2013-04-02 Thread dexen deVries
the drivers + p9p + perhaps some filesystem recovery tools. this leaves open the question of providing devdraw(1) -- perhaps via fbdev -- and the usual x11 goodies of mouse, clipboard etc.? -- dexen deVries [[[↓][→]]]

Re: [9fans] Plan 9 ``propaganda server'' back on line

2013-03-29 Thread dexen deVries
On Friday 29 of March 2013 06:57:55 s...@9front.org wrote: > NO STRINGS ATTACHED it made my day, too. technically those are zero-terminated arrays of Runes... ;-) -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme Edit scriptlets

2013-03-29 Thread dexen deVries
hes '.*(FROM|JOIN)[ ]+([^ ]+).*' data set $2 plumb start Wtable --wdir $wdir $data -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme Edit scriptlets

2013-03-29 Thread dexen deVries
rors Edit ,d # decrease TAB indentation of selection Edit s,^TAB,,g # increase TAB indentation of selection # the ^. part ensures we indent only lines with content # and leave empty lines undisturbed Edit s,^.,TAB&,g -- dexen deVries [[[↓][→]]]

Re: [9fans] FAT32 question

2013-03-27 Thread dexen deVries
ive the 8.3 file name, essentially leading to loss of character case information. perhaps something alike is at play here. -- dexen deVries [[[↓][→]]] ``we, the humanity'' is the greatest experiment we, the humanity, ever undertook.

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread dexen deVries
ol...@software-lab.de has never let me down ;-) (archives at http://www.mail-archive.com/picolisp@software-lab.de/ ) cheers, -- dexen deVries [[[↓][→]]] ``we, the humanity'' is the greatest experiment we, the humanity, ever undertook.

Re: [9fans] gcc not an option for Plan9

2013-03-26 Thread dexen deVries
nes it had proper `Range' support. -- dexen deVries [[[↓][→]]]

Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread dexen deVries
On Monday 25 of March 2013 11:40:32 Bence Fábián wrote: > mk doesn't parses '#include' directives in C gnu make can use output of gcc -M as rules describing prerequisites. it's somewhat tedious and error-prone, though, as indicated by multitude of -Mx options. -- dexen deVries [[[↓][→]]]

Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread dexen deVries
rules, no? if mk understood 8c's construct ``#pragma lib "libbio.a"'' and used it to link correct libraries, it could be said to understand the actual dependencies as expressed by code. of course, the deeper you go into this rabbit hole, the closer you get to s

[9fans] mk and transitive dependencies (was: gcc not an option for Plan9)

2013-03-25 Thread dexen deVries
On Saturday 23 of March 2013 12:37:17 Rob Pike wrote: > (...) and because go install does > transitive dependencies correctly, which mk does not. anybody care to explain what is the limitation of mk here? can't wrap my head around it... -- dexen deVries [[[↓][→]]]

Re: [9fans] p9p rc flag e +

2013-03-21 Thread dexen deVries
baz) { # sets $status if (! ~ $status ) { # uses $status handle_particular_kind_of_pipeline_failure } do_other_stuff # should not be affected } do_yet_other_stuff # should not be affected either ...but guess rc's semantics are almost set in stone by now :-) cheers, -- dexen deVries [[[↓][→]]]

[9fans] p9p rc flag e +

2013-03-21 Thread dexen deVries
here a point to, or an use case for this behavior? -- dexen deVries [[[↓][→]]] MKSHELL=$PLAN9/bin/rc test:VQ: positive negative echo success. positive:VQ: if (test -e mkfile) echo the file exists negative:VQ: # any file or dir that is sure not to

Re: [9fans] Acme hack - a week later

2013-03-21 Thread dexen deVries
he Edit ,d quite often. turns out, i was affraid of having to re-type the Edit ,d in every new window. all hail Acme, -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme button 1 working like button 3

2013-03-19 Thread dexen deVries
//code.swtch.com/plan9port/commits/c1bd38a11c42d18b53ee5d6a6084eccb9728f2c2/raw/ ...and i've been suffering from randomly stuck Ctrl or Alt in recent X.org or KDE. -- dexen deVries [[[↓][→]]]

Re: [9fans] Acme hack

2013-03-14 Thread dexen deVries
y since my p9p fork has `Look' disabled via if(0) {...} -- dexen deVries [[[↓][→]]] † i'm a LAMP webdeveloper by day.

[9fans] Acme hack

2013-03-14 Thread dexen deVries
I like my +Errors window clean once in a while. Attached patch provides Edit ,d by default in +Errors window tagline. -- dexen deVries [[[↓][→]]] >From b4edef7c40de4c4a8678622e11eee8bd9aef8523 Mon Sep 17 00:00:00 2001 From: dexen deVries Date: Thu, 14 Mar 2013 14:41:22 +0100 Subject: [PA

Re: [9fans] Git (Was: Acme: indicator of running process)

2013-03-05 Thread dexen deVries
Venti as storage backend. would heavy use of git-rebase fill up the Venti storage too quickly? * * * is it too much noise to ask about p9p Acme on this mailing list? -- dexen deVries [[[↓][→]]]

[9fans] Acme: indicator of running process

2013-03-05 Thread dexen deVries
ayed in top Tag line, but in my cases, usually several gits are ran along (git gui, git submodule, etc.etc.) using p9p Acme. cheers, -- dexen deVries [[[↓][→]]]

Re: [9fans] X11

2013-02-28 Thread dexen deVries
ile (0) with do{}while() guarding against treating it as an expression. -- dexen deVries [[[↓][→]]]

Re: [9fans] rc script question

2013-02-27 Thread dexen deVries
t; echo @ $* @' echo a b c | rc -c '*=`{read}; echo @ $*(2-) @' -- dexen deVries [[[↓][→]]]

[9fans] fortune nomination

2013-02-21 Thread dexen deVries
> Too many renames; must be X source! from output of p9p `acid -q', ran on basically any GNU software. the offending code: $PLAN9/src/cmd/acid/util.c:/must.be.X.source if(renamed > 5 && !quiet) { print("Too many renames; must be X

Re: [9fans] [RQ:] SATA HD 2+ TB native recommendations

2013-02-20 Thread dexen deVries
On Wednesday 20 of February 2013 12:22:26 David du Colombier wrote: > > Thanks, David! Does it run BellLabs Plan9, or does it require Erik's > > 9atom? > > I run Plan 9 from Bell Labs. Plan 9 from Bell Labs from Bell Labs :^) -- dexen deVries [[[↓][→]]]

[9fans] Acme pathname completion UX

2013-01-30 Thread dexen deVries
appended, the (empty) selection would remain next to the last character of pathname and right-click anywhere would acquire it. -- dexen deVries [[[↓][→]]] ``One disadvantage of the Univac system is that it does not use Unix, a recently developed program which translates from one computer language

Re: [9fans] Why should I invest[tigate] plan9?

2013-01-28 Thread dexen deVries
inux. otherwise they won't take responsibility for the downtime we were having. turned out, they forgot to whitelist our MAC address. but hey -- it worked with their technician's ms windows notebook. 8<8<8< boring rant 8<8<8< -- dexen deVries [[[↓][→]]] ``One d

Re: [9fans] ctags or sth else with acme?

2013-01-17 Thread dexen deVries
with certain PHP, JS or SQL keywords. also a custom plumber rule & script to display function prototype upon right- click. -- dexen deVries [[[↓][→]]] I have seen the Great Pretender and he is not what he seems.

Re: [9fans] How to do this with [acme | sam | sed ] ?

2013-01-11 Thread dexen deVries
+([A-Za-z]+[A-Za-z0-9]*)/\1++/ the * moves to the left. also, probably oughta be Edit ,s/../g to work on all lines, and change multiple matches in one go. -- dexen deVries [[[↓][→]]] Reality is just a convenient measure of complexity. -- Alvy Ray Smith

Re: [9fans] Good sample GUI code (window creation, management,

2012-12-20 Thread dexen deVries
es anybody know of a good (preferably concise) sample > that demonstrates the correct way to write GUI apps in Plan 9? $PLAN9/src/cmd/draw/*.c in particular, stats.c -- comes with a simple pop-up menu, at under 1kLOC. -- dexen deVries [[[↓][→]]] Reality is just a convenient measure of complex

  1   2   3   >