1. Wordwrap in Linux/FreeBSD?

How do I get word wrap to work properly in FreeBSD?

With .ex/.exw, I can use this:

sentences = { { "Sentence One" } , { "Sentence Two" }, ... etc... } -- 
example only. not a valid declaration!

for t=1 to length(sentences) do
    puts(1, sentences[t])
    if t < length(sentences) then
       puts(1,", ")
    end if
end for

It prints it out, one after the other, and wraps around when necessary. 
FreeBSD doesn't seem to be doing that.

Help?!

-ck

new topic     » topic index » view message » categorize

2. Re: Wordwrap in Linux/FreeBSD?

C. K.,

I am not sure what you are trying to do, but Mike
Nelson has a fantastic text formatting library that
will do all sorts of wordwraps and such. Here's the
download link from User Contribs:
http://www.rapideuphoria.com/formtext.zip

--- "C. K. Lester" <euphoric at cklester.com> wrote:
> 
> 
> How do I get word wrap to work properly in FreeBSD?
> 
> With .ex/.exw, I can use this:
> 
> sentences = { { "Sentence One" } , { "Sentence Two"
> }, ... etc... } -- 
> example only. not a valid declaration!
> 
> for t=1 to length(sentences) do
>     puts(1, sentences[t])
>     if t < length(sentences) then
>        puts(1,", ")
>     end if
> end for
> 
> It prints it out, one after the other, and wraps
> around when necessary. 
> FreeBSD doesn't seem to be doing that.
> 
> Help?!
> 
> -ck
> 
>
> 
> 
> TOPICA - Start your own email discussion group.
> FREE!
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu