From owner-freebsd-questions@FreeBSD.ORG Tue Jun 12 03:44:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8EF41065672 for ; Tue, 12 Jun 2012 03:44:32 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8855A8FC21 for ; Tue, 12 Jun 2012 03:44:32 +0000 (UTC) Received: from r56.edvax.de (port-92-195-32-177.dynamic.qsc.de [92.195.32.177]) by mx01.qsc.de (Postfix) with ESMTP id C79F53CEA2; Tue, 12 Jun 2012 05:44:31 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q5C3iVwv002054; Tue, 12 Jun 2012 05:44:31 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 12 Jun 2012 05:44:31 +0200 From: Polytropon To: pwnedomina Message-Id: <20120612054431.b630e37a.freebsd@edvax.de> In-Reply-To: <4FD6A057.2070101@gmail.com> References: <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <4FD6A057.2070101@gmail.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: text format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 03:44:32 -0000 On Tue, 12 Jun 2012 01:50:15 +0000, pwnedomina wrote: > On 11-06-2012 23:40, Alejandro Imass wrote: > > On Mon, Jun 11, 2012 at 5:57 PM, i pwn wrote: > >> hi, sometime ago i asked a question about how to format a text, some people > >> told me to use groff, but i would like to know how was file > >> http://ipwn.altervista.org/files/Stoll,%20Clifford%20-%20The%20Cuckoo%27s%20Egg.txt > >> fomatted. > >> thanks in advance. > > Most probably nroff / groff > > > > Take a look at the info from the authoring tools at rfceditor: > > > > http://www.rfc-editor.org/formatting.html > > > *formatted. > i've downloaded NroffEdit but when i open the ASCII text i want to > convert/format, it says "Not a valid nroff I-D" > what should i do? Erm, you did open the output file (as pointed to), _not_ the source file? You're trying to "edit text in a document you've scanned". :-) The output text can be edited with any text editor (vi, emacs, joe, mcedit, whichever is your favourite), but it will be kept in this format as it _has been_ generated that way (past tense). In order to change formatting, you need the SOURCE file with the macros. (Compare: HTML files rendered by browser: output looks different than input; to change it, you need to edit the HTML source.) You can compare that to editing a man page: You need the page's source (like found in /usr/src/share/examples/mdoc/example.1). The text's SOURCE file would have looked similarly I assume. THAT is the input format you need for the "NroffEdit" WYSIWYG "text" editor. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...