Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2008 15:53:09 +0000
From:      pwn <pwnedomina@gmail.com>
To:        Jonathan McKeown <jonathan+freebsd-questions@hst.org.za>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ascii text format
Message-ID:  <4926D965.8010104@gmail.com>
In-Reply-To: <200811211539.28898.jonathan%2Bfreebsd-questions@hst.org.za>
References:  <4926922C.8050702@gmail.com> <200811211539.28898.jonathan%2Bfreebsd-questions@hst.org.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan McKeown wrote:
> On Friday 21 November 2008 12:49:16 pwn wrote:
>   
>> algouth this is not a freebsd specific text, i need to format some texts
>> under freebsd for they appear in the center of the page when opened in a
>> browser, but i dont want to use HTML for format them, i just want to add
>> tabulation to my *.txt.
>> what software/tool can i use for format my *.txt? there is command on
>> VIM like "set textwidth" but this is not suitable for me. any help i
>> appreciate.
>> i add an example on a temporary host for make sure all understand.
>> (i need to format the text for he appear like the example good.txt)
>> http://one.xthost.info/temphost/good.txt
>> http://one.xthost.info/temphost/bad.txt
>>     
>
> You seem to be fighting against your tools rather than working with them - the 
> browser will strip out your whitespace and reflow your text anyway unless you 
> prevent it somehow (<pre> tags?) so you might be better off just using 
> HTML/CSS to control the format.
>
> However, you could look at various tools for processing text, depending 
> exactly what you're trying to do: the manpages for fmt, groff, and pr might 
> all offer some ideas.
>
> Jonathan
>   


yes, i want that the text appears displayed such as manpages like, how 
can i accomplish this task?

> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4926D965.8010104>