9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] faces in plan9port
@ 2005-11-12 15:34 erik quanstrom
  2005-11-12 16:40 ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2005-11-12 15:34 UTC (permalink / raw)
  To: 9fans

there's a lot of these lines in the plan9port faces
	unsharp("#9/lib/face/.machinelist")

should this be changed to 
	unsharp("#9/face/.machinelist")

or should the face directory be moved to #9/lib?

- erik


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] faces in plan9port
  2005-11-12 15:34 [9fans] faces in plan9port erik quanstrom
@ 2005-11-12 16:40 ` Russ Cox
  2005-11-12 17:11   ` erik quanstrom
  0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2005-11-12 16:40 UTC (permalink / raw)
  To: erik quanstrom, Fans of the OS Plan 9 from Bell Labs

> there's a lot of these lines in the plan9port faces
>         unsharp("#9/lib/face/.machinelist")
>
> should this be changed to
>         unsharp("#9/face/.machinelist")
>
> or should the face directory be moved to #9/lib?

the directory should be #9/face.  fixed.
also changed the home directory to $home or $HOME
instead of /usr/$user.

russ


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] faces in plan9port
  2005-11-12 16:40 ` Russ Cox
@ 2005-11-12 17:11   ` erik quanstrom
  2005-11-12 17:30     ` Russ Cox
  0 siblings, 1 reply; 4+ messages in thread
From: erik quanstrom @ 2005-11-12 17:11 UTC (permalink / raw)
  To: 9fans, Russ Cox

i "ported" resample to p9p by changing τ to tau
and α to alpha.

the line listed on the wiki for creating a face image
might trip over gnu iconv on linux: try this:

	jpg -c $file  | 9 iconv -c m8 | resample -x 48 -y 48 > face.1

- erik

Russ Cox <rsc@swtch.com> writes



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] faces in plan9port
  2005-11-12 17:11   ` erik quanstrom
@ 2005-11-12 17:30     ` Russ Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2005-11-12 17:30 UTC (permalink / raw)
  To: erik quanstrom; +Cc: 9fans

/n/sources/contrib/rsc/mug.c is even better.
i should write a man page and put it in the
distribution.

; 9fs sources
; 9p read contrib/rsc/mug.c >mug.c
; 9c mug.c
; 9l mug.o
; jpg -9t www2/rsc-small.jpg >a.bit
; ./a.out a.bit >a.face
;

russ

[sorry erik; forgot to reply to all first time.]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-12 17:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 15:34 [9fans] faces in plan9port erik quanstrom
2005-11-12 16:40 ` Russ Cox
2005-11-12 17:11   ` erik quanstrom
2005-11-12 17:30     ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).