9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Unix Weenie Newsreader
@ 2009-07-28 18:19 John Floren
  2009-07-28 23:52 ` Corey
  2009-08-06  1:22 ` John Floren
  0 siblings, 2 replies; 4+ messages in thread
From: John Floren @ 2009-07-28 18:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Ever wish you had more GUI programs on Plan 9 to show off to your
friends? Do you think Mothra represents the very pinnacle of UI
design? Then have I got a program for you...

I've spent the last day or so whipping up a quick libpanel application
to read USENET via nntpfs. You can read newsgroups (not threaded, yet)
and post messages (no followups yet), all from the comfort of a
program that wouldn't look too out of place in any fashionable UNIX
establishment. Screenshots at
http://csplan9.rit.edu/users/john/uwn.png

The source is available in /n/sources/contrib/john/uwn.tgz


John
--
"I've tried programming Ruby on Rails, following TechCrunch in my RSS
reader, and drinking absinthe. It doesn't work. I'm going back to C,
Hunter S. Thompson, and cheap whiskey." -- Ted Dziuba



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

* Re: [9fans] Unix Weenie Newsreader
  2009-07-28 18:19 [9fans] Unix Weenie Newsreader John Floren
@ 2009-07-28 23:52 ` Corey
  2009-07-28 23:53   ` J.R. Mauro
  2009-08-06  1:22 ` John Floren
  1 sibling, 1 reply; 4+ messages in thread
From: Corey @ 2009-07-28 23:52 UTC (permalink / raw)
  To: 9fans

On Tuesday 28 July 2009 11:19:08 John Floren wrote:
> Ever wish you had more GUI programs on Plan 9 to show off to your
> friends? Do you think Mothra represents the very pinnacle of UI
> design? Then have I got a program for you...
>
> I've spent the last day or so whipping up a quick libpanel application
> to read USENET via nntpfs. You can read newsgroups (not threaded, yet)
> and post messages (no followups yet), all from the comfort of a
> program that wouldn't look too out of place in any fashionable UNIX
> establishment. Screenshots at
> http://csplan9.rit.edu/users/john/uwn.png
>
> The source is available in /n/sources/contrib/john/uwn.tgz
>


Whoah -   buttons and widgets?  On Plan 9?

This is unacceptable!


... I jest.


( maybe unix will re-subscribe to 9fans now )





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

* Re: [9fans] Unix Weenie Newsreader
  2009-07-28 23:52 ` Corey
@ 2009-07-28 23:53   ` J.R. Mauro
  0 siblings, 0 replies; 4+ messages in thread
From: J.R. Mauro @ 2009-07-28 23:53 UTC (permalink / raw)
  To: corey, Fans of the OS Plan 9 from Bell Labs

On Tue, Jul 28, 2009 at 7:52 PM, Corey<corey@bitworthy.net> wrote:
> On Tuesday 28 July 2009 11:19:08 John Floren wrote:
>> Ever wish you had more GUI programs on Plan 9 to show off to your
>> friends? Do you think Mothra represents the very pinnacle of UI
>> design? Then have I got a program for you...
>>
>> I've spent the last day or so whipping up a quick libpanel application
>> to read USENET via nntpfs. You can read newsgroups (not threaded, yet)
>> and post messages (no followups yet), all from the comfort of a
>> program that wouldn't look too out of place in any fashionable UNIX
>> establishment. Screenshots at
>> http://csplan9.rit.edu/users/john/uwn.png
>>
>> The source is available in /n/sources/contrib/john/uwn.tgz
>>
>
>
> Whoah -   buttons and widgets?  On Plan 9?
>
> This is unacceptable!

This is madness.

>
>
> ... I jest.
>
>
> ( maybe unix will re-subscribe to 9fans now )
>
>
>
>



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

* Re: [9fans] Unix Weenie Newsreader
  2009-07-28 18:19 [9fans] Unix Weenie Newsreader John Floren
  2009-07-28 23:52 ` Corey
@ 2009-08-06  1:22 ` John Floren
  1 sibling, 0 replies; 4+ messages in thread
From: John Floren @ 2009-08-06  1:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Jul 28, 2009 at 11:19 AM, John Floren<slawmaster@gmail.com> wrote:
> Ever wish you had more GUI programs on Plan 9 to show off to your
> friends? Do you think Mothra represents the very pinnacle of UI
> design? Then have I got a program for you...
>
> I've spent the last day or so whipping up a quick libpanel application
> to read USENET via nntpfs. You can read newsgroups (not threaded, yet)
> and post messages (no followups yet), all from the comfort of a
> program that wouldn't look too out of place in any fashionable UNIX
> establishment. Screenshots at
> http://csplan9.rit.edu/users/john/uwn.png
>
> The source is available in /n/sources/contrib/john/uwn.tgz
>
>
> John

To follow up: You can now follow up. I've added "reply" functionality,
fixing what I think was a bug in libpanel in the process. The latest
version, yet again, is in /n/sources/contrib/john/uwn.tgz. The
interactions between the reader and the writer are really bad, I need
to work on that, but I thought I'd send this first.

The possible bug was that setting up a pledit(panel, PACKE|EXPAND,
Pt(0,0), inittxt, runestrlen(inittxt), 0); would cause the writer when
replying if the message being quoted came to over 100 characters long.
Some experimentation later, I changed line 64 of libpanel/textwin.c
from
if (l>t->eloc-t->loc) {
to
if (l>=(t->eloc-t->loc)) {

which seemed to fix the problem. If it wasn't a bug and I was merely
calling the pledit function wrong, please let me know.


John
--
"Object-oriented design is the roman numerals of computing" -- Rob Pike



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

end of thread, other threads:[~2009-08-06  1:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28 18:19 [9fans] Unix Weenie Newsreader John Floren
2009-07-28 23:52 ` Corey
2009-07-28 23:53   ` J.R. Mauro
2009-08-06  1:22 ` John Floren

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).