Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Tristan
 Nothing wrong with printing. Having a physical copy of the manual
 is invaluable when things go sideways, and reading the papers on
 a high-DPI, non-reflective surface is a joy. Since I don't believe
 anyone has Plan 9 driving an e-Ink display (anyone? anyone?),
 paper does nicely.

i'm hoping to have a prototype together for iwp9 that will include an
epaper display of some sort (E Ink is not very responsive).

enjoy,
tristan

-- 
All original matter is hereby placed immediately under the public domain.



Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Aharon Robbins
  Nothing wrong with printing. Having a physical copy of the manual
  is invaluable when things go sideways, and reading the papers on
  a high-DPI, non-reflective surface is a joy. Since I don't believe
  anyone has Plan 9 driving an e-Ink display (anyone? anyone?),
  paper does nicely.

 i'm hoping to have a prototype together for iwp9 that will include an
 epaper display of some sort (E Ink is not very responsive).

Sounds cool!

I just activated my Kindle.  I mailed myself the PDF of gawk.1 (of course).
At fit-to-screen it's too small, but rotated and increased size it's better.

As an emergency place to keep the Plan 9 manuals, it sure beats lugging
around all that paper. :-)  I'll be experimenting some more.

Thanks!

Arnold



Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Brian L. Stuart
 I just activated my Kindle.  I mailed myself the PDF of
 gawk.1 (of course).
 At fit-to-screen it's too small, but rotated and increased
 size it's better.
 
 As an emergency place to keep the Plan 9 manuals, it sure
 beats lugging
 around all that paper. :-)  I'll be experimenting some
 more.

I've done some fiddling with the ms macros to add Kindle
support.  What I have is:

 .  \ Override page/font parameters for Kindle
 .if '\nK'1' \{\
 .nr PS 7
 .nr VS 8
 .nr LL 3i
 .nr TL 3i
 .nr PD 0
 .nr PI 3n
 .nr PO 0.1i
 .po 0.1i
 .nr HM 0.1i
 .nr FM 0.1i
 .ds LH
 .ds CH
 .ds RH
 .ds LF
 .ds CF
 .ds RF
 .pl 4i
 .tl
 \}
 .el \{\
 .po 1.25i
 .nr PO 1.25i
 \}

You activate Kindle formatting by setting the K register
to 1.  The biggest issue I've run into are tables and
figures that need the space of a larger page.  As for
man pages, There's already a register (s) you can set
to 1 to get it format for 9 pages.  That does improve
things a bit in portrait orientation scaled to fit the
screen.

Those might at least give you a good starting point.

BLS




Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread hiro
On Thu, May 3, 2012 at 7:59 PM, Brian L. Stuart blstu...@bellsouth.net wrote:
 I just activated my Kindle.  I mailed myself the PDF of
 gawk.1 (of course).
 At fit-to-screen it's too small, but rotated and increased
 size it's better.

 As an emergency place to keep the Plan 9 manuals, it sure
 beats lugging
 around all that paper. :-)  I'll be experimenting some
 more.

 I've done some fiddling with the ms macros to add Kindle
 support.  What I have is:

  .      \ Override page/font parameters for Kindle
  .if '\nK'1' \{\
  .nr PS 7
  .nr VS 8
  .nr LL 3i
  .nr TL 3i
  .nr PD 0
  .nr PI 3n
  .nr PO 0.1i
  .po 0.1i
  .nr HM 0.1i
  .nr FM 0.1i
  .ds LH
  .ds CH
  .ds RH
  .ds LF
  .ds CF
  .ds RF
  .pl 4i
  .tl
  \}
  .el \{\
  .po 1.25i
  .nr PO 1.25i
  \}

 You activate Kindle formatting by setting the K register
 to 1.  The biggest issue I've run into are tables and
 figures that need the space of a larger page.  As for
 man pages, There's already a register (s) you can set
 to 1 to get it format for 9 pages.  That does improve
 things a bit in portrait orientation scaled to fit the
 screen.

 Those might at least give you a good starting point.

 BLS



Why don't you guys just print the pdf in landscape A5 format. Should
be readable on all e-ink devices.



Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Mohamed
Hi All,

Can anyone please zip the docs and email them to the group?

Thanks

On Thu, May 3, 2012 at 2:15 PM, hiro 23h...@googlemail.com wrote:

 On Thu, May 3, 2012 at 7:59 PM, Brian L. Stuart blstu...@bellsouth.net
 wrote:
  I just activated my Kindle.  I mailed myself the PDF of
  gawk.1 (of course).
  At fit-to-screen it's too small, but rotated and increased
  size it's better.
 
  As an emergency place to keep the Plan 9 manuals, it sure
  beats lugging
  around all that paper. :-)  I'll be experimenting some
  more.
 
  I've done some fiddling with the ms macros to add Kindle
  support.  What I have is:
 
   .  \ Override page/font parameters for Kindle
   .if '\nK'1' \{\
   .nr PS 7
   .nr VS 8
   .nr LL 3i
   .nr TL 3i
   .nr PD 0
   .nr PI 3n
   .nr PO 0.1i
   .po 0.1i
   .nr HM 0.1i
   .nr FM 0.1i
   .ds LH
   .ds CH
   .ds RH
   .ds LF
   .ds CF
   .ds RF
   .pl 4i
   .tl
   \}
   .el \{\
   .po 1.25i
   .nr PO 1.25i
   \}
 
  You activate Kindle formatting by setting the K register
  to 1.  The biggest issue I've run into are tables and
  figures that need the space of a larger page.  As for
  man pages, There's already a register (s) you can set
  to 1 to get it format for 9 pages.  That does improve
  things a bit in portrait orientation scaled to fit the
  screen.
 
  Those might at least give you a good starting point.
 
  BLS
 
 

 Why don't you guys just print the pdf in landscape A5 format. Should
 be readable on all e-ink devices.




Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Anthony Sorace
 Can anyone please zip the docs and email them to the group?

