Re: [9fans] Setting acme to a GoMono or DejavuSansMono font

2023-01-14 Thread Mark van Atten
> then acme starts, but the font is not GoMono. 9 man fontsrv (EXAMPLES) Mark. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T24f3cf01c959c542-M6bd7d4b766df7cdfd0a27ee1 Delivery options:

Re: [9fans] acme & sam text selection and delete deletes extra character

2022-05-11 Thread Mark van Atten
>Just curious, is this by design, or is this a bug? I'm inclined to think > it's by design as it occurs within sam as well. https://9fans.topicbox.com/groups/9fans/Tf778565df277dd77-M396229d3fd3befcd0bcc95df/re2-9fans-home-end-hjkl Mark. -- 9fans:

Re: [9fans] acme and sam - mouse suggestions?

2022-01-27 Thread Mark van Atten
HP DY651A, e.g. https://www.ebay.com/itm/234392830458 I bought three of them some ten years ago, and they are still working perfectly. It seems the model is no longer in production. The original price was very low. I seem to recall it was also sold as an IBM mouse. Mark.

Re: [9fans] Searching sam for text

2021-08-02 Thread Mark van Atten
On Mon, 2 Aug 2021, 9:00 pm , wrote: > On Monday, 2 August 2021, at 7:48 PM, Mark van Atten wrote: > > man sam > > I have read the man page several times. It speaks of display commands not > of their combinations. > Look for the

Re: [9fans] Searching sam for text

2021-08-02 Thread Mark van Atten
On Mon, 2 Aug 2021, 7:22 pm silas poulson, wrote: > > Sending document to grep with ,> grep -n slightly neater though > does mean leaving sam’s command set. > I usually have a 9term open with the same working directory as the document I am editing, and tend to use that for things outside sam's

Re: [9fans] Searching sam for text

2021-08-02 Thread Mark van Atten
On Mon, 2 Aug 2021, 7:20 pm , wrote: > On Monday, 2 August 2021, at 6:50 PM, Mark van Atten wrote: > > Combine the p with an =. > > If I add = to ,x g//+-p as in ,x g//+-p= I get a ?newline > expected error. > man sam -- 9fans: 9f

Re: [9fans] Searching sam for text

2021-08-02 Thread Mark van Atten
On Mon, 2 Aug 2021, 6:39 pm , wrote: > In sam if I invoke ,x g//+-p sam prints out the hits in the sam > window by lines. I was wondering if there is a way of going from any of > those search results directly to the line in the document where the string > occurs? > Combine the p with an =.

Re: [9fans] Help with a sam cleanup script

2021-07-27 Thread Mark van Atten
On Tue, 27 Jul 2021 at 15:23, Iruatã Souza wrote: > Just pushed it to https://github.com/iru-/sam9f-unix. It might be > outdated, but I still use it daily. Many thanks for this! Mark. -- 9fans: 9fans Permalink:

Re: [9fans] Help with a sam cleanup script

2021-07-26 Thread Mark van Atten
On Mon, 26 Jul 2021 at 23:08, wrote: > > Quoth revcomni...@gmail.com: > > I do have 9front's sam installed > > I am running sam as a standalone on Debian Linux > > 9front's sam does not run on Debian linux. There is a port, now no longer active:

[9fans] Re: [9front] rc oddity with quote and backslash

2021-03-30 Thread Mark van Atten
As pointed out on the 9front list: this is as it should be. Sorry for the noise. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Td7a2640b58fc8d2d-Mbede6b7cf97b5ad84ce54227 Delivery options:

[9fans] Re: [9front] rc oddity with quote and backslash

2021-03-30 Thread Mark van Atten
On Tue, 30 Mar 2021 at 17:52, Xiao-Yong Jin wrote: > > ; xs=(a\ > b\ > c\ > ) > ; echo $#xs > 3 > ; xs=('a'\ > rc: #d/0: syntax error > ; xs=('a' \ > 'b' \ > 'c' \ > ) > ; echo $#xs > 3 > > The sequence of quote-backslash-newline somehow is not

