Re: [9fans] plan9port on osx

2019-11-08 Thread James A. Robinson
Oh that's very nice, I'll have to update and try it. Thank you for pointing this out! On Fri, Nov 8, 2019 at 10:19 AM Xiao-Yong Jin wrote: > > since commit 9af9ceca, the metal backend has (undocumented), > > Allow touch events to simulate mouse clicks: > three finger tap for the middle

Re: [9fans] plan9port on osx

2019-11-08 Thread James A. Robinson
I am running plan9port on my mac. I used to use acme with the https://codereview.appspot.com/6115053 patch for the trackpad on my laptop, but at some point that stopped working. I didn't care to dig into it at the time and switched to using the Alt/Cmd button modifiers. Currently since I'm not

Re: [9fans] Re: moving 9fans to new server, but still 9fans@9fans.net

2019-10-14 Thread James A. Robinson
> For fun, here's my first mail to 9fans. Wow, this makes me feel my age. I see your first email to the ilst was 23 years ago and mine was 21 years ago! -- 9fans: 9fans Permalink:

Re: [9fans] question re acme and plumber

2019-07-25 Thread James A. Robinson
the whole selection goes to the > plumber. > > tor. 11. jul. 2019, 23.30 skrev James A. Robinson : >> >> Well, I can see this is getting called: >> >> look.c:187: if(m->ndata> plumbsendtofid(plumbsendfid, m) >= 0){ >> >> and the m->data is

Re: [9fans] question re acme and plumber

2019-07-11 Thread James A. Robinson
Well, I can see this is getting called: look.c:187: if(m->ndata= 0){ and the m->data is the full line, including the trailing ".java:[,]" data. So it's certainly appears to be sending the data to the plumber. But I don't get the same behavior from acme as when I send the same text I see in

Re: [9fans] question re acme and plumber

2019-07-11 Thread James A. Robinson
Thank you. I did try using the shorter match for just the filename, but while that works fine in terms of sending it via plumb(1) acme doesn't seem to know what to do with it when I click within the line. Acme only processes it if I sweep the entire match. So that's what led me to expand the

[9fans] question re acme and plumber

2019-07-10 Thread James A. Robinson
If I add a plumber rule for javac output: type is text data matches '\[ERROR\] ([.a-zA-Z¡-�0-9_/\-]+\.java):\[([0-9]+),[0-9]+\] .*' arg isfile $1 data set $file attr add addr=$2 plumb to edit plumb client $editor I can sweep a line (short of its trailing newline): [ERROR]

Re: [9fans] Inferno on Plan9

2017-12-30 Thread James A. Robinson
Some folks did put Inferno onto an Android phone: https://bluishcoder.co.nz/2012/06/11/building-inferno-os-for-android-phones.html I think part of what drives the directions many companies take is how easy it is to bring new people on board to do the development. It's probably quite easy to

[9fans] Edit X// and with a pipe in plan9port?

2017-06-28 Thread James A. Robinson
So let's say I have an Edit line Edit ,x,(^//.+\n)+(const|func|type|var) , x,^(// [^ \t].*\n|//\n)+,|sed 's:^//::'|fmt|sed 's:^://:' that I can use in a tag to reformat comments in a body. I noticed that while it's possible to run an Edit with an X from a separate body if I use Acme's sam

[9fans] Do you use fossil or venti under Linux?

2017-06-06 Thread James A. Robinson
While I was playing around getting v9fs mounts to work, I see that plan9port has added fossil and venti at some point. I was curious whether or not anyone was actually running these under Linux? Jim

[9fans] v9fs authentication question

2017-06-05 Thread James A. Robinson
If I want to be able to use v9fs to mount a plan9 fileserver as a specific user, do I need to provide credentials via plan9port factotum? Drawterm takes an argument about which authentication server to talk to, but the directions I see for v9fs seem to only talk about USER environment variables,

Re: [9fans] Acme Edit to remove lines

2017-05-26 Thread James A. Robinson
You ought to be able to just add '\n' to the end of your expression in an 'x//' + 'd' command sequence. For example, "search the file for lines starting with [a-z] and delete the entire line" would be: Edit ,x/^[a-z].+\n/d On Fri, May 26, 2017 at 7:23 AM dexen deVries

Re: [9fans] raspberry pi root over tcp

2016-11-25 Thread James A. Robinson
On Thu, Nov 24, 2016 at 11:11 AM, Richard Miller <9f...@hamnavoe.com> wrote: > > > panic: boot process died: undefined instruction: pc 0x605c > > I bet that's a SWPW instruction - valid for armv5, deprecated > for armv6, and illegal for armv7. > > You probably want to apply patch/armv7-atomic on

[9fans] raspberry pi root over tcp

2016-11-24 Thread James A. Robinson
Hi folks, I can boot a raspberry pi using its local fossil, and I can mount a remote fileserver using 9fs once it is booted. Next, I wanted to try and mount the filesystem as the pi's root. Based on this http://man.cat-v.org/plan_9/8/plan9.ini http://man.cat-v.org/plan_9/8/boot I tried using

Re: [9fans] How to take a portion of a screenshot

2016-11-23 Thread James A. Robinson
On Wed, Nov 23, 2016 at 12:33 PM Benjamin Purcell wrote: > even simpler: > > tojpg < /mnt/wsys/window > window.jpg Simpler because you're capturing a specific window in this case?

Re: [9fans] Plan 9 5th Edition

2016-11-19 Thread James A. Robinson
9fans - best served dry.

Re: [9fans] Plan 9 5th Edition

2016-11-16 Thread James A. Robinson
On Wed, Nov 16, 2016 at 3:54 PM Chris McGee wrote: > A C compiler that supports the latest spec would be nice as long as it > doesn't sacrifice compile times. I like how quickly the system can > recompile itself. Maybe extend pcc to include new features? > I'll admit to

Re: [9fans] Maintenance of an auth server files vs a dns+dhcp+tftp server

2016-11-15 Thread James A. Robinson
That sounds *very* useful. Thank you! I had 9atom installed, but was planning to try out 9front next (probably this weekend). Jim On Tue, Nov 15, 2016 at 4:23 PM wrote: > you might take a look at 9front devtls and libsec. it does support > tls1.1 and tls1.2.

Re: [9fans] Maintenance of an auth server files vs a dns+dhcp+tftp server

2016-11-15 Thread James A. Robinson
Ah, ok. I'll try that. Thank you! On Tue, Nov 15, 2016 at 11:05 AM Stanley Lieber <s...@9front.org> wrote: > "James A. Robinson" <jim.robin...@gmail.com> wrote: > > >So in a canonical installation the auth server mounts its root from the > >file server?

Re: [9fans] Maintenance of an auth server files vs a dns+dhcp+tftp server

2016-11-15 Thread James A. Robinson
So in a canonical installation the auth server mounts its root from the file server? On Tue, Nov 15, 2016 at 10:47 AM Stanley Lieber wrote: > The idea is that there is one file system shared by all the neighboring > systems. The canonical Plan 9 installation comprises one disk

[9fans] Maintenance of an auth server files vs a dns+dhcp+tftp server

2016-11-15 Thread James A. Robinson
Folks, For a multi-machine network of Plan 9 services, would it be normal to have an authsrv machine that only runs that service, and uses a standalone local filesystem, and then have a separate server running dns+dhcp+tftp to PXE boot client machines. The latter would be backed by a 3rd machine

Re: [9fans] Purism laptops

2016-11-12 Thread James A. Robinson
On Sat, Nov 12, 2016 at 1:12 PM Harri Haataja wrote: > https://puri.sm/learn/blobs/ Indeed, blobs seems to be one point. > > Another thing seems to be that they advertise that these laptops > have no hidden features or remote control. How they could claim to > guarantee

Re: [9fans] Purism laptops

2016-11-12 Thread James A. Robinson
On Sat, Nov 12, 2016 at 8:19 AM, Andrés Domínguez wrote: > D​​o they really make open hardware? In what aspect > is their hardware more open than any other laptop? Hi, A summary would bet hat typically the hardware drivers that are run on a computer come in two possible

Re: [9fans] Purism laptops

2016-11-11 Thread James A. Robinson
No, although I imagine you could just buy upgrade parts separately and put them in yourself. They appear to have designed the laptop to make it fairly easy to open up to add your own parts. What really disappoints me is how they are backordered for 1-2 months on the 13" and 6-7 months on the

[9fans] Purism laptops

2016-11-11 Thread James A. Robinson
Have folks seen https://puri.sm/ ? Their description of how they are trying to put together "open" hardware (not 100% there yet) makes me wonder if it'd be open enough w/re to hardware specs to make it a target for Plan 9 porting/support. Jim

Re: [9fans] What does your fileserver consist of?

2016-11-09 Thread James A. Robinson
> > -steve > > > > On 22 Oct 2016, at 22:06, Steven Stallion <sstall...@gmail.com> wrote: > > > > Stock heatsink with chassis cooling. I've had no issues since I've > > started using them back in 2012: > > http://plan9.bell-labs.com/sources/contrib/

Re: [9fans] IWP9

2016-11-08 Thread James A. Robinson
And will the Proceedings be called 9p? On Tue, Nov 8, 2016 at 1:31 PM michaelian ennis wrote: I just realized that the next would be the 9th International Workshop on Plan 9. I wonder where it will be. Ian

Re: [9fans] q re /sys/src/cmd/disk/prep/prep.c:240

2016-11-04 Thread James A. Robinson
On Fri, Nov 4, 2016 at 1:43 PM Steve Simon wrote: > The usual process is to use prep first to create a windows etc > compatible partition table with one big partition called plan9. > then subdivide that. > > see the recipie near the end of the format(1) manpage. > > why part

[9fans] /sys/src/9/port/portfns.h execregs uint vs ulong

2016-11-04 Thread James A. Robinson
While futzing around with rebuilding a kernel, I noticed that 9atom distributed source tree /sys/src/9/port/portfns.h declares void* execregs(uintptr, uint, uint) but /sys/src/9/pc/trap.c declares long execregs(ulong entry, ulong ssize, ulong nargs) which seems to match all the other

[9fans] q re /sys/src/cmd/disk/prep/prep.c:240

2016-11-04 Thread James A. Robinson
So I noticed that if I run disk/prep -b -a^(arenas isect bloom) against my disk it goes ahead and creates a partition table that has arenas starting at sector 0. If I manually create partitions, /sys/src/cmd/disk/prep/prep.c:24 guards against using sectors 0 and 1 unless it's a 9fat partition.

[9fans] VoCore SoC?

2016-11-03 Thread James A. Robinson
This looks like it might be of interest to others on the list: http://vocore.io/ Jim

Re: [9fans] Fossil+Venti system memory requirements to be aware of?

2016-11-02 Thread James A. Robinson
On Wed, Oct 19, 2016 at 9:47 AM Steven Stallion wrote: > In short, start small and grow as needed. For reference, when I ran > Coraid's fs based on 64-bit Ken's (WORM only, no dedupe) in RWC > (based on the main fs in Athens). Over the course of a few years > the entire WORM

[9fans] fossil vs. fossil+venti in 9atom installation?

2016-10-31 Thread James A. Robinson
I was looking over the 9atom install script and I saw it appeared to code in support for building filesystems based on kfs, fossil, or fossil+venti, but it only surfaced kfs and fossil+venti. I was wondering why that was. Does anyone know? Jim

[9fans] 9atom - odd error during build phase

2016-10-29 Thread James A. Robinson
Hi folks, I've put together the parts for the CPU unit that I want to use as a fileserver. I haven't gotten the parts for the actual disk array yet, but the machine got a local SSD in it and I figured that would be good enough to at least install a standalone system on. This is on a Supermicro

Re: [9fans] acme tag bars stacking

2016-10-28 Thread James A. Robinson
I suspect one reason for placing the stack at the bottom is that it gives you a consistent area to target, at the top, when going back to work on your primary window. If they were stacked top down then, depending on how many files you had open, you might have to more carefully target how to get

[9fans] Venti off-site backups

2016-10-26 Thread James A. Robinson
I see several threads about how people are cloning their Venti servers to remote Venti servers as a means of creating a backup. Reading over the man pages, I assume it's also possible to do something like use rdarena to dump an arena out, encrypt it, and put the encrypted arena into a remote

Re: [9fans] What does your fileserver consist of?

2016-10-22 Thread James A. Robinson
For you folks with an Intel Atom D525 based motherboard in your fileserver, do you run with a fanless? Use heatsink? Use a fan? Use liquid cooling? Use a quantum heat sink? Jim

Re: [9fans] Fossil+Venti system memory requirements to be aware of?

2016-10-19 Thread James A. Robinson
On Wed, Oct 19, 2016 at 10:13 AM Aram Hăvărneanu wrote: > There are cheaper ways of disposing of 10TB of data. > If I decide the configuration is problematic I'm sure I can repurpose the device. Besides, the costs of spinning disk these days is amazingly low. As, I think, the

[9fans] Fossil+Venti system memory requirements to be aware of?

2016-10-19 Thread James A. Robinson
Anyone able to tell me whether or not there are disk size limits I should beware of given a limited amount of system memory in a file server? What I'm wanting to try and do is get a hardware RAID1+0 enclosure and put in 20TB of disk (so 10TB of usable space). The board I am looking at will take

Re: [9fans] NEC building Raspberry Pi 3s into its displays

2016-10-18 Thread James A. Robinson
Good point, thank you. The reason I keep talking about the RPi is that I know it's (mostly) supported and I can buy it from a reseller that I (mostly) trust. :) I was looking at putting together a system for a file server, and I've come to the conclusion that I'll have to build it myself, based

Re: [9fans] What does your fileserver consist of?

2016-10-13 Thread James A. Robinson
Thank you to everyone for their answer. It sounds like the safest route is for me to build a small computer to handle the role of fileserver. The last time I built a cluster I know I could PXE boot the terminals, but as I recall I set up the auth and fileservers using a CD. Is it possible and

Re: [9fans] 3D graphics as a filesystem

2016-10-12 Thread James A. Robinson
I wonder if the Inferno guys did anything like that. There was a youtube video from John Floren talking about his work replacing Java w/ Inferno on an Android phone and I think he mentioned some ideas he had consider w/re to driving graphics using a 9p interface. On Wed, Oct 12, 2016 at 4:03 PM,

[9fans] What does your fileserver consist of?

2016-10-11 Thread James A. Robinson
Folks, One of the things I'm thinking about is setting up a full Plan 9 cluster, meaning one of the components would be a stand-alone fileserver hooked up to a decent amount of storage. I was wondering what experience people have had with slower or faster machines in this role? I was wondering

Re: [9fans] 9P - Meaning of iounit

2016-10-03 Thread James A. Robinson
On Mon, Oct 3, 2016 at 6:54 AM Chris McGee wrote: > Lately, I’m looking at the “iounit.” Initially, I had thought of it as a > way to give the size of a file on Topen. After some testing I realized that > the network subsystem in plan9 is expecting the iounit to be large

Re: [9fans] Terminal possibliities...

2016-10-02 Thread James A. Robinson
As Chris indicated, the keyboard modifiers let you simulate buttons 2 or 3. The remaining issue is the chording combinations, selecting with 1 and then clicking 2 (cut) or 3 (paste), or having some copied text and using 2-1 to execute with args. The patch I mentioned helps with those, letting

[9fans] plan9.bell-labs.com hates AppleWebKit?

2016-10-02 Thread James A. Robinson
So... Does Alcatel-Lucent have a problem with AppleWebKit users on principle? It looks to me as though my problem with browsing around under http://plan9.bell-labs.com/sources/ (and other subpages) is because the server doesn't like the User-Agent string: $ telnet plan9.bell-labs.com 80 Trying

Re: [9fans] Terminal possibliities...

2016-10-02 Thread James A. Robinson
On Sun, Oct 2, 2016 at 2:13 AM Richard Miller <9f...@hamnavoe.com> wrote: > I've tried accessing plan 9 using vnc from a touchscreen tablet, > and yes it does suck. Rio and acme really do want a mouse. > > With a multitouch screen it's possible somebody could think up a > new gesture-based plan 9

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-10-01 Thread James A. Robinson
Oh, and for anyone who hates web pages but were on the mailing list back then, it is the "[9fans] Gecko based web browser" thread from 2000-07-18. :-P On Sat, Oct 1, 2016 at 8:03 AM James A. Robinson <j...@highwire.org> wrote: > I was browsing of my old plan 9 mail and thi

Re: [9fans] Questions on the browser as a platform if plan 9 had gained marketshare

2016-10-01 Thread James A. Robinson
I was browsing of my old plan 9 mail and this conversation from 2000 made me think of your thread here: https://goo.gl/PO85oD

Re: [9fans] Terminal possibliities...

2016-10-01 Thread James A. Robinson
Honestly I had been assuming one of those usb battery packs would work. :) On Sat, Oct 1, 2016 at 4:59 AM Chris McGee wrote: I found some $4 voltage regulators that will convert 18v Lithium ion drill batteries to power my Pi. Could be useful for field work.

Re: [9fans] Terminal possibliities...

2016-10-01 Thread James A. Robinson
(dvi-hdmi, mini-dvi-hdmi, dp-hdmi and > vga-hdmi adaptors) and the keyboard you're arriving at thinkpad > dimensions anyway. > > I forgot the thinkpad also has an inbuilt battery. Good for mobility > and against flaky power in development countries. > > On 10/1/16, James A. Robin

Re: [9fans] Terminal possibliities...

2016-10-01 Thread James A. Robinson
I was thinking about things like this: http://www.ohgizmo.com/2011/05/20/ohgizmo-review-verbatim-wireless-bluetooth-mobile-keyboard/ On Fri, Sep 30, 2016 at 3:56 PM hiro <23h...@gmail.com> wrote: > since i've never been in a cheap motel room with a keyboard and usable > 3-button mouse i tend to

Re: [9fans] Terminal possibliities...

2016-09-30 Thread James A. Robinson
Yeah, and and I wonder how the little Raspberry Pi compares to hardware that was being used for terminals back in the late 90s. It's certainly got more memory and local storage available than many personal computers, though I imagine the i/o bus is slower. Digging around in my email I found this

[9fans] Terminal possibliities...

2016-09-30 Thread James A. Robinson
Is anyone here using Plan 9 as a terminal to connect to remote CPU / File servers over the internet to get work done? If I set up a small Plan 9 cluster at home, I'm thinking it'd be pretty neat to be able to connect to the network at home over the internet. While I have a laptop and could put

Re: [9fans] Question re source trees

2016-09-29 Thread James A. Robinson
​Thank you for the answer, that's very generous of ​you and your client! (I had thought the http://plan9.bell-labs.com/sources site was having trouble, looks like maybe it's just Chrome getting aggressive about HTTPS and failing, I can open the page w/ lynx). Jim