That is almost universally considered very bad form on mailing lists.

You already have access to everything you need: the papers are
available in HTML, PS, and PDF online:
http://plan9.bell-labs.com/sys/doc/
and there is a searchable, up-to-date version of the manual:
http://plan9.bell-labs.com/sys/man/
If you need some format other than that, download the distribution:
http://plan9.bell-labs.com/plan9/download.html
and extract them from /sys/doc and /sys/man there.

Anthony




signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: [9fans] Mercurial port is official

2012-05-03 Thread Akshat Kumar
This hasn't been working for me, with
codereview.

In particular, when hg tries to upload
data to the codereview server, I get
an exception (on the first `change' or
subsequent `upload' commands):

term% hg upload 6031056
Mon Apr 30 12:37:16 2012 loading CL 6031056
Mon Apr 30 12:37:16 2012 getting issue metadata from web
Mon Apr 30 12:37:26 2012 None
Mon Apr 30 12:37:26 2012 loaded CL 6031056
Mon Apr 30 12:37:26 2012 uploading CL metadata + diffs
Mon Apr 30 12:37:30 2012 inspecting src/pkg/runtime/os_plan9.h
** unknown exception encountered, please report by visiting
**  http://mercurial.selenic.com/wiki/BugTracker
** Python 2.5.1 (r251:54863, Aug 26 2009, 08:54:39) [C]
** Mercurial Distributed SCM (version 2.2-rc)
** Extensions loaded: extdiff, factotum, codereview
Traceback (most recent call last):
  File /bin/hg, line 38, in module
mercurial.dispatch.run()
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 27, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0)  255)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 64, in dispatch
return _runcatch(req)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 87, in _runcatch
return _dispatch(req)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 685, in _dispatch
cmdpats, cmdoptions)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 467, in runcommand
ret = _runcommand(ui, options, cmd, d)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 775, in _runcommand
return checkargs()
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 746, in checkargs
return cmdfunc()
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/dispatch.py,
line 682, in lambda
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/util.py,
line 463, in check
return func(*args, **kwargs)
  File //sys/lib/codereview/codereview.py.plan9, line 1849, in upload
cl.Upload(ui, repo)
  File //sys/lib/codereview/codereview.py.plan9, line 351, in Upload
files = vcs.GetBaseFiles(data)
  File //sys/lib/codereview/codereview.py.plan9, line 2968, in GetBaseFiles
files[filename] = self.GetBaseFile(filename)
  File //sys/lib/codereview/codereview.py.plan9, line 3164, in GetBaseFile
ret = commands.status(fui, self.repo, *[relpath], **{'rev':
[self.base_rev], 'copies': True})
  File /sys/lib/python/lib/python2.5/site-packages/mercurial/commands.py,
line 5191, in status
fm = ui.formatter('status', opts)
AttributeError: 'FakeMercurialUI' object has no attribute 'formatter'


On Tue, May 1, 2012 at 5:52 PM, Steven Stallion sstall...@gmail.com wrote:
 All,

 Version 2.2 of Mercurial was released today. I've updated the
 stallion/mercurial package accordingly.

 Steve




Re: [9fans] Mercurial port is official

2012-05-03 Thread Steven Stallion
On Thu, May 3, 2012 at 6:04 PM, Akshat Kumar
aku...@mail.nanosouffle.net wrote:
 This hasn't been working for me, with
 codereview.

 In particular, when hg tries to upload
 data to the codereview server, I get
 an exception (on the first `change' or
 subsequent `upload' commands):

 term% hg upload 6031056
        Mon Apr 30 12:37:16 2012 loading CL 6031056
        Mon Apr 30 12:37:16 2012 getting issue metadata from web
        Mon Apr 30 12:37:26 2012 None
        Mon Apr 30 12:37:26 2012 loaded CL 6031056
        Mon Apr 30 12:37:26 2012 uploading CL metadata + diffs
        Mon Apr 30 12:37:30 2012 inspecting src/pkg/runtime/os_plan9.h
 ** unknown exception encountered, please report by visiting
 **  http://mercurial.selenic.com/wiki/BugTracker
 ** Python 2.5.1 (r251:54863, Aug 26 2009, 08:54:39) [C]
 ** Mercurial Distributed SCM (version 2.2-rc)
 ** Extensions loaded: extdiff, factotum, codereview

Hi Akshat,

This looks like an incompatibility with 2.2 and upload.py. I know that
the Mercurial support in upload is maintained separately by the
rietveld guys, it might make sense to ping them.

HTH,

Steve