Re: [9fans] Codebase navigation and using tags files in acme

2021-08-18 Thread Nick Owens
that's a long winded way of saying 'use the plumber' On Tue, Aug 17, 2021, 23:54 sirjofri wrote: > Hello Ben, > > 17.08.2021 22:22:09 Ben Hancock : > > I've just recently started using the acme editor and am really enjoying > > it, and trying to get the hang of the "acme way" of doing things.

Re: [9fans] Installation problem - partdisk loop - sdC0 QEMU QEMU DVD ...

2021-04-03 Thread Nick Owens
try 9front. On Sat, Apr 3, 2021 at 7:04 PM wrote: > > Hello > > I’m trying to install P9 on Qubes OS VM which runs under xen. All Ok until > [partdisk]. It present as default and only option, but also referee it as a > CD. If I press enter it runs in an error and loops to (re-)[partdisk]. By

Re: [9fans] 9front on qemu with sound?

2020-10-27 Thread Nick Owens
On Tue, Oct 27, 2020, 14:16 Pavel Renev wrote: > > Hi, has anyone here made sound work on qemu with 9front as a guest with > either a linux, windows or bsd host? > > I didn't even manage to make sound work on qemu with linux or windows > as a guest. > > I don't have any links on hand, but

Re: [9fans] Re: 9front on qemu with sound?

2020-10-27 Thread Nick Owens
hda should be fixed in http://code.9front.org/hg/plan9front/rev/0e47f4a0c4d6. could you build a new kernel and try it? you should see a message like "#A0: codec #0, vendor 1af40022, rev 00100101" on the console, and #A/audio should be present and writable. On Mon, Oct 26, 2020 at 6:57 PM wrote:

Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
it probably doesn't work with newer go as it isn't well maintained. there is no replacement for real git right now. a contribution to git9 to do this would be welcome. On Fri, Oct 23, 2020, 22:33 wrote: > Since having the git rc script in either /bin/amd64, $home/bin or > $home/bin/rc didnt

Re: [9fans] various problems with installing go lang

2020-10-23 Thread Nick Owens
9front nor go come with a CA certificate bundle. a certificate bundle that go can use can be downloaded at https://curl.haxx.se/docs/caextract.html. On Fri, Oct 23, 2020, 21:16 wrote: > Hi, for the past few days I have been wrestling with getting go lang to > work on 9front (latest version) > I

Re: [9fans] 9term, insta scroll to bottom?

2020-10-23 Thread Nick Owens
try ^b. On Fri, Oct 23, 2020, 18:02 wrote: > Hi, I am an idiot and sometimes I cat huge files in 9term (on 9front) > > The result of this is a mess I cannot seem to scroll to the bottom of, > how can I instantly scroll to the bottom in 9term? > > Or rather, the end of the output. > *9fans

Re: [9fans] Is the vanilla Plan 9 still alive?

2019-11-21 Thread Nick Owens
no. On Thu, Nov 21, 2019, 22:30 wrote: > The site hasn't been updated since 2014-2015. If it's dead, is there any > chance of it coming back into development? > *9fans * / 9fans / see discussions > + participants >

Re: [9fans] The lost (9front) boot menus ...

2019-04-19 Thread Nick Owens
there's always the GRand Unified Bootloader. On Fri, Apr 19, 2019 at 3:16 PM Lyndon Nerenberg wrote: > > Something I miss in 9front is the 'boot menu' functionality 9labs > had in plan9.ini. Being able to fall back to an alternative config > was a godsend when debugging fileserver setups. I'm

Re: [9fans] plan 9 : any pager?

2018-10-02 Thread Nick Owens
the pager is p(1). On Tue, Oct 2, 2018 at 8:22 PM Skip Tavakkolian wrote: > > Turn off the scroll in the rio window that the shell is running in, then cat > the file. > > > On Tue, Oct 2, 2018, 8:15 PM Mayuresh Kathe wrote: >> >> did plan 9 have any pager? or did every text file to be read had

Re: [9fans] Git

2018-09-15 Thread Nick Owens
hi dave, would it be possible for you to vendor your dependencies of dgit? if not for the git repo itself, perhaps just vendor them for a tagged release tarball uploaded to github. that would be a way around the 'you need git to go get dgit' problem. On Sat, Sep 15, 2018 at 9:03 AM Dave

Re: [9fans] 9front VMX

2018-09-10 Thread Nick Owens
while we're on the subject, here's a half-assed script called 'inception' to boot your 9front kernel in a vmx instance on a terminal while sharing the host's fs. #!/bin/rc # inception rfork ne ramfs ip=`{ndb/query sys $sysname ip} aux/listen1 -t 'tcp!*!564' /bin/exportfs -r /root & cat