[9fans] Question re source trees

2016-09-29 Thread James A. Robinson
Hi folks, I notice that http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2 is from 2015-01-10, whereas Richard Miller's http://plan9.bell-labs.com/sources/contrib/miller/9pi.img.gz was built on 2016-05-30. I was wondering whether the changes made by Mr. Miller for supporting the Raspberry

Re: [9fans] Plan 9 port to Raspberry Pi 3 Model B (ARM64)?

2016-09-07 Thread James A. Robinson
Now I'm so tempted to get a stack of Raspberry Pi 3 and this case: https://www.amazon.com/GeauxRobot-Raspberry-Model-6-layer-Enclosure/dp/B01D9130QC/ref=sr_1_32 On Thu, Mar 3, 2016 at 6:53 AM Richard Miller <9f...@hamnavoe.com> wrote: > Getting Plan 9 to boot on the pi3 (in 32-bit mode) was

Re: [9fans] Musings on Interfaces

2016-09-01 Thread James A. Robinson
On Thu, Sep 1, 2016 at 9:05 AM, Mark van Atten wrote: > The one regret I have about sam is that it doesn't do scroll-select. I > write papers rather than programs, and often want to select and > quickly move around large chunks of text whose boundaries are usually > not

Re: [9fans] Musings on Interfaces