Re: [9fans] Whats the default font in Acme?

2021-03-07 Thread Mark van Atten
On Fri, 19 Feb 2021 at 07:32, Mark van Atten wrote: > > On Thu, 18 Feb 2021 at 10:04, Skip Tavakkolian > wrote: > > > > Plan9port has fontsrv. Any truetype you have on your system is usable. > > man fontsrv for details. > > On my system (Arch 5.10.16) using fon

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Mark van Atten
On Sat, 20 Feb 2021 at 16:26, Russ Cox wrote: > > For what it's worth, you don't need to mount fontsrv anywhere. That is how I used to do it, as in the man page; but for some, probably local, reason the problem I described now arises (actually as of commit 5f0fa18, fontsrv: handle non-BMP runes

Re: [9fans] Whats the default font in Acme?

2021-02-20 Thread Mark van Atten
It seems to have been some kind of permissions problem. If I run fontsrv with a mountpoint created in my home directory, it works perfectly. Mark. -- 9fans: 9fans Permalink:

Re: [9fans] Whats the default font in Acme?

2021-02-19 Thread Mark van Atten
On Sat, 20 Feb 2021 at 05:51, Bakul Shah wrote: > > Note this from the fontsrv man page: > > > > Fontsrv has no support for X11 fonts; on X11 systems, it > > will serve an empty top-level directory. > > I just tried fontsrv on FreeBSD system and it certainly finds .ttf > format fonts

Re: [9fans] Whats the default font in Acme?

2021-02-18 Thread Mark van Atten
On Thu, 18 Feb 2021 at 10:04, Skip Tavakkolian wrote: > > Plan9port has fontsrv. Any truetype you have on your system is usable. > man fontsrv for details. On my system (Arch 5.10.16) using fontsrv introduces 2-3 second delays whenever a program needs to know about the font, e.g. when opening

Re: [9fans] netsurf or opossum

2021-01-07 Thread Mark van Atten
http://git.pmikkelsen.com/ph/opossum -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9a725c37f61954a8-Mf2d9006c5749e4decf646828 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] Re: x11: cursor on a 4k screen

2020-01-11 Thread Mark van Atten
For rio I mean. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b64fb7ca310358c-Mbea7a1561f60a256891327fd Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[9fans] x11: cursor on a 4k screen

2020-01-11 Thread Mark van Atten
Is there a way to increase the cursor size when using a 4k screen under x11? Mark. -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T5b64fb7ca310358c-Mca97229da8793e9e4521ba67 Delivery options:

[9fans] Object Icon, drawterm, riox

2020-01-04 Thread Mark van Atten
For whomever may find this of interest -- the Object Icon project, mentioned on this list in passing in August 2018, also caters to Plan 9: The Object Icon object-oriented programming language: http://objecticon.sourceforge.net/ Of wider use may be its version of drawterm

Re: [9fans] Accessing old Bell labs URLs

2019-10-18 Thread Mark van Atten
https://9p.io/plan9/index.html -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc38dd191428e8ee3-Mb4367ddd42f26967267d6e2d Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Re: [9fans] p9p winwatch

2019-02-06 Thread Mark van Atten
On Mon, Jan 28, 2019 at 10:45 AM Mark van Atten wrote: > I use this in combination with rio. It works fine so far, but I may > well have overlooked some subtle or not so subtle points. It still > crashes when starting libreoffice, which perhaps doesn't call > XInitThreads(). I have

[9fans] p9p winwatch

2019-01-28 Thread Mark van Atten
Thanks to Fazlul Shariar, there is a p9p version of winwatch, available at https://github.com/fhs/misc/blob/master/cmd/winwatch/winwatch.c I noticed memory leaks, and sometimes X11's asynchronous ways made it crash. I put up a slightly modified version at

Re: [9fans] Enter special characters in acme.

2018-12-17 Thread Mark van Atten
On Tue, Dec 18, 2018 at 3:24 AM Parker Ellertson wrote: > > I'm currently running acme on Debian using plan9port. I've tried using > X11's alt-typing (not sure if that's what it's actually called), and > acme isn't doing squat. I'll probably never have an actual use for it, > but it would be

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

2018-06-18 Thread Mark van Atten
On Sat, Jun 16, 2018 at 1:58 AM, Iruatã Souza wrote: > Did you (or Thierry) tried running LuaTeX? I have "ported" lua ages > ago to Plan 9 and it was pretty easy, but I know nothing about LuaTex > internals or the relation between both. Indeed, I had noted your port with interest, for this

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

2018-06-15 Thread Mark van Atten
On Fri, Jun 15, 2018 at 8:13 AM, Mart Zirnask wrote: > I'm a part-time writer and radio producer with no CS background, so I > even use this machine for producing 1-hour radio shows for Estonian > Public Broadcasting. (Thank you, Non Daw!: http://non.tuxfamily.org). > > I just love the "zen" of

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

2018-06-15 Thread Mark van Atten
On Fri, Jun 15, 2018 at 6:44 PM, Brian L. Stuart wrote: > Can't say for LInux, but I run it all the time under 64-bit FreeBSD. As of 11.0, FreeBSD has its own fdclose() with conflicting types. https://github.com/0intro/vx32/issues/3 Did you patch it, or are you running an earlier FreeBSD?

Re: [9fans] Acme create new file

2018-05-12 Thread Mark van Atten
On Sun, May 13, 2018 at 3:22 AM, Chris McGee wrote: > I’ve been creating new files by executing New to create a new window, typing > the full path of the new file and then Put to save it. Am I missing an easier > way to do this, perhaps via a directory window where I want

Re: [9fans] What's the fastest way to input command in Acme?

2018-05-10 Thread Mark van Atten
On Thu, May 10, 2018 at 12:09 PM, hiro <23h...@gmail.com> wrote: > many people keep an additional text file open as scratchspace and > command buffer for other winows. > this is nicer than the multiline p9p tagline or other solutions like > scrolling sideways in the plan 9 acme. Agreed. And

Re: [9fans] acme tag bars stacking

2016-10-28 Thread Mark van Atten
On Fri, Oct 28, 2016 at 4:23 PM, Mathieu Lonjaret wrote: >Probably just because I'm more comfortable looking at things > at the top half of my screen rather than at the top bottom. Perhaps that was the very design consideration, but with preference given to the window

Re: [9fans] Musings on Interfaces

2016-09-01 Thread Mark van Atten
On Thu, Sep 1, 2016 at 7:20 PM, James A. Robinson wrote: > So you couldn't do something like clicking on the start and typing in a > .,// where holds the last few words of the text range you > wanted to select? I understand not having regular markup like a program, > but if

Re: [9fans] Musings on Interfaces

2016-09-01 Thread Mark van Atten
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 marked syntactically, even though I use LaTeX. On the other hand, I find sam a more

Re: [9fans] problem with acme on 9front

2016-05-21 Thread Mark van Atten
On Thu, May 19, 2016 at 11:18 PM, Lee Fallat wrote: > You can copy code from Acme and "backport" it. I've done it before and > it was trivial (and it's long gone too). That's most interesting. The following had made me think it would not be easy:

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