Re: [9fans] Why is the tcp/ip stack of plan9 implemented in kernel?

2018-01-27 Thread Nick Owens
it used to be in userspace, but i believe it was moved to the kernel for performance reasons. the remaining evidence of the ip stack in the kernel lives on in (at least) 9front's sysproc.c, where sysexec raises the process priority if the program is "/ip", which i assume would be the tcp/ip stack

Re: [9fans] Discord community for Plan 9

2017-07-21 Thread Nick Owens
is there a client for plan 9? /s do your uni mates a favor and teach them how to use IRC, and save them a few hundred megabytes of memory. #cat-v is alive and well. On Jul 21, 2017 17:31, "Sean Hinchee" wrote: All, I'm not sure where the niche falls in place for this,

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Nick Owens
June 2017 at 09:39, Nick Owens <misch...@offblast.org> wrote: > acid is next to impossible to use on unix systems. just run gdb with 'thread > apply all bt'.. should give you an idea of what's wrong. If I run Irc in gdb, I get (gdb) run irc.freenode.org Starting program:

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Nick Owens
acid is next to impossible to use on unix systems. just run gdb with 'thread apply all bt'.. should give you an idea of what's wrong. On Jun 29, 2017 00:33, "Rudolf Sykora" wrote: > > $ Irc irc.freenode.org > > Segmentation fault > > Do I have to use acid to debug it,

Re: [9fans] equality sign in Rc

2017-05-06 Thread Nick Owens
why do that when you can just run 'mk' On May 6, 2017 12:47 AM, "Sean Callanan" wrote: > I can't speak for dexen, but I would love to be able to run > > cc -DFOO=bar file.c > > or similar commands with button 2 in Acme. What I get instead is > > rc: line 2: token '=':

Re: [9fans] Two faces(1) derivatives

2015-11-21 Thread Nick Owens
i wrote a quick hack of faces to show gravatar images, but i doubt it has much usefulness given the apparent lack of gravatar use in the 9fan world. On Sat, Nov 21, 2015 at 10:38 AM, wrote: > I really like faces(1). I've got a pair of derivatives I've been > playing around with.

Re: [9fans] Frogs?

2015-10-05 Thread Nick Owens
http://code.9front.org/hg/plan9front/file/tip/sys/src/9/port/chan.c?style=gitweb#l1637 On Mon, Oct 5, 2015 at 9:42 AM, Kare Nuorteva wrote: > > > Hello, > > I've bumped into frogs a few times while lurking on this list, but cannot > make much sense out of it. Could someone

Re: [9fans] off topic - a good Git reference

2015-10-02 Thread Nick Owens
9front now supports tls 1.2 in libsec/devtls. Mercurial can make use of it through webfs. On Oct 2, 2015 7:35 PM, "erik quanstrom" wrote: > On Fri Oct 2 18:46:06 PDT 2015, k...@sciops.net wrote: > > On Fri, Oct 02, 2015 at 11:56:47PM +0200, a.regenf...@gmx.de wrote: > > >

Re: [9fans] pthreads

2015-09-01 Thread Nick Owens
https://bitbucket.org/mveety/9front-ports/src/9de20d22612a/ape-libs/pth/?at=default i have no idea if it works. ymmv. On Tue, Sep 1, 2015 at 12:20 PM, Giacomo Tesio wrote: > 2008-12-16 23:16 GMT+01:00 Steve Simon : >> >> I have a distant memory that somone

Re: [9fans] Small Plan 9 Platforms

2015-08-07 Thread Nick Owens
brian, i have started work on porting 9front to http://www.elinux.org/MIPS_Creator_CI20. this board has quite a number of features, and might be useful for education if the cost isn't prohibitive. nick On Fri, Aug 7, 2015 at 6:09 PM, Brian L. Stuart blstu...@bellsouth.net wrote: I'm teaching

Re: [9fans] Strange VGA thing

2014-08-01 Thread Nick Owens
On Sat, Aug 02, 2014 at 08:48:34AM +0900, kokam...@hera.eonet.ne.jp wrote: A68N-5000 motherboard which I'm using it for vesa mode of1400x1050x16 size. However, there is /dev/realmodemem, but no /dev/realmode. realmodemem file is provided by the '#P' kernel device. realmode file is provided by

[9fans] interleaved output of ratrace

2014-07-21 Thread Nick Owens
hello, i'm trying to use ratrace to debug a go binary. what i don't understand is why records of syscalls sometimes appear on top of one another. here's the output of 'ratrace -c ./strings.test [2]/tmp/ratrace.log', where strings.test is made with 'go test -c strings'. http://sprunge.us/aCBG

[9fans] random question