2016-09-01 Thread James A. Robinson
I used to use sam exclusively on my Linux machine. I had to stop after I switched to Mac OS X many years ago. A few years later I picked up acme, and have been using it since. I also find that, for some reason I can't explain, I have rarely reached for the Edit X// command in a scratch window.

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread James A. Robinson
Have you checked whether or not that final block is special in some way? For example only mapped to memory and not to disk blocks? Jim

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread James A. Robinson
On Fri, Aug 12, 2016 at 8:32 AM Costin Chirvasuta wrote: > > So isn't the memmove just to cover the case where you are > > deleting a block that isn't at the very end? > > Yes, but from what I understand i is always lower. > > Say b->nbl starts at 10. i=b->nbl-1 so i=9. --i so

Re: [9fans] bufreset deletes b->nbl-1 blocks?

2016-08-12 Thread James A. Robinson
But delblock only calls memmove if i is less then b->nbl, which was just decremented, correct? So isn't the memmove just to cover the case where you are deleting a block that isn't at the very end? Jim

Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread James A. Robinson
On Sat, May 21, 2016 at 9:33 AM wrote: > No, it appears to be the 9front version (2014, with mouse chords in > samterm/main.c ), ported to plan9port. > Ok, the wording on that site is a bit odd to me. The name plan9port is a project Russ Cox wrote, so the wording A port

