Re: [9fans] NIX/regen

2025-01-14 Thread yy
On Tue, 14 Jan 2025 at 10:06, wrote: > > BTW, there were two "logos": And they are horrible. We were talking about having a logo with some kind of nixie tubes and I drafted those letters in a few minutes. Then someone asked for a cat and I reluctantly added that "cat" in another two minutes. And

Re: [9fans] iOS drawterm

2020-03-31 Thread yy
On Wed, 25 Mar 2020 at 07:40, Anthony Sorace wrote: > > With iOS getting first-class mouse pointer support, I’m looking at the iOS > drawterm port again. Has anyone touched this since the old GSoC project bit > rotted out? > In case there is any interest, I would be glad of helping to port devw

Re: [9fans] gVisor - user space kernel in Go

2018-05-03 Thread yy
Maybe one of the most interesting aspects is that it includes a 9P2000.L implementation: https://github.com/google/gvisor/tree/master/pkg/p9 On 2 May 2018 at 21:19, Skip Tavakkolian wrote: > Just saw this today; might be of interest to some 9fans. Apache open source > from Google: > > https://gi

Re: [9fans] acme tag bars stacking

2016-10-28 Thread yy
On 28 October 2016 at 16:23, Mathieu Lonjaret wrote: > Anyway, does anyone know what the rationale was for choosing to stack > them at the bottom? Or why it would be a a bad idea to make them stack > at the top instead? Let's suppose you have many windows in a column. When you work in one of them

Re: [9fans] libtask

2016-10-13 Thread yy
On 13 October 2016 at 18:03, Steve Simon wrote: > Anyone written or ported a small simple 9p library; As part of a GSoC project I wrote https://bitbucket.org/yiyus/devwsys-prev/src/tip/libninep/ (man pages can be found in the same repo). There is a ninepserver but not a ninepclient because the on

Re: [9fans] Porting 9front.net/go/draw to Plan 9

2015-07-10 Thread yy
On 9 July 2015 at 16:52, Friedrich Psiorz wrote: > Hi! > > I'm currently writing a graphical application in Go that I would like to > be able to run both in Unix and Plan 9. Currently the 9fans.net/go/draw > library only works in Unix, by connecting to p9p devdraw. I am sorry I do not have answer

Re: [9fans] compiling 9vx on yosemite

2015-05-22 Thread yy
On 21 May 2015 at 19:53, Skip Tavakkolian wrote: > i have a vague recollection of a discussion about making 9vx use devdraw > (plan9port). has anyone looked into that? If plan9port (or Inferno) are working, it should be easy to port wsys. I would be glad of doing it, but I don't have any mac syst

Re: [9fans] compiling 9vx on yosemite

2015-05-22 Thread yy
On 21 May 2015 at 21:39, David du Colombier <0in...@gmail.com> wrote: > Just to let you know. The current vx32 repository moved from > Mercurial to Git and is now hosted on GitHub. > > https://github.com/0intro/vx32 When I have some time (this weekend, I hope), I will add a note to my repo saying

Re: [9fans] small VFD display

2015-05-06 Thread yy
On 6 May 2015 at 11:52, Steve Simon wrote: > Could I run the plan9 graphics subsystem in a stand alone app rather > than involving the kernel? > I think I can but are there any examples of this? wsys: https://bitbucket.org/yiyus/devwsys-prev/ It runs in unix. If you have a way to control your sc

Re: [9fans] sources?

2015-04-27 Thread yy
On 26 April 2015 at 19:04, Sergey Zhilkin wrote: > Very good ! > > Sape is in Cisco, Geoff is in Google. > > Who is in charge? http://i.imgur.com/h2iNV2H.png -- - yiyus || JGL .

Re: [9fans] easier refreshing of acme wins

2015-04-09 Thread yy
On 26 March 2015 at 17:02, Mathieu Lonjaret wrote: > However, I find it a bit tedious that I have to write (or paste) > myself the Get tag for each of the wins I want to refresh. To the > point that I'm thinking of hardcoding the Get tag as one of the > "permanent" tags for a win. One easy soluti

Re: [9fans] drawterm sources