2016-05-21 Thread Mark van Atten
On Sat, May 21, 2016 at 8:30 PM, wrote: >> The plan9port version also has chording if in its samterm/main.c you >> change #define chording 0 to #define chording 1. > > It was also marked as being buggy, which is why it remains disabled by > default. I noticed the comment in

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

2016-05-21 Thread Mark van Atten
On Sat, May 21, 2016 at 6:31 PM, wrote: >> If you mean Russ's project, as referred to on that link, yes. > > Hello James. > > No, it appears to be the 9front version (2014, with mouse chords in > samterm/main.c ), ported to plan9port. The plan9port version also has

Re: [9fans] problem with acme on 9front

2016-05-20 Thread Mark van Atten
This one I like, and it is not difficult to find: http://www.amazon.com/HP-Optical-Button-Mouse-accessory/dp/B0002Y5LZ8/ref=sr_1_1?ie=UTF8=1463745997=8-1=dy651a+mouse Mark.

Re: [9fans] problem with acme on 9front

2016-05-19 Thread Mark van Atten
The one thing I regret about Sam is that it doesn't have scroll-select as in Acme. I know the k and ' dance, but that is not nearly as convenient. Mark van Atten.

Re: [9fans] ctl and search in nupas questiosn

2016-04-22 Thread Mark van Atten
> but it seems 9fans.net/archive is broken. http://news.gmane.org/gmane.os.plan9.general Mark.