Re: [9fans] 9front sam in plan9port.

2016-05-21 Thread James A. Robinson
If you mean Russ's project, as referred to on that link, yes. https://swtch.com/plan9port/ I am using it under Mac OS X now, mainly for acme and sam. I've tried it under Linux years ago and it seemed just as solid (I am guessing Russ initially developed it under Linux). Jim On Sat, May 21,

Re: [9fans] setitimer equivalent

2015-04-28 Thread James A. Robinson
Sorry, I missed the extra 'i' in there. So is the requirement to get all three of those time domains supported? Supporting all three looks to me like something one would need for building real time systems or a profiling tool? On Tue, Apr 28, 2015 at 9:57 PM lu...@proxima.alt.za wrote: I'm

Re: [9fans] setitimer equivalent

2015-04-28 Thread James A. Robinson
I'm not familiar with a function named settimer, is that from Windows? Given the name, would sleep/alarm fit your requirements? http://plan9.bell-labs.com/magic/man2html/2/sleep On Tue, Apr 28, 2015 at 9:31 PM yoann padioleau aryx.pada...@gmail.com wrote: Hi, I’m trying to port some code to

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

2014-05-08 Thread James A. Robinson
On Thu, May 8, 2014 at 2:15 AM, Steve Simon st...@quintile.net wrote: Anyone know of such a tool? I see masses of tools for drawing digital logic timing diagrams but nothing that seems to give me what I need for realtime code. I haven't done realtime programming, so my apologies if I miss a

