Re: [9fans] silly question

2014-09-02 Thread Bakul Shah
On Tue, 02 Sep 2014 15:10:56 EDT erik quanstrom wrote: > > Strftime is a red herring (sorry), I can use and "date" | getline > > to generate pretty much any date string I need. > > > > The issue is more going the other way. tm2sec in awk is quite complex > > and hids many pitfalls if you want t

Re: [9fans] interleaved output of ratrace

2014-07-22 Thread Bakul Shah
On Mon, 21 Jul 2014 17:41:17 PDT Nick Owens wrote: > > 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 str

Re: [9fans] file server speed

2014-07-18 Thread Bakul Shah
On Fri, 18 Jul 2014 15:36:09 EDT erik quanstrom wrote: > On Fri Jul 18 12:51:49 EDT 2014, 23h...@gmail.com wrote: > > > perhaps high-efficiency wall warts could make up much of the difference. > > > picked at random (first link) ... > > > > > > http://www.amazon.com/Nokia-AC-10U-Micro-USB-Efficien

Re: [9fans] file server speed

2014-07-17 Thread Bakul Shah
On Thu, 17 Jul 2014 15:10:34 EDT erik quanstrom wrote: > > So long as a server returns a block corresponding to its SHA1 > > score, you (the client) don't care whether it is the same > > server you wrote the original block to or another (and you can > > always verify the returned block). This open

Re: [9fans] raspberry pi model B+

2014-07-17 Thread Bakul Shah
On Thu, 17 Jul 2014 11:47:54 BST Richard Miller <9f...@hamnavoe.com> wrote: > If anyone's curious about the new raspberry pi model announced this week, > I can confirm that it runs Plan 9 with no apparent problems. Compared to > the old model B, the B+ has some power supply improvements and two mo

Re: [9fans] file server speed

2014-07-17 Thread Bakul Shah
On Thu, 17 Jul 2014 11:14:01 PDT Bakul Shah wrote: > > On Jul 17, 2014, at 9:56 AM, erik quanstrom wrote: > > > i would think the same approach would work with fossil. of course one > > would need a more sophisticated solution than "just wait forever"

Re: [9fans] file server speed

2014-07-17 Thread Bakul Shah
On Jul 17, 2014, at 9:56 AM, erik quanstrom wrote: > i would think the same approach would work with fossil. of course one > would need a more sophisticated solution than "just wait forever", due to > the tcp connection. There is no particular reason for it to be tcp given lack of any authen

Re: [9fans] file server speed

2014-07-16 Thread Bakul Shah
On Wed, 16 Jul 2014 19:29:43 CDT Steven Stallion wrote: > I absolutely would not use wireless to connect fossil > to venti (fossil does *not* cope well with the connection to venti > dropping). To deal with this you can use a local venti proxy like contrib/vsrinvas/vtrc.c. One c

Re: [9fans] Seiki 4k + RPi + Plan9

2014-07-07 Thread Bakul Shah
On Tue, 08 Jul 2014 08:22:29 +0900 kokam...@hera.eonet.ne.jp wrote: > Would you please to explain more about the meaning of: > > > hdmi_group=2 > > hdmi_mode=87 These magic numbers were gleaned from http://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330 config.txt is documented at http:/

[9fans] Seiki 4k + RPi + Plan9

2014-07-07 Thread Bakul Shah
Given that the Seiki 39" 4k (3840x2160) display prices have come down quite a bit (now $329 @ amazon) I wanted to see if I can use it with the RPi & plan9 as well. 1. You will need one plan9 fix: % diffy /sys/src/9/bcm/mmu.c 307c307 < cachedwbse(pte0, pte - pte0); --- > cachedwbse(pte

Re: [9fans] Fwd: Building a Raspberry Pi image / Keyboard support

2014-07-07 Thread Bakul Shah
On one RPi I am using a GPS module. I need to add support for its PPS signal for more accurate time keeping. > On Jul 7, 2014, at 7:39 AM, Skip Tavakkolian > wrote: > > there are RTC modules for the pi (talk over i2c, based on DS1307 or DS3231). > i use them with linux distro's and they seem

Re: [9fans] Building a Raspberry Pi image / Keyboard support

2014-07-05 Thread Bakul Shah
able to get the keyboard to work as well, but it seems there is a > different bug where plugging in both a keyboard and mouse at the same time > causes usb/kb to fail. > > -Anant > > >> On Tue, Jul 1, 2014 at 11:32 PM, Bakul Shah wrote: >> On Tue, 01 Jul 2014 23:01:53

Re: [9fans] Building a Raspberry Pi image / Keyboard support

