🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.sources.patches
1 messages
1 total messages Started by Steven Salvini Wed, 07 Jul 1993 11:48
GNU managram v3.3 - unofficial patch!
#28
Author: Steven Salvini
Date: Wed, 07 Jul 1993 11:48
39 lines
1942 bytes
I mailed Dave about his GNU managram v3.3 program because I could
not get managram2 to work at all -here's his reply ->

davem@bnr.ca (Dave) writes:
> 
> Sorry, managram2 doesn't quite work, I've been busy, but I'll try and fix it
> today, and re-post. They _should_ both work, theoretically, but I'm forgetting
> something somewhere. V3.4 will have the fix, I'm not releasing another one with
> a bug. Also I need to figure out why the manpage get's uu-encoded! :-)
> 

I then had a quick look at the code and I think the following simple
patch to managram.c will do the trick - if it doesn't it's all my fault
and 100% not Dave's!

To apply, save this to a file, let's call it my_file for the example,
put it into the directory with the managram source, remove all the
stuff above & including the "CUT HERE" line below then type ->

	patch < my_file

and that should be that...

Steve.

(I tried mailing this to Dave but I think it must have 'got lost in the post' ;-( )

---:<---:<---:<---:<---:<---:<--- CUT HERE ---:<---:<---:<---:<---:<---:<---:<--
102a103,105
> #if defined(COMPILE_MANAGRAM2)
>                if (Word.length > origWord.length)
> #else  /*COMPILE_MANAGRAM*/
103a107
> #endif /*COMPILE_MANAGRAM2*/
108c112
<                     if (Word.letter_usage[i] >= origWord.letter_usage[i])
---
>                     if (Word.letter_usage[i] > origWord.letter_usage[i])
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads