[9fans] troff diversions

2009-05-15 Thread Gregory Pavelcak
I think of myself as pretty proficient with troff, but I never get diversions right. One fairly useless task I set for myself was to write a smart quote macro. By that I mean that I want the macro to put the quoted text into a diversion, check how many lines the quote would be when formatted as a

[9fans] (no subject)

2009-05-28 Thread Gregory Pavelcak
[acme.dump bin/ devel/ doc/ guide lib/ sys/ text/ tmp/] Subject: eqn and unicode I noticed that sometimes my troff-related questions don't generate much interest. I hope they aren't considered bad form, because I am curious about another thing. If you write the eqn-word for a greek letter, "GAMMA

Re: [9fans] eqn and unicode

2009-06-02 Thread Gregory Pavelcak
> On Thu May 28 19:07:48 EDT 2009, r...@swtch.com wrote: >> On Thu, May 28, 2009 at 4:08 AM, Gregory Pavelcak >> wrote: >> > If you write the eqn-word for a greek letter, "GAMMA" for >> > example; eqn passes the unicode character (the output of >&g

Re: [9fans] eqn and unicode

2009-06-02 Thread Gregory Pavelcak
erik, You're reply and some reflection convinced me that my first approach is just wrong. I don't understand the next-to-last paragraph though. I tried creating gktbl and making the change you suggest to text.c, and it seems to work. Why does isalpharune() need changing? Greg > i'm pretty sure

[9fans] eqn and unicode -- Again

2009-06-06 Thread Gregory Pavelcak
I should probably just drop it because I reveal my ignorance when I post, and erik is the only one who has shown any interest, but ... I guess what I want is for eqn to sort of immediately convert GAMMA to Γ and then go about its business with Γ, as if it never saw the word GAMMA, got it? So, I w

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

2009-07-06 Thread Gregory Pavelcak
Hilarious. Are the helmet and flame-retardant jumpsuit included? On Jul 6, 2009, at 6:32 AM, mattmob...@proweb.co.uk wrote: Ethan Grammatikidis wrote: http://www.alibaba.com/showroom/Usb_steering_wheel.html I can't help laughing at the thought of one of these wheels hooked up to a plan 9 ma

[9fans] sort strangeness

2009-09-27 Thread Gregory Pavelcak
Just noticed this cpu% cat tmp/sorttest 2 7 2.1 2.1.4 2.1.1 cpu% sort tmp/sorttest 2 2.1 2.1.1 2.1.4 7 cpu% sort -u tmp/sorttest 2 2.1 2.1.1 2.1.4 7 cpu% sort -n tmp/sorttest 2 2.1 2.1.4 2.1.1 7 cpu% sort -n -u tmp/sorttest 2 2.1 7 cpu% Greg

Re: [9fans] sort strangeness

2009-09-27 Thread Gregory Pavelcak
I think you and Richard are right. Looking at the man page, the behavior is not unexpected. I mis-read what my own experiment did and thought sort -n actually sorted 2.1.4 and 2.1.1. I guess it's more of a 4am-on-a-sleepless-night problem than a sort problem. Thanks. Greg

[9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
Here's the summary for the window command in the man page. window [ -m ] [ -r minx miny maxx maxy ] [ -dx n ] [ -dy n ] [ -minx n ] [ -miny n ] [ -maxx n ] [ -maxy n ] [ -cd dir ] [ -hide ] [ -scroll ] [ -noscroll ] [ cmd arg ... ] If I do window -r 200 200 10

[9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
Sorry for the self follow-up, but it did just occur to me that a simple solution is to start a new instance of rio within a window withe the boundaries I want, then, obviously, all subsequent window-openings will take place in there. D'oh. Greg

Re: [9fans] Rio windows size and location

2008-07-04 Thread Gregory Pavelcak
I know that this self-conversation is getting silly, but I thought I would report that, as far as just starting a new rio, the winwatch that I'm trying to keep uncovered doesn't show windows opened in the new rio, sort of defeating the purpose. So, I guess I'm back to the original question. Now, I

Re: [9fans] CPU Server Wiki, auth/keyfs, and password for the machine.

2008-07-26 Thread Gregory Pavelcak
Thanks Russ for the typically thoughtful and informative reply. You are perhaps the most valuable resource on any mailing list anywhere. There ought to be an award or something. The reason I ask is that I missed that step the first time I tried to set up the CPU/Auth server, but I've since

Re: [9fans] CPU Server Wiki, auth/keyfs, and password for the machine.

2008-07-27 Thread Gregory Pavelcak
On Jul 26, 2008, at 3:10 PM, Russ Cox wrote: You can test connectivity using aux/9pcon: cpu% aux/9pcon -n tcp!web.mit.edu!9fs aux/9pcon: dial: connection refused cpu% If it does connect (which I doubt) Correct. brain# aux/9pcon -n il!192.168.0.108!9fs aux/9pcon: d

Re: [9fans] CPU Server Wiki, auth/keyfs,

2008-07-27 Thread Gregory Pavelcak
On Jul 27, 2008, at 10:55 AM, Skip Tavakkolian wrote: to recap, you can mount the fs from a pccpuf - with the root coming from a local fs, i assume - but can't boot with the root coming from fs. Nope, I cannot mount the fs from my CPU server with a local root. And, perhaps I should change th

Re: [9fans] CPU Server Wiki, auth/keyfs,

2008-07-28 Thread Gregory Pavelcak
After expending all this time and energy, it turns out I was just getting the srv command wrong. And even after typing the command about 1000 times, hoping it would work, it never occurred to me that I should be using the port number. What a dope. Thanks. Greg On Jul 27, 2008, at 12:48 PM

[9fans] Venti arenas and index guidelines

2008-07-28 Thread Gregory Pavelcak
Obviously I've had time on my hands to play with computers this week. I have a fossil on an 18G hard drive, which from what I've seen, is probably a much larger fossil than I need. However, I wasn't planning on changing it unless it's really trivially easy to do so. I also have another 18G drive a

[9fans] Subject: Venti, redundancy, and hardware failure.

2008-08-02 Thread Gregory Pavelcak
Sorry if this is a repost, but I haven't seen it show up on groups, so I think I'm OK. I recently asked about mirroring venti arenas and was told that mirroring is generally a good idea. It occurred to me that, although I know how to mirror my arenas, I'm not clear on how to recover from hardware

[9fans] Quick ms macros question

2008-11-12 Thread Gregory Pavelcak
This is a bit more mundane than recent discussions, but I noticed that the ms macros contain this .ie h .ll \\n(LLu .el \{\ .ll 5.0i .if n .if \\n(TN .ll 29 .if t .if \\n(TN .ll 3.5i \} as part of .de TL. What is '.ie h'? I thought the only single character

[9fans] troff, refer, and diversions

2008-12-09 Thread Gregory Pavelcak
I've been writing a paper using -ms macros and refer and refer seems to work as advertised. Recently I decided I wanted to get references in endnotes instead of footnotes, so I added some very simple macros, like FS/FE, around a diversion, thus: .de XS .ev2 .da XA .br .. .de XE .br .di .ev .. Asi

Re: [9fans] troff, refer, and diversions

2008-12-10 Thread Gregory Pavelcak
Tue, Dec 9, 2008 at 10:43 PM, Gregory Pavelcak <[EMAIL PROTECTED]>wrote: > I've been writing a paper using -ms macros and refer and refer seems > to work as advertised. Recently I decided I wanted to get references in > endnotes instead of footnotes, so I added some very simple

[9fans] Sources Gone?

2009-01-23 Thread Gregory Pavelcak
I usually try to avoid the "what happened to sources" email, but what happened to sources? All I've been getting from pull attempts for the past several days is srv: dial tcp!sources.cs.bell-labs.com!9fs: connection refused bind: /n/sources/plan9: '/n/sources/plan9' does not exist servermount: bin

[9fans] Ken's FS: WORM Superblock read failed

2010-05-30 Thread Gregory Pavelcak
Hi, I've been messing around with setting up a Ken's file server with old hardware that's accumulated over the years. Yesterday, I configured a file server with two IDE drives as ch0fh2. The setup seemed to go OK, but one of the last things on the screen before it brought the server up is in the

[9fans] PCI SATA Controller Cards

2010-05-30 Thread Gregory Pavelcak
On a file-server related note, I almost feel committed to SCSI drives because I have a nice Tekram controller. However all of my drives are so old that I'm suspicious of them and buying new SCSI is expensive. It looks like I could switch to SATA controller and drives for less money than a couple

Re: [9fans] Ken's FS: WORM Superblock read failed

2010-05-30 Thread Gregory Pavelcak
I didn't try recover, but since the config I really want is a partitioned one like you suggest, and the errors I reported didn't make anyone immediately think "dying hard drive"; I think I'll try getting your (Erik's) fs from contrib. I assume I can do something like this: Put the two hard drives

Re: [9fans] Ken's FS: WORM Superblock read failed

2010-05-30 Thread Gregory Pavelcak
Thanks Erik. Yeah, the "f" device is just a consistent brain tic for me. Once upon a time I thought for some reason that "f" always went with "c" unless you were using a real jukebox, and now I can't seem to get rid of that misapprehension when I write my configs. I used "h2" because I intended t

Re: [9fans] double spacing troff documents

2010-09-07 Thread Gregory Pavelcak
I think that, if you're using -ms, the value probably gets reset. Try setting VS too. E.g. .nr VS 24. Greg On Tuesday, September 7, 2010, EBo wrote: > > One of my reviewers always prefer to get documents double spaced. > > How do you do this in troff?  I tried .v and .vs (with 2, 12pts and 24pts

Re: [9fans] native lbl, long text in troff, bold italics in eqn

2010-09-16 Thread Gregory Pavelcak
I think you would have to use two passes of troff. The first pass would generate the info you needed to define the crossref macro. For example: .NH 2 Middle of Paper .LP .tm crossref: .if "$1"middle" see sec. \*(SN I have the label 'crossref:' in case you are generating definitions for sever

Re: [9fans] troff macro II

2011-03-24 Thread Gregory Pavelcak
Typing from phone so I'll be brief. Just put the header at the bottom of the page and pipe the .ps output through sed to change the vertical position. I found this easier than moving back up the page in troff. Greg On Mar 24, 2011 12:56 PM, "Rudolf Sykora" wrote: Hello 9fans, since in the pr

Re: [9fans] 9atom and USB Keyboard Problem

2013-05-20 Thread Gregory Pavelcak
Thanks Erik. That helped. Now I only get multi-character output periodically. I don't know what triggers it, but at least I can type. Turns out the mouse has the same problem. Button-3 click in acme sends the text flying by. I don't know how many clicks are being sent. erik quanstrom writes: >