Re: [9fans] anyone put their venti on an SSD?

2013-05-04 Thread Steven Stallion
Makes sense. Moving to plan9port had more to do with making better use of
the ReadyNAS in the rack than anything else. The performance was a nice if
unexpected side-effect.

On Friday, May 3, 2013, erik quanstrom wrote:

> On Fri May  3 23:27:40 EDT 2013, sstall...@gmail.com  wrote:
>
> > I had originally used a Crucial 32GB SSD years ago and swapped to a 55GB
> > OCZ enterprise drive (using sdahci). More recently I've moved my venti
> > arenas over to plan9port and have switched over to using the entire SSD
> for
> > fossil. So far this has been faster than running venti natively - though
> I
> > still take a replica each night out of paranoia.
>
> there are many components to the performance here, but i can think of at
> least one simple issue.  plan 9 loopback tcp can be pretty slow due to
> scheduling
> issues.  (induced by the structure of tcp, not any issue with the
> scheduler.)
> my atom (which is slightly worse than a d525) gets
>
> ladd; nettest -l -n 1
> tcp!192.168.0.136!39769 count 1; 8192 bytes in 2.649575 s
> @ 29.5 MB/s (0ms)
>
> so i would imagine that working out how to post a fd to srv would really
> help
> a lot.  not to mention, taking some funk out of configuring the network on
> boot.  :-)
>
> - erik
>
>


Re: [9fans] Rune update may have broken compilations

2013-05-04 Thread lucio
Successful for both 386 and arm, thank you, but on condition that
existing object libraries (lib*.a8 and lib*.a5) in the source
directories be removed first.

++L
--- Begin Message ---
The procedure is:

1. remove runebase from /sys/src/libc/port/mkfile
2. cd /sys/src/libc && mk install && mk clean
3. for(i in /sys/src/cmd/8?) {cd $i && mk install && mk clean}
4. add runebase in /sys/src/libc/port/mkfile
5. cd /sys/src/libc && mk install && mk clean
6. cd /sys/src && mk install && mk clean

-- 
David du Colombier--- End Message ---


Re: [9fans] German USB keyboard on Raspberry Pi

2013-05-04 Thread arisawa
Hello,

I have a similar problem with JIS keyboard.
some keys such as | ~ \ _ ¥ won't be input.
I suspect this is same origin.

Kenji Arisawa

On 2013/04/29, at 5:01, Holger Sebert  wrote:

> I did a quick hack on kbd.c and could make the "<,>,|" key
> work. Awesome! Thank you all for your help.




[9fans] qio and block lists

2013-05-04 Thread erik quanstrom
it looks like it is not possible to pass up a list of blocks for a single
packet, due to qio using Block.next for queues.

if this is correct, has anyone looked at the difficulty of using Block.list
to chain blocks in queues?

- erik



[9fans] iwp9

2013-05-04 Thread erik quanstrom
remember, it's not too early to register.  http://iwp9.org

- erik



Re: [9fans] anyone attempted to build ghostscript recently?

2013-05-04 Thread tlaronde
On Fri, May 03, 2013 at 09:08:26PM +0100, Steve Simon wrote:
> 
> My need is for postscript to pcl6 for the printer we have, currently I
> run ghostscript under linuxemu which works but I I would prefer to have
> a working native port.
> 

Since I had to try to print to an HP with PCL (in fact, with HPGL
embedded in PCL, with job dispatched by PJL...) I looked for a direct
whatever to HPGL (there was a now nuked program in cups in the
early days) or for whatever to PCL. I have not managed to get a
working ghostscript combination that can be swallowed by the HP
big designjet, so I have read the ghostscript sources and the
cups sources.

Problem: there is a mixing of PJL directly in the drivers (while PJL
should be left outside for what it is: embedding printer jobs---lp
level); cups uses ghostscript mainly to rasterize a PS document and then
to produce PJL and PCL commands to embed this image in a job the PCL
printer can eat.

For the task at end, you might have more success by using the
Ghostscript shipped by Plan9 to create a raw image (à la cups)
and to write the filter to embed this image in PCL commands, and
these in PJL (PCL and PJL are now finally documented by HP).

If you have a network connected printer (or a printer connected to a
bi-directional parallel port) to discover what is supported by the
printer, use PJL (sh(1) example used from an Unix):


#!/bin/sh
#

# lpd status.
#
LPD_OK=0
LPD_ERROR=1
LPD_FATAL=2

PJL_UEL='%-12345X' # Universal Exist Language : sentry

PJL_LANGUAGE_SWITCH='E' # for printers supporting several languages

# If used as a filter for lpd, it has to have "something".
#
cat >/dev/null

# Opening the job.
#
printf '%s' $PJL_UEL

# Ensure we send us something.
#
printf '@PJL USTATUS DEVICE=VERBOSE\n'

# A custom string is echoed because there can be informations sent to
# someone else for something else. This is to now this is linked to our
# request.
#
printf '@PJL ECHO KerGIS requesting config %s\n' "$(date -u '+%F %T')"

# If the printer does not support the category, the answer is:
#
# "?" 
# 
#
# Hence, we ask for everything hoping to have something...

# INFO
#
printf '@PJL INFO ID\n'
printf '@PJL INFO CONFIG\n'
printf '@PJL INFO FILESYS\n'
printf '@PJL INFO MEMORY\n'
printf '@PJL INFO PAGECOUNT\n'
printf '@PJL INFO STATUS\n'
printf '@PJL INFO VARIABLES\n'
printf '@PJL INFO USTATUS\n'

# INQUIRE et DINQUIRE.
#
printf '@PJL INQUIRE PERSONALITY\n'
printf '@PJL INQUIRE RESOLUTION\n'
printf '@PJL INQUIRE RESOURCESAVE\n'

# End of job
#
printf '%s' $PJL_UEL

exit $LPD_OK
-- 
Thierry Laronde 
  http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C