2014-07-01 Thread Bakul Shah
On Tue, 01 Jul 2014 23:01:53 PDT Anant Narayanan wrote: > > 1. I'm trying to get a custom built kernel to boot but not having great > luck, unfortunately. I got as far as "mk 'CONF=pi'" in /sys/src/9/bcm > (those are the latest sources, correct?) which generated a 2M kernel named > 's9pi'. I adde

Re: [9fans] Update Raspberry Pi Steps (Wiki Confusion)

2014-06-29 Thread Bakul Shah
On Sun, 29 Jun 2014 16:28:34 CDT Brian Vito wrote: > > I am trying to update my Raspberry Pi, and I've run: > > replica/pull -v /dist/replica/network > > The wiki at > http://www.plan9.bell-labs.com/wiki/plan9/Updating_an_ARM_system/index.html > says that I now have to recompile anything which

Re: [9fans] Delete all

2014-06-26 Thread Bakul Shah
On Thu, 26 Jun 2014 10:25:34 PDT goo wrote: > > I wonder why recent replica/pull -v /dist/replica/network' deletes almost all > system? first nsec, now this, maybe its enough surprises for newcomers ? :) The venti server for sources seems to have keeled over.

Re: [9fans] cache lines, and 60000 cycles of doom

2014-06-19 Thread Bakul Shah
On Thu, 19 Jun 2014 12:01:10 EDT erik quanstrom wrote: > i'm seeing some mighty interesting timing on my intel ivy bridge. > i found a bug in the file server aoe implementation (can't happen > if you're using the uniprocessor x86 version) that happens because > the Srb is freed before wakeup compl

Re: [9fans] unicode 7.0.0 support

2014-06-16 Thread Bakul Shah
On Mon, 16 Jun 2014 21:55:27 EDT erik quanstrom wrote: > since i missed the rather golden oppertunity to sleep in years ago and instea > d > scripted the conversion from the the unicode-published UnicodeData.txt > to the various plan 9 files, it was sadly trivial to convert and publish the > new

Re: [9fans] long paths in acme tags

2014-06-12 Thread Bakul Shah
On Thu, 12 Jun 2014 00:23:20 +0200 Nicolas Bercher wrote: > On 11/06/2014 23:32, Bakul Shah wrote: > > On Wed, 11 Jun 2014 22:27:34 BST Robert Raschke w > rote: > >> > >> Whenever they are available, I use symlinks for "shortening" paths for > >>

Re: [9fans] long paths in acme tags

2014-06-11 Thread Bakul Shah
On Wed, 11 Jun 2014 22:27:34 BST Robert Raschke wrote: > > Whenever they are available, I use symlinks for "shortening" paths for > Acme. This is so far the only good use I've found for them ;-) Symlinks don't help in the tag as pwd finds the real path.

Re: [9fans] long paths in acme tags

2014-06-11 Thread Bakul Shah
On Wed, 11 Jun 2014 22:33:07 +0200 =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= wrote: > > & if the acme tags show > > $foo/file1 > > $foo/file2 > > it would be much nicer. > > Real paths are plumbable and copyable, variable names are not. p9p > acme (where this problem is more acute) has multil

[9fans] long paths in acme tags

2014-06-11 Thread Bakul Shah
If you are editing multiple file within the same directory with a very long path, the long dir paths is what takes up most of the tag. One idea (borrowed from zsh) is to assign a long path to a variable and then just show the variable instead. Thus for example, given long paths like these: /a/

Re: [9fans] Question about fossil

2014-06-09 Thread Bakul Shah
On Mon, 09 Jun 2014 17:15:39 PDT "Brian L. Stuart" wrote: > > With the trick I am talking about, there is nothing to stop > > you from connecting to N different remote ventis.=A0 In effect > > your local (by that I mean under your control, not necessarily > > on the same machine) venti can be tre

Re: [9fans] Question about fossil

2014-06-09 Thread Bakul Shah
On Mon, 09 Jun 2014 18:22:26 EDT erik quanstrom wrote: > > Over the weekend I was playing with fossil and "copied" my > > fossil partition using its last score, swapped the two disks > > (under virtualbox) and rebooted. df now shows 1MB in use! So > > if you init fossil from the score of an exist

Re: [9fans] Question about fossil

2014-06-09 Thread Bakul Shah
On Mon, 09 Jun 2014 17:25:51 EDT erik quanstrom wrote: > On Mon Jun 9 17:13:09 EDT 2014, lyn...@orthanc.ca wrote: > > > > > On Jun 9, 2014, at 1:21 PM, Riddler wrote: > > > > > It was brought about mainly because the wiki states that sources only > > > uses ~512MB for fossil. > > > > I suspe

Re: [9fans] Question about fossil

2014-06-08 Thread Bakul Shah
On Sun, 08 Jun 2014 03:56:24 EDT erik quanstrom wrote: > > - try this out on a small scale before you commit to it, as I > > suspect you'll run into various limits and may be bugs. Do > > report what you discover. > > - performance will likely be poor. For better performance you > > may want