[9fans] Repeating long Edit commands

2013-10-16 Thread James A. Robinson
Folks, When you use acme, is there any trick you use when repeatedly applying an identical Edit command to separate blocks of text? In some situations I don't have an x// that selects all of the data to operate on so I can't set up sub commands (x/../{ ... }). Instead, I sometimes end up

Re: [9fans] plan9.bell-labs.com downtime?

2013-10-09 Thread James A. Robinson
I certainly can't get to it via port 80, I get a timeout. On Wed, Oct 9, 2013 at 9:14 AM, Alex Jordan alexander3223...@gmail.comwrote: Anyone know why plan9.bell-labs.com/ is down? Yesterday I visited and it returned object not found, but today it fails to load entirely and I get Firefox's

Re: [9fans] Acme real estate on 15 macbook pro?

2013-10-04 Thread James A. Robinson
Thank you everyone, it's great to read that there are folks who are pretty happy with acme in either resolution on that size laptop. On Thu, Oct 3, 2013 at 2:09 AM, Enrique Soriano esori...@lsub.org wrote: I use Acme with three columns (fullscreen) and the default fonts on my Macbook Pro 15

[9fans] Acme real estate on 15 macbook pro?

2013-10-02 Thread James A. Robinson
How many of you folks run Acme directly on the screen of a 15 macbook pro? I've been using the 17 macbook pro for years, but Apple has dropped that size, so if I get a replacement it'll have to be smaller. Right now I'm using the 17 at 1920x1200 and running Acme is ok at 3 columns, but I notice