2015-03-02 Thread yy
On 2 March 2015 at 11:06, Giacomo Tesio wrote: > - where I can find the most updated sources of drawterm? (links from > http://swtch.com/drawterm/ seem to be broken) https://bitbucket.org/rsc/drawterm > - Is there any simpler solution? Buying a three-button mouse is quite > hard in Italy, and ab

Re: [9fans] once more: drawterm osx-x11 on x86-64

2015-02-27 Thread yy
On 28 February 2015 at 00:10, Jeff Sickel wrote: > Some people prefer the X11 version as the refresh speed may be higher. That’s > fine, though I prefer having rio resize working so I can full screen the app > on a second display with CONF=osx-cocoa. Would it be possible to get working devwsys[1

Re: [9fans] sam for Windows?

2014-12-21 Thread yy
On 3 June 2014 at 00:08, Steve Simon wrote: > there is the pf9 package which would probably be the > best starting point. > > https://bitbucket.org/knieriem/pf9 It looks like the repository is not there anymore. Does anybody keep a copy of those binary files I could download? Thanks! -- - yiyu

Re: [9fans] acmetags

2014-12-03 Thread yy
On 30 November 2014 at 18:39, Mathieu Lonjaret wrote: > On 30 November 2014 at 18:19, erik quanstrom wrote: >> it's pretty easy code to copy, >> i just haven't done it yet. the other thing missing from p9p acme that >> i notice is the ability to middle click on the column blue square and have >>

[9fans] gsoc reunion

2014-10-18 Thread yy
Is anybody going to the GSoC reunion organized by Google next weekend in San Jose? I will be there from Thursday to Sunday. Let me know if you want to meet. -- - yiyus || JGL .

Re: [9fans] Mouse chording in Microsoft Windows

2014-08-07 Thread yy
On 6 August 2014 06:49, Chris Rokich wrote: > Is anyone aware of a way to use mouse chording (Mb1-2 to cut, for example) in > Microsoft windows programs? http://9fans.net/archive/2014/06/31 (I've never tried it) -- - yiyus || JGL .

Re: [9fans] ODROID-W

2014-08-01 Thread yy
On 1 August 2014 16:18, Nicolas Bercher wrote: > On 01/08/2014 04:16, Shane Morris wrote: >> >> There are cards available for it that give it wired ethernet and four >> USB ports > > > Do you mean RPi+-compatible extension cards? Because I didn't see any > wired ethernet extension on the ODROID-W

Re: [9fans] anyone use 9vx with root from kenfs?

2013-04-27 Thread yy
The Plan 9 network stack and the work dho did was merged in my repo (and so in ron's and others) a long time ago. It was one of the first things I did. There are two options: to use a pcap-based ethernet device (which needs root) or a tun/tap one (then you don't need root, but will probably want t

Re: [9fans] [GSOC] graphics projects

2013-04-24 Thread yy
On 24 April 2013 07:55, David Hoskin wrote: > Hello 9fans, > > I am interested in working on either of the graphics-related projects > suggested on the GSOC wiki page. > > Nice. > For the window system enhancements, my immediate idea would be to > implement title bars and dwm-style keyboard com

Re: [9fans] Acme hack

2013-03-14 Thread yy
On 14 March 2013 14:44, dexen deVries wrote: > I like my +Errors window clean once in a while. Attached patch provides > Edit ,d > by default in +Errors window tagline. > Not that I have any problem with this but, isn't it easier to just Del the window so that a new one is created when you need

Re: [9fans] 9vx getting root from plan9 file server

2013-03-11 Thread yy
On 11 March 2013 14:29, Steve Simon wrote: > Anyone succeeded in getting 9vx to take its root from a remote > plan9 file server? There is a mail from RSC from 2009 but he > indicates it is untested, I was just wondering if anyone got it > to work and have a command like they could share? > This

Re: [9fans] Logitech T400 mouse with Plan9 and Plan9port Acme

2013-02-25 Thread yy
On 25 February 2013 20:24, Ruslan Khusnullin wrote: > had a Logitech M100 mouse with a scroll wheel supporting "horizontal > scroll" so pushing a wheel this way is not possible. > What about B2+B1 chord? > It should not be difficult to map the scroll left button to B2. I've done it in p9p's acme

Re: [9fans] a small Acme annoyance

2012-12-12 Thread yy
On 12 December 2012 00:00, wrote: > Sounds unavoidable. If it really annoys you, avoiding it is actually quite easy. Some time ago I wrote a small patch [1] to interpret the pipe symbol as Edit when it is all the selected text (ie. when it is not followed by a command). This is quite convenien

Re: [9fans] Using Acme Remotely

2012-10-26 Thread yy
On 26 October 2012 17:34, KevinK wrote: > I've used win to ssh into a remote machine, but this only seems to expose a > bash session and not all the functionality acme provides. Since it looks like you can access your files through ssh, I would suggest using sshfs to make the files available in

Re: [9fans] devdrawserver

2012-04-24 Thread yy
pmarin : > http://summerofdevdraw.blogspot.com.es/2011/10/9p-srv-experimental-devdraw-for-p9p.html Not quite the same thing, although it could be used to fix marius' problem too. I will try to clarify what the possibilities are, because it can be confusing. In p9p, you usually have (in a X11 sys

Re: [9fans] removing spaces from filenames

2012-03-21 Thread yy
2012/3/21 Peter A. Cejchan : > for (old in `{9 ls *.$EXT}) { Here you are iterating over the elements of `{9 ls *.$EXT}, sepparated by $ifs. Therefore, spaces are breaking your lines into word fields. This is not what you want. Your second example directly process whole lines (uses sed), so it wo

Re: [9fans] awk reading?

2011-12-19 Thread yy
2011/12/19 dexen deVries : > hi, > > just yesterday i've got a glimpse of awk's power and neatness. it's good, it's > useful and i want to dig deeper. what's recommended online reading on awk? awk.info is a good starting point. -- - yiyus || JGL .

Re: [9fans] C compiler error?

2011-12-13 Thread yy
2011/12/13 erik quanstrom : > On Tue Dec 13 08:53:25 EST 2011, noah.ev...@gmail.com wrote: >> Erik, are you looking at the tip? IIRC the webpage points to a stable >> version not the tip. > > well too bad, no option to peek at the tip either. > http://tip.golang.org/src/cmd/gc/reflect.c (weekly.g

Re: [9fans] 9vx instability

2011-11-27 Thread yy
2011/11/21 Jens Staal : > What I would like to know is if you can boot a plan9 system from iso via 9vx > as "persistent" partition whereas changes are saved to another directory (so > basically setting up a union mount between the iso and a directory) - > alternatively specifying an alternative pat

Re: [9fans] 9vx instability

2011-11-21 Thread yy
2011/11/21 Anthony Martin : > I had this happen to me a few times but I never > took the time to track it down.  I haven't had > it happen since I upgraded my kernel to 3.1. I can confirm this. I don't know how to be sure it is solved, but the problem used to appear after a few minutes of use and,

Re: [9fans] 9vx instability

2011-11-21 Thread yy
2011/11/21 Jens Staal : > What I would like to know is if you can boot a plan9 system from iso via 9vx > as "persistent" partition whereas changes are saved to another directory (so > basically setting up a union mount between the iso and a directory) - > alternatively specifying an alternative pat

Re: [9fans] 9vx instability

2011-11-21 Thread yy
2011/11/21 Anton : > Linux hippo 3.0-ARCH #1 SMP PREEMPT Wed Oct 19 12:14:48 UTC 2011 i686 > Intel(R) Core(TM) Duo CPU T2600 @ 2.16GHz GenuineIntel GNU/Linux (Archlinux) You may try booting an older kernel. I've had similar problems since I updated my main arch system to linux 3.0, but I've not h

Re: [9fans] 9p devdraw

2011-11-09 Thread yy
During the last week there have been many improvements to the 9p drawing device and wsys. I've been using it quite often these last days and I don't think there is any major bug left. Even better, patching p9p is no longer needed, so if this was stopping you from trying it out, now you have no ex

Re: [9fans] 9p devdraw

2011-11-03 Thread yy
2011/11/3 Akshat Kumar : > Thanks for this  - I often wonder where to find > the code behind the papers in IWP9 proceedings. I did not want to worry about big changes and even total rewrites when working on wsys, so I named the repository devwsys-prev (wsys was initially named devwsys) to indicate

[9fans] 9p devdraw

2011-11-02 Thread yy
Two attached files: - 9p-srv.c is a devdraw(1) version which uses 9pclient(3) to talk with Plan 9-like devices and use them for its windows. - p9p.patch is a patch that has to be applied to the p9p tree to use this devdraw version. The drawing device expects to find draw(3), cons(3) and mouse(3)

Re: [9fans] 9vx - prerequisites

2011-10-25 Thread yy
In addition to what has been already said, if you need virtual ethernet devices you will need libpcap-dev in order to build 9vx with pcap support. -- - yiyus || JGL .

Re: [9fans] acme multi-line tags (or maybe, efficient message stores)

2011-10-11 Thread yy
I have updated the acme version in contrib/yiyus. It includes some other changes, but only this is relevant to this thread: term% diff /sys/src/cmd/acme/exec.c exec.c 70a71 > { L"e", edit, FALSE, XXX,XXX > }, 148a150,156 > if(runestrncmp(r, L

Re: [9fans] acme multi-line tags (or maybe, efficient message stores)

2011-10-11 Thread yy
2011/10/11 Peter A. Cejchan : > >> >  By the way, I patched acme so that | (the pipe symbol) can take an > > > Is the patch on sources? Only an older version, where the argument is sent to the Edit command. This is easier when you just want to Edit, but does not work with commands. This is the or

Re: [9fans] acme multi-line tags (or maybe, efficient message stores)

2011-10-11 Thread yy
2011/10/11 hiro <23h...@googlemail.com>: > I'd rather make sam a bit more powerful. Then I can use multiple > instances with my regular windows manager I can't find all the windows > in windows in windows on my current multi display setup, acme sucks > just like my web browser with it's tabs. > Als

Re: [9fans] reverse search direction in p9p acme

2011-09-19 Thread yy
2011/9/19 roger peppe : > i've sometimes imagined a version of acme where shift-right-click > would reverse the search. no way of implementing it under > plan 9 itself though. Another option is to use a right-click on Look to search backwards. Then, you will need a workaround to look for Look, but

Re: [9fans] Nemo book

2011-09-16 Thread yy
2011/9/16 Jens Staal : > - One thing I wonder there about 9vx is - can you add a command line > argument to start a script in the plan9 that boots? Yes. See 9vxp in 9vx(1). Also, have a look at acmevx in the bin directory as inspiration. -- - yiyus || JGL .

Re: [9fans] NIX 64-bit kernel is available

2011-09-14 Thread yy
> BTW, can 9vx access fossil or kenfs from a separate partition? > It should work with fossil or kfs setting nobootprompt. Adding cwfs would be trivial, but I don't know if anybody has tried with a proper kenfs kernel. You could also use rcvx and mount whatever you want from there. -- - yiyus |

Re: [9fans] 9p hello world

2011-09-05 Thread yy
2011/9/5 s s : > It seems like there might be a hello world example for libixp ... > > http://www.anarchyinthetubes.com/src/hello_libixp I wrote that, but is needing some attention. It is quite old, and although is still valid, I should finish more examples. Extending it to p9p's 9p(3) and Inferno

Re: [9fans] interesting(?) widgets idea

2011-07-12 Thread yy
2011/7/12 dexen deVries : > on an unrelated note, it seems to me websites with large horizontal margins > are synonymous with bullet-point engineering and little to no useful content. > http://cm.bell-labs.com/plan9/ -- - yiyus || JGL .

Re: [9fans] in ed, how to do i do this?

2011-06-17 Thread yy
2011/6/17 Fernan Bolando : > 1. insert a character in a line? - I usually retype the whole line with .c s/^/c/ > 2. indent a line - i usually retype the whole line. The same, where c == \t -- - yiyus || JGL .

Re: [9fans] 9vx bootimage build instructions?

2011-05-26 Thread yy
2011/5/26 erik quanstrom : > 9vx uses plan9.ini?  last i checked, that assumption was false. That depends where you checked. Ron's version (or mine, they are the same now) has some support for plan9.ini files with the -f flag, as is documented in the man page: http://bytebucket.org/yiyus/vx32/wiki

Re: [9fans] Plan 9 GSoC projects selected

2011-04-29 Thread yy
2011/4/29 Ethan Grammatikidis : > > On 27 Apr 2011, at 6:47 pm, Anthony Sorace wrote: >> >> • Unification of X11 code and wsys device, by Jesús Galán López [1] > > [...] >> >> [1] >> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/yiyus/1 > > I'm a bit curious about this one but

[9fans] 9vx: one less version to care about

2011-04-08 Thread yy
My 9vx tree and ron's one are exactly the same now. Ron has write access to my repo now, which will be used for development from now on, while the one at bitbucket.org/rminnich/vx32 will be more stable and the only one most users will have to worry about. I hope this helps to avoid some of the con

Re: [9fans] Making read(1) an rc(1) builtin?

2011-04-05 Thread yy
2011/4/4 : > Unfortunately, echon.c doesn't solve the problem either, because it > doesn't output a trailing newline.  The crux of the problem is how to > output "-n" on a line by itself, followed by a newline.  I don't think > it can be done symmetrically without adding another option to echo. T

Re: [9fans] problem with rminnich's 9vx

2011-03-29 Thread yy
2011/3/29 ron minnich : > On Tue, Mar 29, 2011 at 8:42 AM, Mathieu Lonjaret > wrote: >> Well, since Ron's tree is based on Yiyus', and Ron's doesn't have that >> patch, I think that means Yiyus' doesn't have it either. And yet, >> Yiyus' works for me, so I doubt this bug was the culprit for me. Mo

Re: [9fans] problem with rminnich's 9vx

2011-03-29 Thread yy
ron's 9vx and mine are compiled differently in 64bits systems, so you can try mine and see if there is any difference, but I don't really know. I don't have any x86_64 system I can use to test 9vx, so please let me know if things get better (or worse). If you don't want to download the whole vx32 t

[9fans] gsoc 2011

2011-03-04 Thread yy
>From >http://google-opensource.blogspot.com/2011/02/mentoring-organization-applications-now.html: "The deadline for applying to be a mentoring organization for Google Summer of Code is Friday, March 11th at 23:00 UTC (3pm PST)." Any plans to participate this year? -- - yiyus || JGL .

Re: [9fans] 9vx versions

2011-02-16 Thread yy
2011/2/16 ron minnich : > On Wed, Feb 16, 2011 at 10:33 AM, Jacob Todd wrote: >> There's yiyus' and rminnichs' verions on bitbucket, just search for 9vx >> there and you should find them. I think ron's is a fork of yiyus', I'm not >> completely sufe how much the differ. > > ron is a fork of the or

Re: [9fans] plan9 go output faults on 9vx with rfork

2011-02-07 Thread yy
2011/1/24 ron minnich : > On Mon, Jan 24, 2011 at 9:18 AM, yy wrote: >> 2011/1/23 ron minnich : >>> change all sem* bits in a/sysproc.c to use uint32 not long >>> change ed script so it won't do the wrong thing in future. >> >> Just for the records,

Re: [9fans] plan9 go output faults on 9vx with rfork

2011-01-24 Thread yy
2011/1/23 ron minnich : > change all sem* bits in a/sysproc.c to use uint32 not long > change ed script so it won't do the wrong thing in future. Just for the records, the ed scripts are not working with current kernel sources, they need to be updated. I gave it a try, but sometimes I started from

Re: [9fans] p9p factotum available for plan 9

2010-11-09 Thread yy
2010/11/9 David Leimbach : > I'm wondering things like "can I use p9p venti as a snapshot back end to a > VMWare Plan 9 Fossil? mycroftiv is doing it with qemu. He has writen about it and you can download the whole thing from 9gridchan.org. -- - yiyus || JGL . 4l77.com

[9fans] crashing 9vx

2010-10-28 Thread yy
I keep hearing how 9vx is very unstable and have a lot of problems, but after a few months working on it I have not received many bug reports. Probably I won't know how to fix these problems, but at least I'd like to have them documented. Also, I'm updating the autogenerated kernel files and would

Re: [9fans] kw audio -- /dev/audio and friends

2010-10-28 Thread yy
2010/10/28 Anthony Sorace : >> the other problem with both volume and audioctl will come with multiple >> streams. in1 and out1 might work, but it starts to look ugly. usbaudio >> appears to ignore multiple inputs or outputs. > > i'm not entirely sure what you mean by "streams" in this context. mul

Re: [9fans] So, why Plan 9?

2010-10-12 Thread yy
2010/10/12 Max E : > For any use-case I personally care about (and probably any > workstation/server use case you care about as well,) the Linux kernel > with the GNU userspace will blow anything out of the water, both in > performance and usability. I don't think the GNU userspace is more usable.

Re: [9fans] newbie boot question

2010-10-11 Thread yy
2010/10/11 freeasinfreedom : > I don't have the privileges to add a new user with /sys/lib/newuser > when I log in as `none'. Also, I cannot edit edit /usr/glenda/lib/ > profile to stop starting rio automatically until the time I'll fix the > vga problem. Any workarounds? > You can tell Plan 9 to

Re: [9fans] diff3 for c source

2010-10-06 Thread yy
2010/10/6 Steve Simon : > alternatively anyone known know of somthing which might be able to modify > the plan9 source to make it acceptable to gcc > >        • adding names for unused function parameters >        • adding names for blind structure members >        • adding apropriate names for "au

[9fans] 9vx tutorial: running a cpu server from kfs (RFC)

2010-10-02 Thread yy
This tutorial is a work in progress (it will eventually be added to the 9vx documentation and probably to the Plan 9 wiki). Please let me know if you see anything I'm doing wrong (unfortunately I don't have too much experience with real Plan 9 systems of more than one machine). In particular, I don

Re: [9fans] 9vx mk install chokes on gs

2010-09-14 Thread yy
2010/9/12 yy : > 2010/9/12 ron minnich : >> Ah. It was 256 MB but Yiyus changed it 8 weeks ago to 64MB. Why? > > Sorry about that. It was after updating all the a/ files from the .ed > scripts. It looks like I did not pay enough attention to mem.ed. There > were other changes

Re: [9fans] 9vx/vx32 - Out of ignorance

2010-09-12 Thread yy
2010/9/12 Lucio De Re : > It's very, very helpful.  I would, and almost certainly will, have > split the "tunnel" and "openvpn" portions into two scripts (a selector > of some type might be good enough, but isn't easily justified), because > I'm sure that they don't overlap quite the way the presen

Re: [9fans] 9vx mk install chokes on gs

2010-09-12 Thread yy
2010/9/12 ron minnich : > Ah. It was 256 MB but Yiyus changed it 8 weeks ago to 64MB. Why? Sorry about that. It was after updating all the a/ files from the .ed scripts. It looks like I did not pay enough attention to mem.ed. There were other changes that could be causing problems too. I'm current

Re: [9fans] 9vx/vx32 - Out of ignorance

2010-09-12 Thread yy
2010/9/12 Lucio De Re : > My thinking is that 9vx could start up as root > to install the TAP device (nothing else so far has alerted me to a need > for root permissions), then switch user to the selected one (if it exists, > "nobody" may be needed if there is no equivalent in the host repertoire)

Re: [9fans] 9vx and replica/pull on OS X

2010-09-11 Thread yy
2010/9/11 Paul Lalonde : > I'm getting essentially every file tagged as "locally modified; will not > update". The option -s for replica could help you with that. I have used replica from 9vx and it works (yes, a lot of warnings, but it works). However, what I usually do is to keep a sysfromiso hg

Re: [9fans] 9VX failure

2010-09-11 Thread yy
2010/9/11 Lucio De Re : > That bit was easy, just move the leading # from nopcap to etherpcap: >From now on, this is the default in my 9vx version: http://bitbucket.org/yiyus/vx32/ If anybody thinks pcap should be compiled by default, please let me know. > Now, where do I find Charles' fix for th

Re: [9fans] regexp doubt

2010-07-13 Thread yy
2010/7/13 hugo rivera : > Hi, > can someone tell me why the regular expression /stat[abc]?[ ;\-]/ > doesn't match the string "stat-" in acme? I expect it to match, where > does my mistake lie? > Saludos, > > -- > Hugo > > It works here (both with B3 searches and Edit ,x commands). Maybe what you h

Re: [9fans] problems with tracing 9vx on os x (was: Re: ghostscript not finding LucidaSans

2010-06-29 Thread yy
2010/6/28 Pietro Gagliardi : > First I found a slight building problem on Mac OS X 10.5.8: ethertap.c needs > to be changed to include before and to add a > defined(__MACOSX__) or similar to the #elf defined(__FreeBSD__) so opentap() > can be defined. > > However once this version was built, I go

Re: [9fans] Acme-sac integration with Windows NT

2010-05-20 Thread yy
If you are using cygwin, you can use sh from acme-sac: win os C:\cygwin\bin\run.exe -p /bin sh -i or if you do not need access to the rest of the cygwin commands: win os C:\cygwin\bin\sh -i -- - yiyus || JGL . 4l77.com

Re: [9fans] sam language question

2010-04-22 Thread yy
2010/4/22 Rudolf Sykora : > On 22 April 2010 20:24, yy wrote: >> Edit ,x/^.*0\.00/i/\n/ > > The same answer as to Rob Pike. Your solution is ok, thanks. But I > still can't see what's wrong with mine... :( > R You would need to group your last commands (think caref

Re: [9fans] sam language question

2010-04-22 Thread yy
2010/4/22 Rudolf Sykora : > Hello, > > I have a file in which I wanted to insert an empty line just before > any line on which a string, say '0.00' is present. > Edit ,x/^.*0\.00/i/\n/ -- - yiyus || JGL . 4l77.com

Re: [9fans] updating 9vx root

2010-04-20 Thread yy
2010/4/21 EBo : > > what is the procedure for either updating the entire 9vx root, or setting up > and building all the special customizations to build an up to date system? See: http://9fans.net/archive/2008/07/118 I always start from the tree posted in that message, but you can also follow the

Re: [9fans] Character CR in Plan9?

2010-04-20 Thread yy
2010/4/20 pmarin : > I wanted to remove this character from some files. I tried to do it with > the p9p tr(1) and I noticed that It does not support '\r'. > You can use \x0d or probably sed 's/.$//' -- - yiyus || JGL . 4l77.com

Re: [9fans] GSOC proposal

2010-03-25 Thread yy
2009/3/28 Bruce Ellis : > Just a suggestion, > > A good forth system using acme, probably based on fgb's 4th. The goal > is to conquer the Seaforth chip. > > I know the dev kit is US$500 but their compiler and simulator, written > in forth, doesn't need hardware. > > And at least two 9fans have a k

Re: [9fans] plan9 on qemu and 9vx

2010-03-12 Thread yy
2010/3/12 hugo rivera : > But the next step I want to take is to run just a terminal with qemu, Since it looks like you have the option, I would not suggest to use a qemu image as your terminal. Instead, make 9vx or drawterm your terminal and you will have access to your host file system for free

Re: [9fans] Shall we fix the use of Up/Dn arrows?

2010-01-26 Thread yy
2010/1/26 Rudolf Sykora : >>>  Not sure how the concept of a line delimited by newlines relates to >>>moving the cursor up one physical line on the screen. >> >> Working out where to move the cursor to > > Still I dare claim that moving a cursor up one visible line has > nothing to do with the conc

Re: [9fans] Drawterm Trouble

2009-11-25 Thread yy
2009/11/24 Martin Gansel : > Drawterm for Linux(I currently run Arch Linux) doesn't allow me to use > the middle mouse button emulation(Shift + right mouse button). > For example if I run Acme, I can't exec any command via middle button > emulation. There is simply no reaction. Is there any known b

Re: [9fans] awk help; not plan9 matter

2009-09-17 Thread yy
if you want to preserve white-space, you better forget about fields and work with indexes on the string, match is your friend: % echo '1 3 4 8' | awk '{match($0, /[ \t]*[^ \t]+[ \t]+/);a=RLENGTH+1;match(substr($0, a), /[ \t]/);print substr($0,0,a-1) "hell" substr($0,RSTART+a)}' 1

[9fans] [acme] growing columns

2009-09-12 Thread yy
After a long time seeing how nothing happened after clicking on column tags I have finally patched acme so that its columns grow as windows do. You can see how it works in this video: http://4l77.com/pub/acme-growcol.mpeg If you want to try it yourself the only thing you will need is the file /n/so

Re: [9fans] Using Guide Files

2009-08-14 Thread yy
2009/8/12 <6o205z...@sneakemail.com>: > Given how useful and important it is to have Edit in the tag of text > windows, is there some reason that it isn't there automatically? After this discussion, I wrote a little patch, which somebody else might find useful: ; diff /sys/src/cmd/acme/exec.c sr

Re: [9fans] Acme Configuration

2009-08-07 Thread yy
2009/8/7 yy : > 2009/8/7 roger peppe : >> the Include path. >> contents of win buffers. >> Undo/Redo history. > > Contents of all the taglines > > i have lost precious one-liners in column headers. > >> while i'm about it, there are a few other d

Re: [9fans] Acme Configuration

2009-08-07 Thread yy
2009/8/7 roger peppe : > the Include path. > contents of win buffers. > Undo/Redo history. Contents of all the taglines i have lost precious one-liners in column headers. > while i'm about it, there are a few other dump > features i'd like to see: > - automatic dumping every 30s or so in case of

[9fans] contrib dir

2009-08-06 Thread yy
Hello Geoff, I wanted to ask you for a directory in sources/contrib. I sent an email to cont...@plan9.bell-labs.com some time ago, but it looks like it got lost and some people on #9fans told me to contact with you. I just want to store there some rio and acme patches I have. Thanks in advance (and

Re: [9fans] 9vx and AWK

2009-07-24 Thread yy
2009/7/24 Sergey Zhilkin : > > Any known issues with 9vx and AWK ? The awk system() built-in does not work in 9vx out of the box. I think the reason is awk uses the ape shell to execute system commands and ape is not included (it uses the stdlib.h system() function, that's for sure). I have not fo

Re: [9fans] troff and ps related

2009-07-09 Thread yy
2009/7/9 hiro <23h...@googlemail.com>: > Perhaps we should use troff and just convert it to tex? > Because I also hate to write/read tex. > I have an awk script to write latex in plain text, with a syntax similar to markdown. It is an ad-hoc solution I am using to write my thesis, but if you are i

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread yy
2009/7/1 Aaron W. Hsu : > how to > quickly navigate through to specific parts of a file and how to reduce > redundancy of typing and movement. > Maybe I'm alone doing this, but I tend to avoid movement inside a file abusing of the Zerox command. I keep the function definitions at the top of the fi

Re: [9fans] Proposal*: A Cousin for man(1)

2009-06-28 Thread yy
When I started reading Plan9 documentation some years ago I noticed a lack of examples (a simple 9P file server being the most notorious one), until nemo's book appeared and I started to really play with the system. Then, I realized how naive^Wstupid I had been: Plan9 is *full* of examples. The sou

Re: [9fans] Sam commands in acme

2009-06-26 Thread yy
2009/6/26 hugo rivera : > Hi, > I am trying to select all c comments from within a file using acme, > but I am unable to do it properly. The command x/\/\*.*\*\// is the > closest I could get, but it doesn't work with comments that span over > more than one line. This raises a question for me: some

Re: [9fans] acme programming questions

2009-06-18 Thread yy
2009/6/18 Tim Newsham : > I've been trying my hand at some very simple acme programming > tasks and have some questions.  I'm interested in a utility > that translate dot into a filename:line-line range I think Edit = is what you want. -- - yiyus || JGL .

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

2009-06-08 Thread yy
2009/6/8 Rudolf Sykora : > The very question for me now is: why it behaves how it behaves, i.e > why newlines (if it's them) are problematic. > > Ruda > They are the only way Edit has to separate commands. You will notice that you cannot use something like i/A/a/W/ (or i/A/;a/W/, for example). How

Re: [9fans] plan 9 regexp

2009-06-03 Thread yy
2009/6/3 hugo rivera : > But then, how exactly the '?' operator is useful for grep? I was > thinking that it was good to filter lines that contain more characters > that desired, but it is not. > Saludos Some common use cases are https? and plurals? -- - yiyus || JGL .

Re: [9fans] acme: dirty state after 1-2, 1-3 click in a tag line

2009-05-30 Thread yy
2009/5/30 Rudolf Sykora : > Hello, > > I've noticed two strange things about acme: > 1) when I snarf the name (or a part of it) of a file with a mouse (in > the tag line) using 1-2, 1-3 mouse chord, the file is marked dirty. (I > think it should not.) Probably you have already noticed it, but if t

Re: [9fans] Acme column layout box and buttons

2009-04-27 Thread yy
2009/4/27 Balwinder S Dheeman : > That's a lot of good actions attached to all the three buttons for > handling vertical layouts. How about adding similar actions to all the > three buttons for managing horizontal layouts to a column /layout box/. > I had a patched version of acme to do this. It i

[9fans] Borderless rio

2009-04-26 Thread yy
I'm sending this to the list because I don't remember who was talking about it in #plan9 some days ago. Somebody suggested to modify rio to open all the windows at fullscreen, this way you could run several rios as if they were workspaces. I have found more practical to add an -I option to run rio

Re: [9fans] Adventures of a home user

2009-04-19 Thread yy
2009/4/19 Jim Habegger : > ... I did learn that I have to press buttons 1 and 3 together, instead of > shift-3, to simulate button 2. IMO, this is a bug. The Shift+Button3 = Button2 behaviour is documented in the man page. I sent a (one-line) patch to Russ, but it looks like it hasn't been applied

Re: [9fans] what features would you like in a shell?

2009-04-01 Thread yy
2009/4/1 matt : > >> you think the idea of reloading a crashed program is not a good one? >> for example, what if it's a web browser? >> >> > > crash reload crash reload crash reload agghh make it stop > > btw. Windows uses this mechanism for running Explorer, as a stop gap to > fixing it they just

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-31 Thread yy
2009/3/31 André Günther : > The only thing I personally see to make remote access on devices such as the > iPhone an useful and enjoyable experience is to work with the multitouch > capabilities. Thus providing an easy way for mouse chording and also certain > gesture support for managing the scree

  1   2   >