Re: [9fans] Question about fossil

2014-06-08 Thread Bakul Shah
On Sat, 07 Jun 2014 21:39:29 BST Riddler wrote: > > Onto my question: What if I shrunk that fossil partition to, say, 1GB > and then wrote either more than 1GB in small files or a single 2GB > file. Why would you want to make the fossil partition that small? I would keep it at least twice as la

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
On Fri, 06 Jun 2014 11:35:08 EDT erik quanstrom wrote: > On Fri Jun 6 11:26:13 EDT 2014, ba...@bitblocks.com wrote: > > > > > On Jun 5, 2014, at 8:15 PM, Ramakrishnan Muthukrishnan > wrote: > > > > > > Hi, > > > > > > I just saw a suicide message on 9atom running on plan9 while updating > >

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
> On Jun 5, 2014, at 8:15 PM, Ramakrishnan Muthukrishnan > wrote: > > Hi, > > I just saw a suicide message on 9atom running on plan9 while updating > the system: > > % replica/pull -v /dist/replica/network I missed that you were running 9atom. Using old binaries to copy the new kernel to /n

Re: [9fans] suicide message on vmware

2014-06-06 Thread Bakul Shah
On Fri, 06 Jun 2014 13:02:14 +0530 Ramakrishnan Muthukrishnan wrote: > On Fri, Jun 6, 2014 at 11:30 AM, Bakul Shah wrote: > > On Fri, 06 Jun 2014 10:48:21 +0530 Ramakrishnan Muthukrishnan .com> wrote: > >> Well, looks like I cannot run any binaries anymore and getting the

Re: [9fans] suicide message on vmware

2014-06-05 Thread Bakul Shah
On Fri, 06 Jun 2014 10:48:21 +0530 Ramakrishnan Muthukrishnan wrote: > Well, looks like I cannot run any binaries anymore and getting the > suicide message! I don't have anything critical on this vm image and > can re-install it. But I want to see if I can recover it and how. I > will re-read the

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