Re: [9fans] rtl8169 gbe slow

2016-02-22 Thread Mark van Atten
Same 9front under virtualbox: term% time hget -o /dev/null http://mirrors.ctan.org/macros/latex/base.zip 0.06u 0.24s 8.74rhget -o /dev/null http://mirrors.ctan.org/macros/latex/base.zip Mark. On 2/22/16, tlaro...@polynum.com wrote: > On Mon, Feb 22, 2016 at

Re: [9fans] rtl8169 gbe slow

2016-02-22 Thread Mark van Atten
I observe the same on Debian 8.3 64 bit (the machine on which I run 9front in a virtualbox, giving the result I reported earlier today): ; time wget -o /dev/null http://downloads.kergis.com/kertex/kertex_bundle.tar 0.16u 0.57s 8.39r wget -o /dev/null

Re: [9fans] rtl8169 gbe slow

2016-02-22 Thread Mark van Atten
Dear Thierry, > If someone under Plan9 could try to download with hget(1): > > http://downloads.kergis.com/kertex/kertex_bundle.tar > > and give me the time (it is a 10MB file) to do so, 0.10u 0.22s 192.79r hget -o kertex_bundle.tar http://downloads.kergis.com/kertex/kertex_bundle.tar This is

Re: [9fans] rtl8169 gbe slow

2016-02-20 Thread Mark van Atten
> i think that david has a mirror up, and 9fs sources still works here. http://9p.io/ Mark.

Re: [9fans] 9vx on OSX

2015-11-05 Thread Mark van Atten
On my machine at least it suffers from breaking window corners when changing the window size with B1. The source of this Lion version should be useful for someone wishing to adapt 9vx.OSX to Yosemite. But I have only been able to find the binary. Mark.

Re: [9fans] 9vx on OSX

2015-11-04 Thread Mark van Atten
There is a 9vx binary built for Lion on Jan 27, 2012 at http://code.google.com/p/nix-os/source/browse/9vx.OSX Just tried it out briefly on Yosemite (10.10.5), and, within the limits of such a short attempt, I can say that it seems to work. Going full screen at first left a part on the right

Re: [9fans] Replacement for find

2015-09-30 Thread Mark van Atten
On Wed, Sep 30, 2015 at 12:07 PM, Steve Simon wrote: > NB: don't use sed or awk, they don't understand the shells > quoting convention for filenames containing frogs. That's a good point. Mark.

Re: [9fans] ftpfs shows empty /n/ftp after login

2015-06-26 Thread Mark van Atten
Admittedly not exactly the same thing, but still: 9vx works very well on FreeBSD, and gives immediate access to the host's files. Mark.

Re: [9fans] P9p from osx to ubuntu

2015-04-18 Thread Mark van Atten
On Sat, Apr 18, 2015 at 10:35 AM, jordi collell jor...@gmail.com wrote: Another think.. But this is not related to the switch. Someone can share some script for having two acme instance working with plumbers on different namespaces?

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

2015-02-28 Thread Mark van Atten
On 28 Feb 2015 02:21, Jeff Sickel j...@corpus-callosum.com wrote: The older versions of drawterm just map a large view to fill the whole screen and then clip the view to the window size you’ve selected. [etc.] thanks for the explanation. i hadn't quite realised this, as i usually resize only