2014-07-03 Thread Nick Owens
why does /sys/src/9/port/random.c:/^randomclock use rb.next to only run 1/4th of the time it normally would? pgplLd2oYhojt.pgp Description: PGP signature

Re: [9fans] 2014 hardware overview

2014-06-29 Thread Nick Owens
On Sun, Jun 29, 2014 at 11:32:44AM +0200, Pierre-Jean wrote: 4) Obvious hardware More generally, what do you think is the actual obvious hardware that one can find to build a file server and a cpu server for home usage ? the obvious hardware is a thinkpad. hello from 9front on an X301.

Re: [9fans] [GSOC] port forwarding

2014-06-12 Thread Nick Owens
yan, you need to set up some kind of bridge. there's a few options. in my setup, i use libvirt. with libvirt, i configured one vm with two NICs, one for the 'internet' and one for a private network between my cpu/auth/fs and a pxe booted vm for testing. i put ether0 on /net (private lan) and

[9fans] Semaphores in Plan 9

2014-06-11 Thread Nick Owens
in Semaphores in Plan 9 [1] a test is described comparing semaphore-based locks to tas-based spinlocks. the paper says they ran doug's power series program using the different lock types in libthread for channels. i was trying to reproduce the results in the test, and my naive attemps don't fare

Re: [9fans] Plan 9 image for Google Compute Engine?

2014-06-09 Thread Nick Owens
hello, mischief here. it is 'in the works'. there's some bugs to be squashed. i'm using the legacy virtio interface. it doesn't perform very great right now, usually slower than igbe, but that may not matter if you can't get igbe at all. it also seems to crash on old (meaning, 1.0) qemu. i've

[9fans] 8l -e

2014-05-27 Thread Nick Owens
i was trying to use 8l's '-e' flag today, when i found some interesting problems. first, -e doesn't do what it says unless you pass -p, which goes unmentioned in the manual page. (luckily i read the source). second, and more importantly, the calls to _tracein/_traceout are skipped, as in the

Re: [9fans] 8l -e

2014-05-27 Thread Nick Owens
On Tue, May 27, 2014 at 04:16:24PM -0400, erik quanstrom wrote: you can see there is a JMP over _tracein and a RET before _traceout. what gives? ah, that's the magic! the idea is to be able to enable and disable these tracepoints at runtime in a multiprocessor environment without any

Re: [9fans] [GSOC] Dial between two computers

2014-05-26 Thread Nick Owens
yan, did you try to use packet capture software like wireshark, or snoopy(8) on plan 9, to see the packets? running wireshark on linux, and snoopy on plan 9, will give you insight into if the packets reach the other side successfully. On Mon, May 26, 2014 at 08:06:21PM -0400, yan cui wrote: Hi

Re: [9fans] dual boot

2014-05-24 Thread Nick Owens
On Sat, May 24, 2014 at 05:03:07PM +0530, Ramakrishnan Muthukrishnan wrote: On Sat, May 24, 2014 at 12:17 PM, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: On Sat, May 24, 2014 at 12:13 PM, Ramakrishnan Muthukrishnan vu3...@gmail.com wrote: I downloaded the usbinstamd64 image from the

Re: [9fans] Namespace customization

2014-04-23 Thread Nick Owens
in my cpu server in a vm, i put the nic setup in /cfg/$sysname/cpustart and put the namespace setup in /lib/namespace.$sysname. /cfg/chi/cpustart: #!/bin/rc # # cpustart ## internal services auth/secstored ip/dhcpd ip/tftpd ## external network (qemu nat) bind -a '#l1' /net.alt bind -a '#I1'

Re: [9fans] nil, and the danger of zero

2014-04-03 Thread Nick Owens
On Fri, Apr 04, 2014 at 01:35:05AM -0400, erik quanstrom wrote: so, as it turns out, not all zeros do the same thing to the stack. pt. at least it's a simple reason why venti won't run. (void *)0 is certainly not the same as 0. depending on architecture and compiler, of course.

[9fans] time waster

2014-03-30 Thread Nick Owens
9fans, i wrote a clone of the '2048' game in plan 9 c. http://9.offblast.org/stuff/2048.c 8c -FTVw 2048.c; 8l -o 2048 2048.8 it can also be run in plan9port (amd64 linux here): 9c 2048.c; 9l -o 2048 2048.o some of the credit goes to aap, whose version is here.

[9fans] a research unix reader

2014-03-30 Thread Nick Owens
9fans, a few months ago, at a friends request, i acquired a copy of a research unix reader and scanned it, and i put it on archive.org. the pdf and some other formats are available, but the conversion is not very good, so the pdf is the best bet.

Re: [9fans] a research unix reader

