[9fans] line numbers in troff

2011-05-19 Thread hugo rivera
Hello, usually, when writting drafts for somebody else to review, its useful to have line numbers printed at the beginning of each line. How would you implement that in troff? I never written a macro in troff, so some basic pointers would be enough for me (e.g. some good troff book). Thanks, -- H

[9fans] recent rebuild of SYSFROMISO on 9vx dead after recent updates

2011-05-19 Thread EBo
A major update to my system motivated me to rebuild everything on my gentoo box a few days ago. This started out as a kde-4.6.2 and gcc updates, but there was a huge packet of system level stuff that all came out at the same time. I have a timestamped version of 9vx and 9vx-root dated from 06

Re: [9fans] recent rebuild of SYSFROMISO on 9vx dead after recent updates

2011-05-19 Thread ron minnich
I am pretty sure this is the AINC change. Probably needs a vx32 fix. For anyone who has free time and wants to learn something neat ... ron

Re: [9fans] line numbers in troff

2011-05-19 Thread Steve Simon
macros are easy enough: start them with .de XX and end them with .., e.g. start and end code example which I end up adding to most documents I write: .de EX .nj .nf .CW .SM .. .de EE .fi .ju .LG .R .. There are quite a few books, see http://www.troff.org/ , my favorite is "Document formatting

Re: [9fans] recent rebuild of SYSFROMISO on 9vx dead after recent updates

2011-05-19 Thread EBo
On Thu, 19 May 2011 06:41:56 -0700, ron minnich wrote: I am pretty sure this is the AINC change. Probably needs a vx32 fix. For anyone who has free time and wants to learn something neat ... Always interested in learning something neat, but no free time. If someone has time to work on this I

Re: [9fans] recent rebuild of SYSFROMISO on 9vx dead after recent updates

2011-05-19 Thread Eric Van Hensbergen
On Thu, May 19, 2011 at 8:21 AM, EBo wrote: > copy over from Eric's SYSFROMISO.  The recompile/install runs fine, but 9vx > hangs upon restart after posting the "init: starting /bin/rc" message, but > before starting rio. > FWIW, I see long delays occasionally on my OSX box at this phase (potenti

Re: [9fans] recent rebuild of SYSFROMISO on 9vx dead after recent updates

2011-05-19 Thread EBo
On Thu, 19 May 2011 09:00:36 -0500, Eric Van Hensbergen wrote: On Thu, May 19, 2011 at 8:21 AM, EBo wrote: copy over from Eric's SYSFROMISO.  The recompile/install runs fine, but 9vx hangs upon restart after posting the "init: starting /bin/rc" message, but before starting rio. FWIW, I see

Re: [9fans] line numbers in troff

2011-05-19 Thread Bruce Ellis
Funny you should mention this. I know there is a way (done for patent applications). I think I can find it in the troff doc. I have to by tomorrow so I'll report back. brucee On Thu, May 19, 2011 at 11:44 PM, Steve Simon wrote: > macros are easy enough: start them with .de XX and end them with .

Re: [9fans] line numbers in troff

2011-05-19 Thread Sape Mullender
I think at the top of the page you set a trap to go off at the next line. In the trap macro you reset the trap for the line after that. And so on, down the page. Sape > Funny you should mention this. I know there is a way (done for patent > applications). I think I can find it in the tro

[9fans] Can we run Plan 9 on WD My Book Live [PowerPC] architecture?

2011-05-19 Thread ROuNIN
Hello all, Recently, came across this at [http://blog.marc-seeger.de/2011/03/20/ the-western-digital-mybook-live]: # cat /proc/cpuinfo processor : 0 cpu : APM82181 clock : 800.08MHz revision : 28.129 (pvr 12c4 1c81) bogomips : 1600.00 timebase: 80008 platform : PowerPC 44

Re: [9fans] line numbers in troff

2011-05-19 Thread Bruce Ellis
.nm is your friend. brucee On Fri, May 20, 2011 at 12:43 AM, Sape Mullender wrote: > I think at the top of the page you set a trap to go off at the next line. > In the trap macro you reset the trap for the line after that.  And so on, > down the page. > >        Sape > >> Funny you should mentio

Re: [9fans] Can we run Plan 9 on WD My Book Live [PowerPC] architecture?

2011-05-19 Thread John Floren
On Thu, May 19, 2011 at 7:40 AM, ROuNIN wrote: > Hello all, > Recently, came across this at [http://blog.marc-seeger.de/2011/03/20/ > the-western-digital-mybook-live]: > > # cat /proc/cpuinfo > processor  : 0 > cpu       : APM82181 > clock      : 800.08MHz > revision  : 28.129 (pvr 12c4 1c81)

Re: [9fans] Can we run Plan 9 on WD My Book Live [PowerPC] architecture?

2011-05-19 Thread Anthony Sorace
you've got a very good shot at running p9p on it - p9p is already known to run on some linux ppc platform. with any luck, it should just work. native plan9 will be some work. john points to the Blue Gene kernel (which you can get somewhere, but as i understand it isn't quite a "stock" plan9 kernel

Re: [9fans] line numbers in troff

2011-05-19 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
> usually, when writting drafts for somebody else to review, its useful > to have line numbers printed at the beginning of each line. > How would you implement that in troff? See /sys/doc/troff.ps (section 15 on page 26). --lyndon

Re: [9fans] Oh shell

2011-05-19 Thread David Leimbach
It's pretty nice. I started playing around with it yesterday. I'm a fan of stuff like scheme shell too, so this just seems like it could be another one of these cool power tools! Dave On Wed, May 18, 2011 at 5:38 AM, Rodrigo Miranda wrote: > > I saw this at hacker news. It's a shell written in

Re: [9fans] line numbers in troff

2011-05-19 Thread Charles Forsyth
.nm 1 turns on line number mode .nm 0 turns it off .nn N turns it off for the next N lines .nm 1 M numbers every M lines following there are other options--- Begin Message --- Hello, usually, when writting drafts for somebody else to review, its useful to have line numbers printed at the beginni

[9fans] a pair nec bugs

2011-05-19 Thread erik quanstrom
i've been having trouble with nsec. i've been dealing with an application that has ~128 processes. it does not use the thread library, but these processes all share memory. unfortunately, this results in wild thrashing of nsec(2) because there are more shared-memory processes than slots in the f

Re: [9fans] a pair nsec bugs

2011-05-19 Thread erik quanstrom
there. fixed that for me. - erik