Re: [9fans] noob question: p9 nfs client

2015-02-28 Thread Mark van Atten
On Sat, Feb 28, 2015 at 12:02 AM, Mark van Atten vanattenm...@gmail.com wrote: What am I missing? That mount(1) here needs a spec argument: cpu% mount /srv/macmini mac Users/mva That works. What made me overlook this was perhaps an unconscious presupposition that, if only one tree

[9fans] noob question: p9 nfs client

2015-02-27 Thread Mark van Atten
On an OSX 10.9.5 host I run Bell Labs Plan 9 in Virtualbox. Both have fixed IP addresses: OSX 192.168.1.152 Plan 9 192.168.1.156 On OSX I have this in /etc/exports: /Users/mva -mapall=501:20 -alldirs I'm trying to access /Users/mva from Plan 9 through NFS: cpu% nfs -v -R -p 666 -s macmini

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

2015-02-27 Thread Mark van Atten
Sorry, last night it was getting too late and I confused. It is drawterm-cocoa CONF=osx-cocoa that still shows the flickering and the broken window edges. drawterm-cocoa CONF=osx-x11 works fine (but to be able to build it, I had to copy some header files that were not found (although present

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

2015-02-27 Thread Mark van Atten
With the X11 version, drawterm can be resized with B1, and with xshove it can be turned full screen. (On X11, I use p9p's rio as my wm.) I look forward to any changes you may come up with; and many thanks for the work you have done so far! Mark.

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

2015-02-26 Thread Mark van Atten
2013-07-02, and there the problem is absent. I take it there are not many users of drawterm on OSX, either jas' or rsc's distribution, who use the x11 version -- are there? I'd be interested to compare notes. Best wishes, Mark. From: Mark van Atten vanattenmark@gma... Subject: drawterm osx-x11

Re: [9fans] Persistent font in Acme.

2014-11-06 Thread Mark van Atten
You can write a little script whose only task is to start acme with your favourite parameters. Mark.

Re: [9fans] Acme, Edit, code and newline

2014-04-01 Thread Mark van Atten
On Mon, Mar 31, 2014 at 5:54 PM, Daniel Peyrolon tucha...@gmail.com wrote: Edit , x/^[^ ]+[ ]*[^(]*\([^)]*\)[ ]*\{[ ]*\n/ s/[ ]*\{[ ]*\n/\n\{/g So, it was simply a matter of changing $ for \n at the x command! Yes. (In the version I gave, the replacement of the second $, the one in the s

Re: [9fans] Acme, Edit, code and newline

2014-03-31 Thread Mark van Atten
Edit , x/^[^ ]+[ ]*[^(]*\([^)]*\)[ ]*\{[ ]*\n/ s/[ ]*\{[ ]*\n/\n\{/g Mark.

Re: [9fans] Acme, Edit, code and newline

2014-03-31 Thread Mark van Atten
\ before { is not necesary. Don't know how I got that one in there; thanks for catching it! Mark.

Re: [9fans] Python/Mercurial error

2014-03-26 Thread Mark van Atten
Attaching a screenshot. I still can't seem to copy text to/from virtualbox. One thing you can do is to run Plan 9 in virtualbox but use drawterm on the host to access it. Then you can copy/paste from the drawterm window. Mark.

Re: [9fans] usb configuration

2014-03-04 Thread Mark van Atten
Yes, I also use the DY651A, and like you am very happy with it. I wasn't aware that it is also available under a different brand; thanks for mentioning it. Mark.

Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread Mark van Atten
It somehow makes me think about Alice in wonderland falling down the rabbit hole... Will she meet a Glenda nervously looking at the clock? Very nice! Mark.

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

2013-12-15 Thread Mark van Atten
Sometimes, like when you issue a command and the result goes to the Errors window, I would like to be able to execute text in the Errors window that would affect the window the Error window represents. This would be very powerful. If the original window already has the Edit command in the

Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
cd /usr/local/plan9/src/cmd/fontsrv/ 9 mk install works fine on my system (p9p on OSX 10.8.5) Mark. On Wed, Dec 11, 2013 at 9:12 PM, Rubén Berenguel ru...@mostlymaths.net wrote: In my current computer the fonts look as crisp as any native Mac app, except for slashes where some jagginess can

Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
On Wed, Dec 11, 2013 at 9:30 PM, s...@9front.org wrote: It's a matter of taste, but I prefer the sharpness of the 1 bit fonts. The gray, fuzzy stuff eventually takes a toll on my eyes. s/taste/eyesight/, perhaps? Perhaps, but I like to think differences of opinion don't necessarily

Re: [9fans] Acme: fonts

2013-12-11 Thread Mark van Atten
On Wed, Dec 11, 2013 at 10:56 PM, Blake McBride bl...@mcbride.name wrote: Interesting. On the bottom it says fontsrv has no support for X11. Is there a way to use the fonts that come with Linux? It does support X11 now. Mark.

Re: [9fans] drawterm osx-x11 on x86_64

2013-11-26 Thread Mark van Atten
Same difference under qemu 1.6.1 instead of virtualbox 4.3.0. Does anyone have experiences to share? If not, then perhaps whatever the issue is on my setup is too local. Mark. On Mon, Nov 25, 2013 at 6:44 PM, Mark van Atten vanattenm...@gmail.comwrote: Simply pinging the virtualbox cpu

Re: [9fans] drawterm osx-x11 on x86_64

2013-11-25 Thread Mark van Atten
Simply pinging the virtualbox cpu server gives, over a number of tests, avg rtt around 150 µs from both osx-x11 and osx-cocoa drawterms. (Indeed, the latest push of osx-cocoa no longer gives the warning.) I hope at some point it will become clear what is the matter---perhaps, as you suggest, in

Re: [9fans] drawterm osx-x11 on x86_64

2013-11-22 Thread Mark van Atten
On Fri, Nov 22, 2013 at 1:02 AM, Jeff Sickel j...@corpus-callosum.com wrote: Will one of you describe the flicker you speak of? I see flicker on Linux’s drawterm X11 when resizing rio windows and other operations, given the round trip time, though the flicker is less on fast local networks.

Re: [9fans] drawterm osx-x11 on x86_64

2013-11-22 Thread Mark van Atten
of class NSConcreteMapTable autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug Mark. On Fri, Nov 22, 2013 at 10:05 AM, Mark van Atten vanattenm...@gmail.com wrote: On Fri, Nov 22, 2013 at 1:02 AM, Jeff Sickel j...@corpus-callosum.com wrote: Will one

[9fans] right arrow blocked before closing bracket

2013-11-22 Thread Mark van Atten
In Plan 9 acme, if you type {} then go back and type text between the brackets {Curiouser and curiouser!} the right arrow is blocked when you want to go over the closing bracket to continue typing to its right. (If you first go to the left, and then back to the right, it works.) Same for the

[9fans] drawterm osx-x11 on x86_64

2013-11-21 Thread Mark van Atten
For the record---to compile drawterm (http://code.google.com/p/drawterm/) with CONF=osx-x11 on x86_64 (in my case running 10.8.5), just add the required substitution to the makefile: Make.osx-x11 20 - arch=`uname -m|sed 's/i.86/386/;s/Power Macintosh/power/'`; \ 20 + arch=`uname -m|sed

Re: [9fans] acme/sam language question

2013-11-21 Thread Mark van Atten
I finally get around to trying this out and (so far) it seems to work. Thank you! You're welcome! Opening the group at the end of the first line has the effect of replacing the empty command and its implied p; see sam's man page under `Miscellany'. This also explains why your lines, without

Re: [9fans] Help with plumbing rules

2013-11-06 Thread Mark van Atten
PS: Once I get this working I'll tackle the diagnostic messages I get when compiling Java code using maven (not my choice). They look like [error] /home/pcanning/src/java/test/PerfTest.java:[66,1] error: reached end of file while parsing For lacheck, a Latex checker, I have this in my

Re: [9fans] acme/sam language question

2013-11-06 Thread Mark van Atten
I write the script like this: /A/+#0;/B/-#0 { g/CC/ s/CC/DD/g } p Mark. On Wed, Nov 6, 2013 at 7:47 PM, Rudolf Sykora rudolf.syk...@gmail.com wrote: On 31 October 2013 20:24, Rudolf Sykora rudolf.syk...@gmail.com wrote: On 31 October 2013 16:49, Friedrich Psiorz f.psi...@gmx.de wrote: It

Re: [9fans] network support on virtualbox

2013-10-24 Thread Mark van Atten
Works like a charm, many thanks for this! Mark.

Re: [9fans] sam resizing

2013-10-22 Thread Mark van Atten
Thanks for the comments! My screen is large, and I use the space the way Ingo describes, putting the edit buffer in the top left corner. But I'd be interested to have the extra option for a while and see if I do find this as useful as it now seems; when I find the time, I may be able to find out

[9fans] sam resizing

2013-10-21 Thread Mark van Atten
I would find it useful if a sam window resize could be undone one step, i.e. resize the window again to its size and position before the last resize. Perhaps by clicking B1, just as clicking B3 enlarges it. That would help keeping windows arranged a bit while enlarging one after the other as I

Re: [9fans] NFD and p9p acme on OSX

2013-09-14 Thread Mark van Atten
Thank you, Erik, for your comments! I just realized that in fn ls { builtin ls $* | iconv -f UTF8-MAC -t UTF-8 } one needs u iconv because otherwise it picks the wrong iconv when executing this redefined ls in contexts where $PLAN9/bin occurs in the path first; for example, try 9 man cat

[9fans] NFD and p9p acme on OSX

2013-09-12 Thread Mark van Atten
Running p9p on OSX, I find it useful to put this in my rc profile: fn ls { builtin ls $* | iconv -f UTF8-MAC -t UTF-8 } fn lc { builtin lc $* | iconv -f UTF8-MAC -t UTF-8 } so as to deal with the NFD used by the OSX file system and list names containing non-ascii characters correctly. But this

Re: [9fans] International Ispell in Plan9

2013-04-11 Thread Mark van Atten
That's interesting work---thanks! Mark.

[9fans] Plan 9's clock for p9p

2013-04-10 Thread Mark van Atten
I find Plan 9's clock more pleasing to the eye than, say, xclock. The required changes to run it on p9p are minimal. Here it is: https://codereview.appspot.com/8269048/ As ever, Mark. -- PLEASE NOTE MY NEW E- ADDRESS vanattenmark at gmail.com

Re: [9fans] Plan 9's clock for p9p

2013-04-10 Thread Mark van Atten
Indeed, I should have mentioned that Andrey Mirtchovski did a port at a time when p9p didn't have etimer(3) yet. http://mirtchovski.com/p9/clock/ A while ago I had trouble compiling that one, but I don't recall the details. At some point etimer was added to p9p, allowing for a port of clock

Re: [9fans] documentation suggestion

2013-04-08 Thread Mark van Atten
Here is the patch, which I have submitted to codereview. It adds an option -t to p9p acme, which restores the Plan 9 tag style. Mark. diff -r ff3404f79037 src/cmd/acme/acme.c --- a/src/cmd/acme/acme.c Sat Jan 19 10:05:12 2013 +0100 +++ b/src/cmd/acme/acme.c Fri Apr 05 22:52:55

[9fans] p9p acme: -t option for single line tags

2013-04-08 Thread Mark van Atten
Here is a patch for p9p acme. It adds an option -t which gives single-line tags as in Plan 9 acme. Mark. diff -r ff3404f79037 src/cmd/acme/acme.c --- a/src/cmd/acme/acme.c Sat Jan 19 10:05:12 2013 +0100 +++ b/src/cmd/acme/acme.c Sun Apr 07 14:27:42 2013 +0200 @@ -113,6 +113,9 @@ case 'r':

Re: [9fans] documentation suggestion

2013-04-05 Thread Mark van Atten
On Thursday, 4 April 2013 18:47:12 UTC+2, a...@9srv.net wrote: I have not tried this, but I suspect that if you change w-tagexpand to FALSE in /src/cmd/acme/wind.c:/^wininit and recompile, you'll get the Plan 9 behavior. The code paths are still a bit different, but on cursory

Re: [9fans] documentation suggestion

2013-04-05 Thread Mark van Atten
On Thursday, 4 April 2013 18:47:12 UTC+2, a...@9srv.net wrote: I have not tried this, but I suspect that if you change w-tagexpand to FALSE in /src/cmd/acme/wind.c:/^wininit and recompile, you'll get the Plan 9 behavior. The code paths are still a bit different, but on cursory

Re: [9fans] documentation suggestion

2013-04-05 Thread Mark van Atten
Subject: Re: [9fans] documentation suggestion On Friday, 5 April 2013 11:05:56 UTC+2, Mark van Atten wrote: I've now set w-tagexpand or t-w-tagepand to FALSE, and commented out subsequent statements, in three files: rows.c, text.c, and wind.c, and now it works as desired. Not quite

Re: [9fans] documentation suggestion

2013-04-05 Thread Mark van Atten
The only further thing needed is to replace in the function texttype, at text.c:665, if(t-what!=Body t-what!=Tag r=='\n') by if(t-what!=Body r=='\n') Sorry for the noise. Mark.

Re: [9fans] documentation suggestion

2013-04-04 Thread Mark van Atten
Would it be possible to add an option to p9p acme so that its tags will always remain one line, i.e., show Plan 9's acme behaviour? Mark.

Re: [9fans] Acme Edit scriptlets

2013-04-04 Thread Mark van Atten
On Friday, 29 March 2013 01:38:06 UTC+1, Bence Fábián wrote: I did a quick writeup on little Edit scripts Many thanks, this thread is very useful. There is also Jason Catena's list of Edit idioms at https://raw.github.com/catenate/acme-fonts/master/test/1/acme/Edit/sam When editing and

Re: [9fans] documentation suggestion

2013-04-04 Thread Mark van Atten
If I click 'New' to open a window in a column, go into its tag, and start typing after `Look', the tag becomes multiline and wraps my text when I hit the border. Mark.

Re: [9fans] com: comments toggle in acme

2012-11-16 Thread Mark van Atten
Thanks, indeed! I added two lines so it can be used with Latex files too: case *.tex c='%' Mark.

Re: [9fans] multiple acme instances with plan9port

2012-11-08 Thread Mark van Atten
Two years or so ago I found the script below, allowing you to start any number of instances of acme. E.g. if you name the script acme9 you use acme9 -n 1, acme9 -n 2, etc., each of which can followed by the usual arguments you wish to pass on to acme. Thanks to whomever wrote this. Mark.

[9fans] page(1) problem

2012-06-07 Thread Mark van Atten
I run p9p on FreeBSD 9.0-RELEASE. Page(1) works fine on PDF, but not on PS files. When opening the latter, it first produces a very long list of errors like this: Ghostscript Error: Error: /undefined in D9D66F633B846A97B686A97E45A3D0AA0525392EECAC163E584A9104D99AD0BC1B1844A0E222 Operand stack:

[9fans] kertex on Plan 9

2012-03-05 Thread Mark van Atten
Could anyone who actually got (not tex, but) latex running using kertex on Plan 9 show the full details? What I have found on the web so far has not been enough for this novice. Plain tex works wonderfully. Thanks, Thierry Laronde! Mark.

Re: [9fans] kertex on Plan 9

2012-03-05 Thread Mark van Atten
My previous message appeared on the list with a delay; in the meantime, in an off-list exchange, Thierry kindly worked on it immediately and resolved all the problems. The version that now appears on the Kertex web page works for me. I use 9vx on FreeBSD 8.2. I also compiled Kertex successfully