2014-03-30 Thread Nick Owens
On Sun, Mar 30, 2014 at 01:26:05PM -0700, Bakul Shah wrote: http://doc.cat-v.org/unix/unix-reader/ yes. the maintainer of cat-v.org was the 'friend' who requested the document. :-) pgpevj1eTXFup.pgp Description: PGP signature

Re: [9fans] Multi monitor setup

2014-03-20 Thread Nick Owens
is there any support to dual monitor setup? no. Can I rotate monitor in plan 9? no. How does support of video cards looks like in general? poor. see /sys/src/9/pc/vga*.c files. most of these are very old. the only realiable way to use a video card on 32- and 64-bit intel platforms is to

Re: [9fans] Bell usb keys boot fails

2014-03-02 Thread Nick Owens
On Sun, Mar 02, 2014 at 06:19:57PM +0100, Adriano Verardo wrote: Hi, all The Bell usb image doesn't boot on some (IMHO) very common machines. Screenshots available on you could just try adding the did to /sys/src/9/pc/sdiahci.c:1939 and recompile a new kernel. maybe it will work, maybe it

Re: [9fans] Changing the active NIC on 9front

2014-02-17 Thread Nick Owens
if it was a snake, it would have bit you. http://code.google.com/p/plan9front/wiki/KnownWorkingHardware#Lucent_WaveLAN_PC24E-H-FC pgppOSeAkzsvV.pgp Description: PGP signature

Re: [9fans] Installl fails on Dell Optiplex 745 / 3010

2014-02-08 Thread Nick Owens
you could try 9front. On Sat, Feb 08, 2014 at 10:13:20PM +0100, Adriano Verardo wrote: Hi all Both Bell and 9Atom distros install fail, in native mode, on Dell Optiplex models 745 (2008) and 3010 (2013). IMHO, the problem is the AHCI, which is not correcty recognised/managed in both native

Re: [9fans] acid analogues of gdb stepping commands

2013-11-08 Thread Nick Owens
On Fri, Nov 08, 2013 at 02:03:59AM -0800, Skip Tavakkolian wrote: something like this, but with better housekeeping to work with existing acid code, could work: defn Next() { printto(/env/nextStmt, pcfile(*PC),:,pcline(*PC)+1); bpset(filepc(readfile(/env/nextStmt))); cont(); } this seems

[9fans] acid analogues of gdb stepping commands

2013-11-07 Thread Nick Owens
9fans, i find myself needing to use acid a lot lately, and maybe i am going about it wrong. i very much dislike that when i next() in acid, acid will step through every subcall. what i would like is that it would instead behave more like gdb's next. is this crazy or am i going about using acid

Re: [9fans] semaphore testing help

2013-09-24 Thread Nick Owens
is there source code available for these tests? pgpNKHuRDLEXy.pgp Description: PGP signature

Re: [9fans] Help me getting started with plan9?

2013-09-24 Thread Nick Owens
On Wed, Sep 25, 2013 at 06:51:04AM +0500, Salman Javaid wrote: qemu-system-i386: pci_add_option_rom: failed to find romfile pxe-rtl8139.rom you may need the 'kvm-ipxe' package. http://packages.ubuntu.com/search?searchon=contentskeywords=pxe-rtl8139.rommode=suite=precisearch=any

Re: [9fans] html5 canvas, go, devdraw

2013-09-07 Thread Nick Owens
On Sat, Sep 07, 2013 at 05:48:18PM +0200, Francisco J Ballesteros wrote: there has been some work on this here. unfortunately not all devdraw messages are implemented, so graphics does not fully work. https://github.com/aiju/jsdrawterm i run a copy on http://9.offblast.org/ nick Hi, I'm

Re: [9fans] Building Go/386

2013-09-02 Thread Nick Owens
hello 9fans and gophers, i have been using go on 9front for a while now. however, an issue with 8c's inclusion mechanism was recently introduced. the commit was https://codereview.appspot.com/12568043 which assumes that includes will be resolved relative to the file that included them, not the

Re: [9fans] Building Go/386

2013-09-02 Thread Nick Owens
On Mon, Sep 02, 2013 at 05:51:15PM -0400, erik quanstrom wrote: On Mon Sep 2 16:51:31 EDT 2013, robp...@gmail.com wrote: I'm pretty sure C defines the include path to be relative to the file that includes it. The compiler's working directory should be irrelevant. I'm also pretty sure Plan

Re: [9fans] Google IO

2013-04-22 Thread Nick Owens
On Saturday, April 20, 2013 9:16:28 PM UTC-7, Bruce Ellis wrote: Any 9 dudes going to IO in SFO real soon? I will be around abouts so may be good for an informal IWP9 beer and loud loud music. brucee I'd be interested in meeting over a beer in SF. No IO for me.