From a15fb9d4f97cf5a7980e50be9d27b4009c7046e3 Mon Sep 17 00:00:00 2001
From: krion The purpose of this demo is to convert your message into something
+-completely different. The same message can be changed into many
+-different texts - even with the same style and dictionary. What's more,
+-you will have the opportunity to convert the nicetext back into
+-your original message!NICETEXT Web-Sampler © 1998 - Primary Input Screen
+-
For more information please see the Official NICETEXT Home Page
+- ++ os.add("\n\ ++\n\ ++The purpose of this demo is to convert your message into something\n\ ++completely different. The same message can be changed into many\n\ ++different texts - even with the same style and dictionary. What's more,\n\ ++you will have the opportunity to convert the nicetext back into\n\ ++your original message!
\n\ ++\n\ ++For more information please see the Official NICETEXT Home Page
\n\ ++\n\ + "); + + return TRUE; +@@ -877,23 +877,23 @@ + + BOOL sendNiceText(MTCstringList &os, MTCRBTThis is the result of the nicetext operation on the message +-you selected. If you scramble the unmodified text below then +-the software will recover your original message on the next page. +-But, if you modify the text - who knows what you will end up with? Also, +-if you are not satisfied with the quality of the nicetext then +-use the reload button on your browser for another try!
+- +- +- ++ os.add("\n\ ++\n\ ++\n\ ++\n\ ++\n\ ++\n\ + "); + } + +@@ -1073,23 +1073,23 @@ + + BOOL sendScramText(MTCstringList &os, MTCRBTThis page contains the scrambled version of the nicetext +-on the previous page. If you did not modify the nicetext then this +-should be your original message! (If it does NOT match your original message +-then rest assured that it is because of the poor implementation of HTTP/1.0 +-rather than a problem with the basic transformation software.)
+-+-\n\ ++
\n\ ++\n\ ++GO BACK TO START PAGE...\n\ ++
\n\ ++\n\ ++\n\ + "); + } + +@@ -1236,8 +1236,7 @@ + + if (gettimeofday(&t, &tz)==-1) + { +- errorMsg(EMT_WARNING, "random seed generation failed...no big de +-al though...", "randomize()"); ++ errorMsg(EMT_WARNING, "random seed generation failed...no big deal though...", "randomize()"); + } + + srandom(t.tv_sec|t.tv_usec); diff --git a/textproc/nicetext/files/patch-txt2bits.cc b/textproc/nicetext/files/patch-txt2bits.cc new file mode 100644 index 000000000000..a70a35e52220 --- /dev/null +++ b/textproc/nicetext/files/patch-txt2bits.cc @@ -0,0 +1,12 @@ +--- babble/src/txt2bits.cc.orig Fri Feb 20 04:31:27 1998 ++++ babble/src/txt2bits.cc Thu Oct 30 18:17:38 2003 +@@ -264,8 +264,7 @@ + if (((dictRecRBT.getCount()==0)&&(getSmallMode()==FALSE)) + || (dictRecRAOF==NULL)||(dictRecRAOF->getCount()==0)) + { +- errorMsg(EMT_ERROR, "The dictionary specified is empty", "MTCtex +-tToBits::openDictName()"); ++ errorMsg(EMT_ERROR, "The dictionary specified is empty", "MTCtextToBits::openDictName()"); + return FALSE; + } + diff --git a/textproc/nicetext/pkg-plist b/textproc/nicetext/pkg-plist index 90cefdb20ccf..d221837a7a09 100644 --- a/textproc/nicetext/pkg-plist +++ b/textproc/nicetext/pkg-plist @@ -15,142 +15,144 @@ bin/rinfo bin/scramble bin/sortdct bin/txt2dct -share/doc/nicetext/README.TXT -share/doc/nicetext/distribution.txt -share/doc/nicetext/icics97.pdf -share/doc/nicetext/icics97.ps -share/doc/nicetext/icics97.txt -share/doc/nicetext/thesis.pdf -share/doc/nicetext/thesis.ps -share/doc/nicetext/thesis.txt -share/doc/nicetext/COPYRIGHT -@dirrm share/doc/nicetext -share/examples/nicetext/database/Makefile -share/examples/nicetext/database/fabldict.alt -share/examples/nicetext/database/fabldict.dat -share/examples/nicetext/database/fabldict.jmp -share/examples/nicetext/database/fablmodel.dat -share/examples/nicetext/database/fablmodel.jmp -share/examples/nicetext/database/fabltype.dat -share/examples/nicetext/database/fabltype.jmp -share/examples/nicetext/database/jfkdict.alt -share/examples/nicetext/database/jfkdict.dat -share/examples/nicetext/database/jfkdict.jmp -share/examples/nicetext/database/jfkmodel.dat -share/examples/nicetext/database/jfkmodel.jmp -share/examples/nicetext/database/jfktype.dat -share/examples/nicetext/database/jfktype.jmp -share/examples/nicetext/database/wizozdict.alt -share/examples/nicetext/database/wizozdict.dat -share/examples/nicetext/database/wizozdict.jmp -share/examples/nicetext/database/wizozmodel.dat -share/examples/nicetext/database/wizozmodel.jmp -share/examples/nicetext/database/wizoztype.dat -share/examples/nicetext/database/wizoztype.jmp -share/examples/nicetext/database/mstrdict.alt -share/examples/nicetext/database/mstrdict.dat -share/examples/nicetext/database/mstrdict.jmp -share/examples/nicetext/database/mstrtype.dat -share/examples/nicetext/database/mstrtype.jmp -share/examples/nicetext/database/shakdict.alt -share/examples/nicetext/database/shakdict.dat -share/examples/nicetext/database/shakdict.jmp -share/examples/nicetext/database/shakmodel.dat -share/examples/nicetext/database/shakmodel.jmp -share/examples/nicetext/database/shaktype.dat -share/examples/nicetext/database/shaktype.jmp -@dirrm share/examples/nicetext/database -share/examples/nicetext/texts/fabl/Makefile -share/examples/nicetext/texts/fabl/aesop11.txt.gz -@dirrm share/examples/nicetext/texts/fabl -share/examples/nicetext/texts/jfk/Makefile -share/examples/nicetext/texts/jfk/jfk11.txt.gz -@dirrm share/examples/nicetext/texts/jfk -share/examples/nicetext/texts/wizoz/Makefile -share/examples/nicetext/texts/wizoz/wizoz10.txt.gz -@dirrm share/examples/nicetext/texts/wizoz -share/examples/nicetext/texts/shak/Makefile -share/examples/nicetext/texts/shak/shaks12.txt.gz -@dirrm share/examples/nicetext/texts/shak -share/examples/nicetext/texts/Makefile -@dirrm share/examples/nicetext/texts -share/examples/nicetext/tutorial/1/Makefile -share/examples/nicetext/tutorial/1/README.TXT -share/examples/nicetext/tutorial/1/dict.raw -share/examples/nicetext/tutorial/1/sample.txt -share/examples/nicetext/tutorial/1/secret.txt -@dirrm share/examples/nicetext/tutorial/1 -share/examples/nicetext/tutorial/2/words/conjunction -share/examples/nicetext/tutorial/2/words/name_family -share/examples/nicetext/tutorial/2/words/name_female -share/examples/nicetext/tutorial/2/words/name_male -share/examples/nicetext/tutorial/2/words/name_other -share/examples/nicetext/tutorial/2/words/num_cardinal_digits -share/examples/nicetext/tutorial/2/words/num_cardinal_words -share/examples/nicetext/tutorial/2/words/num_roman_digits -share/examples/nicetext/tutorial/2/words/num_years_digits -share/examples/nicetext/tutorial/2/words/place -share/examples/nicetext/tutorial/2/words/prepin -share/examples/nicetext/tutorial/2/words/prepto -share/examples/nicetext/tutorial/2/words/verbmeet -share/examples/nicetext/tutorial/2/words/verbmet -share/examples/nicetext/tutorial/2/words/verbwent -@dirrm share/examples/nicetext/tutorial/2/words -share/examples/nicetext/tutorial/2/Makefile -share/examples/nicetext/tutorial/2/README.TXT -share/examples/nicetext/tutorial/2/sample.txt -share/examples/nicetext/tutorial/2/secret.txt -@dirrm share/examples/nicetext/tutorial/2 -share/examples/nicetext/tutorial/3/Makefile -share/examples/nicetext/tutorial/3/README.TXT -share/examples/nicetext/tutorial/3/gram1.def -share/examples/nicetext/tutorial/3/gram2.inc -share/examples/nicetext/tutorial/3/secret.txt -@dirrm share/examples/nicetext/tutorial/3 -share/examples/nicetext/tutorial/Makefile -share/examples/nicetext/tutorial/README.TXT -@dirrm share/examples/nicetext/tutorial -share/examples/nicetext/words/wlist/gutenberg/Makefile -share/examples/nicetext/words/wlist/gutenberg/README.TXT -share/examples/nicetext/words/wlist/gutenberg/create -share/examples/nicetext/words/wlist/gutenberg/words.out.gz -@dirrm share/examples/nicetext/words/wlist/gutenberg -share/examples/nicetext/words/wlist/web2/Makefile -share/examples/nicetext/words/wlist/web2/README.TXT -share/examples/nicetext/words/wlist/web2/words.gz -@dirrm share/examples/nicetext/words/wlist/web2 -share/examples/nicetext/words/wlist/Makefile -@dirrm share/examples/nicetext/words/wlist -share/examples/nicetext/words/twlist/impkimmo/Makefile -share/examples/nicetext/words/twlist/impkimmo/README.TXT -share/examples/nicetext/words/twlist/impkimmo/kimmo.twlist.gz -@dirrm share/examples/nicetext/words/twlist/impkimmo -share/examples/nicetext/words/twlist/mitlist/Makefile -share/examples/nicetext/words/twlist/mitlist/name_family -share/examples/nicetext/words/twlist/mitlist/name_female -share/examples/nicetext/words/twlist/mitlist/name_male -share/examples/nicetext/words/twlist/mitlist/name_other -share/examples/nicetext/words/twlist/mitlist/place -share/examples/nicetext/words/twlist/mitlist/pos.awk -share/examples/nicetext/words/twlist/mitlist/posplr.awk -@dirrm share/examples/nicetext/words/twlist/mitlist -share/examples/nicetext/words/twlist/numeric/Makefile -share/examples/nicetext/words/twlist/numeric/num_cardinal_digits -share/examples/nicetext/words/twlist/numeric/num_cardinal_words -share/examples/nicetext/words/twlist/numeric/num_roman_digits -share/examples/nicetext/words/twlist/numeric/num_years_digits -@dirrm share/examples/nicetext/words/twlist/numeric -share/examples/nicetext/words/twlist/rhyme/Makefile -share/examples/nicetext/words/twlist/rhyme/README.TXT -share/examples/nicetext/words/twlist/rhyme/cmudict.0.4.gz -share/examples/nicetext/words/twlist/rhyme/extract.awk -share/examples/nicetext/words/twlist/rhyme/gt3.awk -share/examples/nicetext/words/twlist/rhyme/rev2.awk -share/examples/nicetext/words/twlist/rhyme/rhyme.twlist.gz -@dirrm share/examples/nicetext/words/twlist/rhyme -share/examples/nicetext/words/twlist/Makefile -@dirrm share/examples/nicetext/words/twlist -@dirrm share/examples/nicetext/words -share/examples/nicetext/Makefile -share/examples/nicetext/README.TXT -@dirrm share/examples/nicetext +%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT +%%PORTDOCS%%%%DOCSDIR%%/README.TXT +%%PORTDOCS%%%%DOCSDIR%%/distribution.txt +%%PORTDOCS%%%%DOCSDIR%%/icics97.pdf +%%PORTDOCS%%%%DOCSDIR%%/icics97.ps +%%PORTDOCS%%%%DOCSDIR%%/icics97.txt +%%PORTDOCS%%%%DOCSDIR%%/thesis.pdf +%%PORTDOCS%%%%DOCSDIR%%/thesis.ps +%%PORTDOCS%%%%DOCSDIR%%/thesis.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/database/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fabldict.alt +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fabldict.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fabldict.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fablmodel.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fablmodel.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fabltype.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/fabltype.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfkdict.alt +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfkdict.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfkdict.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfkmodel.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfkmodel.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfktype.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/jfktype.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/mstrdict.alt +%%PORTDOCS%%%%EXAMPLESDIR%%/database/mstrdict.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/mstrdict.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/mstrtype.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/mstrtype.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shakdict.alt +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shakdict.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shakdict.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shakmodel.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shakmodel.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shaktype.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/shaktype.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizozdict.alt +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizozdict.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizozdict.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizozmodel.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizozmodel.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizoztype.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/database/wizoztype.jmp +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/fabl/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/fabl/aesop11.txt.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/jfk/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/jfk/jfk11.txt.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/shak/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/shak/shaks12.txt.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/wizoz/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/texts/wizoz/wizoz10.txt.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/1/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/1/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/1/dict.raw +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/1/sample.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/1/secret.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/sample.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/secret.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/conjunction +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/name_family +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/name_female +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/name_male +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/name_other +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/num_cardinal_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/num_cardinal_words +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/num_roman_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/num_years_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/place +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/prepin +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/prepto +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/verbmeet +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/verbmet +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/2/words/verbwent +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/3/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/3/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/3/gram1.def +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/3/gram2.inc +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/3/secret.txt +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/tutorial/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/impkimmo/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/impkimmo/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/impkimmo/kimmo.twlist.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/name_family +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/name_female +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/name_male +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/name_other +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/place +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/pos.awk +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/mitlist/posplr.awk +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/numeric/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/numeric/num_cardinal_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/numeric/num_cardinal_words +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/numeric/num_roman_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/numeric/num_years_digits +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/cmudict.0.4.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/extract.awk +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/gt3.awk +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/rev2.awk +%%PORTDOCS%%%%EXAMPLESDIR%%/words/twlist/rhyme/rhyme.twlist.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/gutenberg/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/gutenberg/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/gutenberg/create +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/gutenberg/words.out.gz +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/web2/Makefile +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/web2/README.TXT +%%PORTDOCS%%%%EXAMPLESDIR%%/words/wlist/web2/words.gz +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/wlist/web2 +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/wlist/gutenberg +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/wlist +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/twlist/rhyme +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/twlist/numeric +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/twlist/mitlist +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/twlist/impkimmo +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words/twlist +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/words +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tutorial/3 +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tutorial/2/words +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tutorial/2 +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tutorial/1 +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/tutorial +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/texts/wizoz +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/texts/shak +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/texts/jfk +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/texts/fabl +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/texts +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/database +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% -- cgit