2014-05-26 Thread Bakul Shah
Does 9fs localhost ls /n/localhost work on your VM? If that works, and if you can ping in both directions, the other possibilities are a. firewall rules on the linux box or b. how you have set up your VM. If you are using it in the "bridge" mode, it should work (except for a.).

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 08:45:48 EDT erik quanstrom wrote: > > Features such as atomic commits, changesets, branches, push, > > pull, merge etc. can be useful in multiple contexts so it > > would be nice if they can integrated smoothly in an FS. > > > > - Installing a package is like a pull (or if yo

Re: [9fans] hgfs

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 12:41:05 +0200 =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= wrote: > > What would be the point of this? Once you have a version (revision) > you can just bind the subtree where you want it. I don't see the > point in having this special switching code inside hgfs. Plan 9 > provides t

Re: [9fans] hgfs

2014-05-22 Thread Bakul Shah
On Thu, 22 May 2014 09:17:18 PDT ron minnich wrote: > has anyone looked at camlistore as a starting point? Written in Go, > which means it works on Plan 9. I will take a look at it but Ron, if you are still on this channel, may be you can describe how it will help here? [And, please don't overloa

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-21 Thread Bakul Shah
On Thu, 22 May 2014 07:36:54 +0200 lu...@proxima.alt.za wrote: > > Though the idea of a scmfs (for checkins as well) and using > > vac/venti as a backend is starting to appeal to me : ) > > Let's open the discussion, Plan 9 has some baseline tools other OSes > are still thinking about and will pro

Re: [9fans] syscall 53

2014-05-21 Thread Bakul Shah
On Thu, 22 May 2014 03:43:15 - Kurt H Maier wrote: > > But all the DVCS in the world doesn't let us see code that is never uploaded > in the first place. I can't even count the number of programs that are only > even known by oral tradition, mentioned only in passing, then never to be > hear

Re: [9fans] CMS/MMS (VCS/SCM/DSCM) [was: syscall 53]

2014-05-21 Thread Bakul Shah
On Wed, 21 May 2014 22:25:55 CDT Jeff Sickel wrote: > At the base level I find that sources and sourcesdump are much > more accessible than many of the DSCMs (e.g., darcs, git, hg) > out there. Yes it's great to use hg to snapshot state and > allow easy migration across various systems, but it st

Re: [9fans] syscall 53

2014-05-21 Thread Bakul Shah
On Wed, 21 May 2014 09:56:26 PDT Skip Tavakkolian wrote: > > i like git. as it is a kind of archival file system, one should be able to > build a plan9 file system interface for it. Have you looked at porting git to plan9? 178K lines of *.[ch]. 20K lines of shell scripts (+ 100K+ lines of test

Re: [9fans] syscall 53

2014-05-20 Thread Bakul Shah
On Mon, 19 May 2014 17:34:24 EDT Anthony Sorace wrote: > > Ron wrote: > > > That said, the problems were due (IMHO) to a limitation in the > > update mechanism, not to the inclusion of a new system call. > > This is true depending on how you define "update mechanism". > A simple note from whoev

Re: [9fans] syscall 53

2014-05-19 Thread Bakul Shah
On Mon, 19 May 2014 13:25:42 EDT erik quanstrom wrote: > > i would be very surprised if there were any gain in accuracy. the > accuracy is going to be dominated by the most inaccurate term, and > that's likely going to be timesync, and on the order of milliseconds. Speaking of time and accuracy

Re: [9fans] RaspberryPi, monitor energy saving

2014-05-16 Thread Bakul Shah
> On May 16, 2014, at 5:43 AM, erik quanstrom wrote: > >> On Fri May 16 08:33:41 EDT 2014, st...@quintile.net wrote: >> Mmm, that feels like good and bad news. >> >> I know richard did what he could to shut down the screen when >> its idle for a while so that seems to do the right thing with vg

Re: [9fans] RaspberryPi, monitor energy saving

2014-05-15 Thread Bakul Shah
On Thu, 15 May 2014 22:04:34 BST "Steve Simon" wrote: > Its just wonderful to have a raspberry pi as a plan9 terminal, > but the energy saving of the pi is outweighed by the monitor I use. > > The Pi's display code blanks the screen after a while but this does > not shutdown the monitor. > > I d

Re: [9fans] radio

2014-05-09 Thread Bakul Shah
On Fri, 09 May 2014 16:11:00 +0200 Krystian Lewandowski wrote: > > I was working on GPIO under Plan9 - very simple thing but also supports > edge-raising/falling events. I had simple C code to print what pin > triggered an event. I'll try to push this simple test to github during > weekend. Thou

Re: [9fans] what arch

2014-05-09 Thread Bakul Shah
On Fri, 09 May 2014 13:37:04 PDT ron minnich wrote: > somebody referred me to the discussion. > > Sometimes we found people wanted to build on their existing OS (Linux, > OSX, whatever) in a cross-build way, and, further, didn't want to do > that in a VM, because they had tools they liked. > > g

Re: [9fans] radio

2014-05-08 Thread Bakul Shah
On Thu, 08 May 2014 18:58:31 BST "Steve Simon" wrote: > I have a hifiberry (http://www.hifiberry.com/) nicely minimalist, > though no driver at present - I will await the GSOC project :-) > I have some itron VFDs from work, 256 x 64 pixel. I like these as > the visibility is excellent. The only a

Re: [9fans] radio

2014-05-08 Thread Bakul Shah
On Thu, 08 May 2014 12:06:11 BST "Steve Simon" wrote: > > A little radio app for plan9. This has few features and may not > seem worth the effort to some but it is planned to be the basis for > an embedded radio device so it needs a little GUI and user interface. > > Currently I use this at work

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
On May 8, 2014, at 7:53 AM, "Steve Simon" wrote: >> Would https://github.com/drom/wavedrom do? > > Yep, pretty darn good. > > maybe a little teeth gritting as its JS but > what the heck, its a tool and that is all > that really matters. Wavedrom's input language seems simple enough that you ca

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
Would https://github.com/drom/wavedrom do? See the tutorial. Step 8 shows bezier arrows linking waveforms. And it seems to be actively developed. There is a command line version as well. On May 8, 2014, at 5:52 AM, "Steve Simon" wrote: >> I don't understand why realtime matters. > > Only that

Re: [9fans] OT: hard realtime, timing diagram GUI.

2014-05-08 Thread Bakul Shah
> On May 8, 2014, at 2:15 AM, "Steve Simon" wrote: > > Anyone done any hard realtime programming? I am looking for a simple > GUI tool which will read a text file I can generate from my code > and display a timing diagram. This should allow either events > triggered by the clock, by an interrup

Re: [9fans] [GSOC] plan9 which arch code to use?

2014-05-07 Thread Bakul Shah
> (come to mention it, i did Dan Brown a favour last year, unwittingly.) There you go again. More secrets :-)

Re: [9fans] a research unix reader

2014-03-30 Thread Bakul Shah
> On Mar 30, 2014, at 12:47 PM, Nick Owens wrote: > > 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 p

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
On Fri, 28 Mar 2014 19:51:50 EDT erik quanstrom wrote: > > Sorry about that! I forgot to mention that this facility was > > added around Jan 30, 2013. See Dom's message on page 12 on > > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=19334&p=273944#p2739 > 44 > > Make sure you have firmwa

Re: [9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
On Fri, 28 Mar 2014 17:09:43 EDT erik quanstrom wrote: > On Fri Mar 28 13:21:35 EDT 2014, ba...@bitblocks.com wrote: > > I have put an initial version of raspberryPi hardware RNG > > driver on sources. Supposedly bcm2835 uses a reverse bias > > transistor as a noise source (though I couldn't find

[9fans] bcm2835 random number generator

2014-03-28 Thread Bakul Shah
I have put an initial version of raspberryPi hardware RNG driver on sources. Supposedly bcm2835 uses a reverse bias transistor as a noise source (though I couldn't find anything a definitive source for this). FWIW, I ran the output through rngtest (does FIPS 140-2 tests) and the failure rate is ab

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 20:32:07 EDT erik quanstrom wrote: > > > i think it is even easier to set the state up properly with cpurc or > > > consolefs' configuration file, and have the various programs not even > > > care that they're talking to a serial port. > > > > Not my experience. Occasionally

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 17:53:22 EDT erik quanstrom wrote: > > A similar idea here would be to have a "default" command to > > for default settings. When a device is opened, it is > > initialized with these settings. The reason I like this is > > because then I don't need to teach every serial IO prog

Re: [9fans] usb/serial control open

2014-03-23 Thread Bakul Shah
On Sun, 23 Mar 2014 16:32:12 EDT erik quanstrom wrote: > On Sun Mar 23 15:56:52 EDT 2014, pau...@gmail.com wrote: > > On Sun, Mar 23, 2014 at 8:47 PM, Gorka Guardiola wrote: > > > > > > > > if(!setonce){ > > > setonce = 1; > > > serialctl(p, "l8 i1"); /* default line parameters */ >

Re: [9fans] GSoC proposal: Alternative window system

2014-03-19 Thread Bakul Shah
On Wed, 19 Mar 2014 04:36:34 EDT Caleb Malchik wrote: > For my project, I would build a tiling window manager similar to dwm > (what I use on Linux). I think a dwm-style interface that could be > controlled from the keyboard would provide a nice contrast to what we > already have with rio, and

Re: [9fans] two nics 8139

2014-03-13 Thread Bakul Shah
> bind -b '#l1' /net.alt > bind -b '#I1' /net.alt > ip/ipconfig -x /net.alt ether /net.alt/ether1 > ndb/cs -x /net.alt -f /lib/ndb/external > ndb/dns -sx /net.alt -f /lib/ndb/external So what do you do when you have N ethernet ports and you want to forward packets between these ports either @ laye

Re: [9fans] first questions from a lurker

2014-03-10 Thread Bakul Shah
On Mon, 10 Mar 2014 08:41:12 MDT arn...@skeeve.com wrote: > Hello All. > > I've been a lurker on 9fans for many years. Today I finally did an > install - +9atom.iso.bz2 into a virtual box VM. The VM is NAT'ed > to a corporate network and I can ping by IP address with no problem. > > First questi

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-03-04 Thread Bakul Shah
On Tue, 04 Mar 2014 11:26:31 EST erik quanstrom wrote: > > first, apply the patch to the source, then build all of usb > > 9fs sources > cd /sys/src/cmd/usb/lib > cp /n/sources/patch/usbshortdesc/dev.c dev.c > cd .. > mk install > > then, build a new kernel > >

[9fans] A new GSoC project?

2014-02-28 Thread Bakul Shah
http://www.raspberrypi.org/archives/6299 Broadcom announced the release of full documentation for the VideoCore IV graphics core, and a complete source release of the graphics stack under a 3-clause BSD license. The source release targets the BCM21553 cellphone chip, but it should be reasonably st

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-02-28 Thread Bakul Shah
On Fri, 28 Feb 2014 09:45:42 EST Anthony Sorace wrote: > > Based on my own experience with USB weirdness with the Pi, I still suspec > power issues. How are you powering the Pi itself? Using a 1 amp supply yielded > problems, regardless of the sort of hub I had, which all went away when I > switc

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-02-28 Thread Bakul Shah
> When mouse+keyboard is connected, it shows this: > > ... > #u/usb/ep1.0: dwcotg: port 0x0 irq 9 > #l0: usb: 100Mbps port 0x0 irq -1: 0..00 > 496M memory: 101M kernel data, 395M user, 1877M swap > usb/hub... usb/ether... > etherusb smsc: ... > usb/kb... > > and it hangs. > > When I con

Re: [9fans] Raspberry Pi: won't recognize the USB mouse

2014-02-27 Thread Bakul Shah
On Thu, 27 Feb 2014 23:01:39 +0530 Ramakrishnan Muthukrishnan wrote: > On Thu, Feb 27, 2014 at 10:38 PM, Lyndon Nerenberg wrot= > e: > > > > On Feb 27, 2014, at 9:05 AM, Ramakrishnan Muthukrishnan > wrote: > > > >> I tried a USB hub (not a powered one though) and it hangs after > >> printing th

Re: [9fans] Setting 9pi Start State / Drawterm to 9pi

2014-02-23 Thread Bakul Shah
On Feb 23, 2014, at 6:16 AM, Richard Miller <9f...@hamnavoe.com> wrote: >> ... What instructions would you suggest I start >> with for setting up a full cpu + auth + fossil server or mounting the pi >> file system remotely with 9fs from Windows or Mac OS X? > > Look at the plan 9 wiki http://www.

Re: [9fans] Inferno on XMOS

2014-02-16 Thread Bakul Shah
> On Feb 16, 2014, at 8:44 AM, erik quanstrom wrote: > > obviously the interconnect is going to be the issue. which gives > me a very interesting idea on interconnects. If you mean on the RPi, the choices are rather limited in bandwidth. We need a Beaglebone Black port.

Re: [9fans] Help with networking on Virtual Box

2014-02-12 Thread Bakul Shah
Uncomment ip/ifconfig in termrc as Erik suggested or stick the four lines that I showed in termrc.local. I think there is some sequencing issue if you run them manually. Before switching the VB version try changing its network setting to NAT. With a different VB version you'll likely chase a di

Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread Bakul Shah
On Tue, 11 Feb 2014 20:09:42 GMT Peter Hull wrote: > > Bakul, The host is Windows 8.1 64-bit, network settings are intel pro > mt server, using bridged mode (to my wifi adaptor.) I got these > options from an earlier posting. Are you running ndb/dns -r? There is probably a better way to do this

Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread Bakul Shah
On Tue, 11 Feb 2014 11:32:36 GMT Peter Hull wrote: > Dear All, > I am just trying to set up Plan 9 so I can have a play with it. I'm > running it in VirtualBox 4.3.6 and I'm running into the DNS problem > that has been reported earlier [1] What settings are you using in virtual box for networking

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

2014-02-05 Thread Bakul Shah
On Wed, 05 Feb 2014 17:39:23 +0100 dexen deVries wrote: > > What I want is support for complex text layout rendering (for Indian > > languages among others). This requires supporting OpenType fonts, not an > > easy task. Mac's TextEdit seems to do a decent job of this but I don't > > like it as a

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

2014-02-05 Thread Bakul Shah
On Feb 5, 2014, at 8:10 AM, erik quanstrom wrote: >> On Feb 5, 2014, at 3:36 AM, erik quanstrom >> wrote: >>> once one thinks about major modifications, i think it becomes >>> attractive to think about a new editor. i miss having graphics. >> If you mean mixed text and image, you will end up wi

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

2014-02-05 Thread Bakul Shah
On Feb 5, 2014, at 3:36 AM, erik quanstrom wrote: > once one thinks about major modifications, i think it becomes attractive > to think about a new editor. i miss having graphics. If you mean mixed text and image, you will end up with some sort of structured markup language and a "word processo

Re: [9fans] Venti on OpenBSD: vtversion: bad format in version string

2014-01-14 Thread Bakul Shah
On Jan 13, 2014, at 3:59 PM, Grant Mather wrote: > I partitioned the disk using fdisk to create one large OpenBSD > partition, and then created two paritions with disklabel, one for arenas > and one for isect. I followed the wiki page for setting up venti, and > have been able to get it working on

Re: [9fans] a toy terminal for OS X

2014-01-14 Thread Bakul Shah
Try the tty command. You need to connect the shell to a pseudotty. This should also fix the rc echo problem. On Jan 14, 2014, at 4:26 PM, Tom Lieber wrote: > It seemed like it could be fun and educational, so I started making a 9-like > terminal for OS X using the native text widget: > >

Re: [9fans] qemu and networking

2014-01-07 Thread Bakul Shah
On Tue, 07 Jan 2014 22:16:02 GMT Yoann Padioleau wrote: > I've installed plan9 on a plan9.raw.img file via qemu and I'm able to boot = > on it. > How can I transfer files between plan9 and my host (I'm under macos)? > I've followed http://plan9.bell-labs.com/wiki/plan9/installing_plan_9_on_qe= > m

Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread Bakul Shah
On Tue, 07 Jan 2014 14:00:42 +0100 Nicolas Bercher wrote: > > Also, regarding what Erik asked on 3rd January "does anyone feel like > debugging an infinite os?", I feel Plan 9 offers an extra-wide range of > possibilities, "approchoaching infinity" suggested by your logo. This logo reminds of th

Re: [9fans] 9vx on Mac OSX 10.9.1

2013-12-23 Thread Bakul Shah
On Tue, 24 Dec 2013 13:04:18 +0900 arisawa wrote: > Hello, > > After recent update of OSX, 9vx puts to the console very noisy messages > such as: > 2013-12-18 10:49:13.529 9vx.OSX[588:1503] Warning - conversion from 64 > bit to 32 bit integral value requested within NSPortCoder, but the 64 > bit

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

2013-12-18 Thread Bakul Shah
On Thu, 19 Dec 2013 00:40:52 EST erik quanstrom wrote: > if the point is to > make mk precise, that goal can be accomplished with a little effort. I suppose making atime, mtime of type struct timespec would break too much including 9p?

Re: [9fans] Problem with mk

2013-12-18 Thread Bakul Shah
On Wed, 18 Dec 2013 11:28:21 CST Blake McBride wrote: > > I'd be a better judge if I understood the purposeful, thought out reason > behind the problems I am experiencing - assuming there is one. "That's > just the way it works" or "we do it differently because we are not unix" > are stupid as h

Re: [9fans] Problem with mk

2013-12-18 Thread Bakul Shah
On Wed, 18 Dec 2013 10:11:22 CST Blake McBride wrote: > > > > Somehow Unix or GNU "make" doesn't mix up buffered stdout with unbuffered > > stderr output. They remain in order so the total out of make and all of > > the commands are shown in order and in context. You know, so a human can > > und

Re: [9fans] Spell checking with acme in p9p

2013-12-14 Thread Bakul Shah
On Sat, 14 Dec 2013 20:46:40 CST Blake McBride wrote: > > So, I guess the point of this is that there are a lot of steps necessary to > correct a text's spelling. It would be easier just to do: > > aspell check file.txt > > But that would be side-stepping acme. I am just wondering how oth

Re: [9fans] Go and 21-bit runes (and a bit of Go status)

2013-12-02 Thread Bakul Shah
On Mon, 02 Dec 2013 16:03:54 EST erik quanstrom wrote: > > I am suggesting breaking out just the diffs and new mkfiles in > > a separate tree so that one can do > > > > mk all && mk install > > > > This can fetch the necessary bits, apply patches, build, test, > > create downloadable binari

Re: [9fans] Go and 21-bit runes (and a bit of Go status)

2013-12-02 Thread Bakul Shah
On Mon, 02 Dec 2013 15:45:53 EST erik quanstrom wrote: > On Mon Dec 2 15:44:27 EST 2013, ba...@bitblocks.com wrote: > > On Mon, 02 Dec 2013 15:38:21 EST erik quanstrom > wrote: > > > On Mon Dec 2 15:25:33 EST 2013, 0in...@gmail.com wrote: > > > > > > python on plan9 can't even handle the code

Re: [9fans] Go and 21-bit runes (and a bit of Go status)

2013-12-02 Thread Bakul Shah
On Mon, 02 Dec 2013 15:38:21 EST erik quanstrom wrote: > On Mon Dec 2 15:25:33 EST 2013, 0in...@gmail.com wrote: > > > > python on plan9 can't even handle the codereview extension. > > > > > > i believe that's false. jas' port does a lot of things the > > > prior port does not. it's on bitbuc

Re: [9fans] Go and 21-bit runes (and a bit of Go status)

2013-12-02 Thread Bakul Shah
On Mon, 02 Dec 2013 13:33:34 EST erik quanstrom wrote: > all this is moot unless we can get plan 9 integrated into go's automatic > build system. is this doable? i have resources to make this happen if > it is. One simple thing that can be done is to set up a cron job to fetch updates and if a

Re: [9fans] compiler bug?

2013-11-27 Thread Bakul Shah
On Wed, 27 Nov 2013 11:31:26 EST erik quanstrom wrote: > On Wed Nov 27 11:04:46 EST 2013, st...@quintile.net wrote: > > > Whilst porting some code from the net I came across > > the attached, rather obscure, code. > > > > run as: > > > > larch% 8c -D 'STATIC=static' t.c && 8l t.8 && 8.out

Re: [9fans] network support on virtualbox

2013-10-24 Thread Bakul Shah
On Thu, 24 Oct 2013 21:23:25 +0200 Sakis Kasampalis wrote: > > Is there any chance of getting network (IP) support on virtualbox? My > adapter according to lspci is: Ralink corp. RT3090 Wireless 802.11n > 1T/1R PCIe [I am ssuming you are running VirtualBox on a linux box and you want a plan9 VM

Re: [9fans] ODROID-U2

2013-10-14 Thread Bakul Shah
On Sun, 13 Oct 2013 22:06:14 PDT Skip Tavakkolian wrote: > > Is anyone porting Plan 9 to this thing? Same question but for Beaglebone Black.

Re: [9fans] VMware and 9atom

2013-10-10 Thread Bakul Shah
On Thu, 10 Oct 2013 18:03:55 +0200 =?UTF-8?B?QXJhbSBIxIN2xINybmVhbnU=?= wrote: > I will never understand people's fascination with VirtualBox. Why > bother with all this versioning stuff; what VirtualBox version, what > kernel. Qemu works, and works much better. Avoid blindly upgrading to the la

Re: [9fans] VMware and 9atom

2013-10-09 Thread Bakul Shah
On Wed, 09 Oct 2013 14:02:32 PDT Deepak Chawla wrote: > > In the past, I've had problems installing 9atom/plan9 on the latest version > of VirtualBox, but I could install it on a VM from an older (4.1.24?) rev > of VirtualBox. I have since updated to the latest VirtualBox and my VMs > have contin

Re: [9fans] Raspberry Pi/Qemu Networking Problems

2013-09-06 Thread Bakul Shah
On Fri, 06 Sep 2013 20:40:26 CDT Sean Hinchee wrote: > I've just touched the surface of Plan 9 and am trying to get networking > functional. In Qemu and on the Pi my /net/iproute is virtually the same > ( http://i.imgur.com/Yv7xnNS.png ). The image is the Qemu and the Pi is > the same except it

Re: [9fans] more on why vc can't produce amd64 executables

2013-08-22 Thread Bakul Shah
On Wed, 21 Aug 2013 17:44:03 EDT erik quanstrom wrote: > > i think a bug is setting inuxi8[i+4] = inuxi8[i] for 0<=i<4. > mikro; diffy -c *.c > diff -c /n/dump/2013/0821/sys/src/cmd/6l/obj.c obj.c > /n/dump/2013/0821/sys/src/cmd/6l/obj.c:1455,1471 - obj.c:1455,1471 > int i, c; > >

Re: [9fans] more on why vc can't produce amd64 executables

2013-08-21 Thread Bakul Shah
On Aug 21, 2013, at 11:57 AM, erik quanstrom wrote: >> You're casting a large int into a small int and this seems right. >> Just as (uchar)0x1234 => 0x34 >> >>> marshalling a 64-bit pointer in this way will lay down the >>> bytes with the hi and lo reversed. >> >> Perhaps you meant to do *(uch

Re: [9fans] more on why vc can't produce amd64 executables

2013-08-21 Thread Bakul Shah
On Wed, 21 Aug 2013 14:36:40 EDT erik quanstrom wrote: > uvlong x; > > x = 0x012345678abcdefull; > print("(uchar)x %.2ux\n", (uchar)x); ... > x = 0012345678abcdef > (uchar)x ef You're casting a large int into a small int and this seems right. Just as (uchar)0x1234 => 0x34

Re: [9fans] comparisons with NaN

2013-08-21 Thread Bakul Shah
> On Wed Aug 21 13:43:54 EDT 2013, ba...@bitblocks.com wrote: >> On Aug 21, 2013, at 9:55 AM, erik quanstrom wrote: >> >>> On Wed Aug 21 12:09:26 EDT 2013, 9f...@hamnavoe.com wrote: Actually it was a test suite that revealed the NaN errors. I wouldn't think it's something anyone n

Re: [9fans] comparisons with NaN

2013-08-21 Thread Bakul Shah
On Aug 21, 2013, at 9:55 AM, erik quanstrom wrote: > On Wed Aug 21 12:09:26 EDT 2013, 9f...@hamnavoe.com wrote: >>> at least in terms of passing floating point test suites >>> (like python's) the NaN issue doesn't come up >> >> Actually it was a test suite that revealed the NaN errors. >> I woul

Re: [9fans] Added new user

2013-08-17 Thread Bakul Shah
On Sat, 17 Aug 2013 08:17:10 PDT Roswell Grey wrote: > > The thing is, I don't even get a "Root is from" prompt. The console doesn't > prompt for anything. The last line it displays is something with /init/rc > ...no prompt. Strange My guess is you forgot to remove nobootprompt=local Sh

Re: [9fans] (RPi) Added new user - now what?

2013-08-15 Thread Bakul Shah
On Wed, 14 Aug 2013 16:29:40 PDT Roswell Grey wrote: > > I've done con -l /srv/fscons and gone through that process. But I don't > know what to do to log in as the new user. The console just does its > business and logs in to Glenda. How do I make it prompt, or is this even > possible? Thanks! [

Re: [9fans] plan9 iso image cont.

2013-06-28 Thread Bakul Shah
On Fri, 28 Jun 2013 16:26:51 CDT Terry Wendt wrote: > K3b actually said 721.7 GB. As in Gigabytes. It really has no business looking into a .iso when all it is doing is copying it to a CD. On FreeBSD I can just do burncd -f /dev/acd0 data plan9.iso fixate > ehci 0xe0001000: port3 didn't re

<    1   2   3   4   5   6   7   8   >