[9fans] Look vs. Edit?

2013-09-10 Thread James A. Robinson
Hi folks, Does the Look command offer any functionality over the Edit command when it comes to searching a document? The man page indicates it's just a literal search command, and it seems as though the Edit command allows for that and much more. I'm curious about the decision to automatically

Re: [9fans] p9p on Retina Macs

2013-09-06 Thread James A. Robinson
On Thu, Sep 5, 2013 at 9:14 PM, Russ Cox r...@swtch.com wrote: The lack of on-the-fly font resizing is a continual source of pain for me (I end up having to restart acme a lot), and at some point I will finish it. Ideally I want to get to the point where devdrawretina=1 acme (no other

Re: [9fans] Acme win and 75+ character Send commands

2013-09-05 Thread James A. Robinson
D'oh, I'm thinking maybe it's bash that is doing this (since bash is my default shell instead of rc). On Thu, Sep 5, 2013 at 1:16 PM, James A. Robinson j...@highwire.stanford.edu wrote: Hi folks, I can't spot anything in the man page about this: is it expected that Acme win will echo

[9fans] Acme win and 75+ character Send commands

2013-09-05 Thread James A. Robinson
Hi folks, I can't spot anything in the man page about this: is it expected that Acme win will echo the trailing part of a Send command if the length of the command exceeds 75 characters? An example: http://highwire.stanford.edu/~jimr/acme-win-76.png Jim

Re: [9fans] Acme win and 75+ character Send commands

2013-09-05 Thread James A. Robinson
2013/9/5 Rob Pike robp...@gmail.com Try set +o emacs (sic) Thank you, that did it. Interesting that it's a +o command to turn something off. bash(1) ... READLINE This is the library that handles reading input when using an interactive shell, unless the --noediting option

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

2013-09-02 Thread James A. Robinson
Thank you both for the explanation! On Mon, Sep 2, 2013 at 3:38 AM, dexen deVries dexen.devr...@gmail.comwrote: On Monday 02 of September 2013 14:13:56 Alexander Sychev wrote: The problem is the addr file is closed between your calls. When you open the addr file next time, an internal

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

2013-08-31 Thread James A. Robinson
Say I have an acme window with a $winid of 2. If I type the following commands: $ echo -n , | 9p write acme/2/addr $ echo dot=addr | 9p write acme/2/ctl I see the entire text of the window get selected. I had assumed that if I then read addr that I would get back two numbers, 0 and the final

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

2013-08-31 Thread James A. Robinson
On Sat, Aug 31, 2013 at 10:23 AM, James A. Robinson j...@highwire.stanford.edu wrote: I see the entire text of the window get selected. I had assumed that if I then read addr that I would get back two numbers, 0 and the final byte offset of the file (it is a non-zero length file). However

Re: [9fans] 9p write event to Acme?

2013-08-30 Thread James A. Robinson
So I see that it actually isn't possible to do what I want, that the write operations to an event file are limited to just positional information. That's unfortunate, I had really hoped it was possible to simulate events via an external program. .../src/libacme/acme.c: int winwriteevent(Win

Re: [9fans] iwp9

2013-08-30 Thread James A. Robinson
Fyi, you've got a link to the hotel that ends up at http://www.iwp9.org/hotelindigoathens and which returns an error: Object not found The object /hotelindigoathens does not exist on this server. errstr: '/usr/web/iwp98e/hotelindigoathens' does not exist uri host: header host: www.iwp9.org

[9fans] 9p write event to Acme?

2013-08-29 Thread James A. Robinson
[argh, I posted this to the google group though I know that it won't show up...] Folks, I'm interested in writing some Acme commands to simulate execution of certain built-in commands. For example, I would like to be able to simulate the user 2-1 chording on an Edit command in the tag. Is my

Re: [9fans] Favorite variable width fonts?

2013-08-29 Thread James A. Robinson
On Thu, Aug 29, 2013 at 3:49 AM, Costin Chirvasuta cost...@gmail.comwrote: I really like /lib/font/bit/vga/vga.font (not sure if it's in official plan9, found it in 9front last time). Yep, still there:

Re: [9fans] Favorite variable width fonts?

2013-08-29 Thread James A. Robinson
On Wed, Aug 28, 2013 at 2:31 PM, Lee Fallat ircsurfe...@gmail.com wrote: ... Droid Sans looks the best at smaller text sizes ... Thanks, I'm checking out the google android fonts using the TTF fonts available from http://www.fontsquirrel.com/fonts/list/foundry/google-android Jim

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

2013-08-28 Thread James A. Robinson
On Wed, Aug 28, 2013 at 5:13 AM, dexen deVries dexen.devr...@gmail.comwrote: your selection lacks the final LF to make Rc happy ;-) a quick and dirty hack would be to always append LF: exec /usr/local/plan9/bin/rc {9p read acme/$id/rdsel;echo;} tested with: echo foo bar rc {9p read

[9fans] Favorite variable width fonts?

2013-08-28 Thread James A. Robinson
Hi folks, I just recently started using Acme. Years ago I was a heavy user of sam and wily, but when I moved from Linux to a Mac OS X machine I found the X11 based programs were a bit too fiddly on the mac. Plan9Port changes all that of course, and for years now I've been wanting to try moving

Re: [9fans] Favorite variable width fonts?

2013-08-28 Thread James A. Robinson
On Wed, Aug 28, 2013 at 11:42 AM, James A. Robinson j...@highwire.stanford.edu wrote: Ideally the font would have glyphs that are easy to read for the symbols used in a typical C or Go program when using a smaller font (the long label problem I wrote about earlier is manageable

[9fans] acme label lengths in tags

2013-08-27 Thread James A. Robinson
Do you folks have any solutions to shortening the length of labels in acme? Back when I used Wily it had a nice feature to use environment variables if it found a match, e.g., one could set h=/Users/jimr and wily would show $h instead of /Users/jimr in the tag. Anyone know of similar techniques

Re: [9fans] acme label lengths in tags

2013-08-27 Thread James A. Robinson
On Tue, Aug 27, 2013 at 6:44 AM, Robert Raschke rtrli...@googlemail.comwrote: On Plan 9 use bind to create yourself a nice hierarchy. Like 'bind -a /Users/jimr /me' or similar. Not sure how easy that is under *nix with p9p, haven't tried that yet. And your /Users makes me think you're on