Re: ASCII formatting for plain text email

2023-02-07 Thread Anton Shepelev
,[Pierre Willaime:] | I would like to format plain text emails to in- | crease readability and information separation. The | idea is to go beyond markdown and to have more | visible elements. `-- Markdown is intended for conversion into HTML and other formats (see Pa

Re: ASCII formatting for plain text email

2023-02-05 Thread Curt
On 2023-02-05, TRS-80 wrote: > >> 2- a simple way to align some text to the right (that is to say to >> automatically calculate how many spaces are needed to fill the gap >> between the text on the left an the text on the right for 72 characters >> line. > > #+begin_src emacs-lisp > (defun my-in

Re: ASCII formatting for plain text email

2023-02-04 Thread TRS-80
Pierre Willaime writes: > Le 31/01/2023 à 21:14, Greg Wooledge a écrit : >> A .signature file is only written once, so it doesn't matter how >> tedious it is to produce the desired formatting. > > But you are right, .signature file is only written once and I am looking > for a simple way to write

Re: ASCII formatting for plain text email

2023-02-03 Thread Cousin Stanley
> Pierre Willaime posted > > > For example I am looking for a convenient way to > "draw" some ASCII boxes such as > > # > ## some title here ## > # I have a python program that does this $ python3 msgbox.py Skunk Bucket from Nan Tuck

Re: ASCII formatting for plain text email

2023-02-02 Thread debian-user
> On Tue, Jan 31, 2023 at 11:06:44PM +0100, Pierre Willaime wrote: > >1- a simple way to draw a line (without pressing 72 times on "-") > >--- > > Are you using emacs? I'm *sure* there must be a quick short-hand to do > this. I

Re: ASCII formatting for plain text email

2023-02-02 Thread songbird
Pierre Willaime wrote: ... > I would like to format plain text emails to increase readability and > information separation. The idea is to go beyond markdown and to have > more visible elements. For example I am looking for a convenient way to > "draw" some ASCII boxes such as > > #

Re: ASCII formatting for plain text email

2023-02-02 Thread tomas
On Thu, Feb 02, 2023 at 10:50:59AM +, Jonathan Dowland wrote: > On Tue, Jan 31, 2023 at 11:06:44PM +0100, Pierre Willaime wrote: > > 1- a simple way to draw a line (without pressing 72 times on "-") > > --- > > Are you using e

Re: ASCII formatting for plain text email

2023-02-02 Thread Jonathan Dowland
On Tue, Jan 31, 2023 at 11:06:44PM +0100, Pierre Willaime wrote: 1- a simple way to draw a line (without pressing 72 times on "-") --- Are you using emacs? I'm *sure* there must be a quick short-hand to do this. I use vi, and t

Re: ASCII formatting for plain text email

2023-02-01 Thread David Wright
On Tue 31 Jan 2023 at 23:06:44 (+0100), Pierre Willaime wrote: > Le 31/01/2023 à 21:14, Greg Wooledge a écrit : > > A .signature file is only written once, so it doesn't matter how > > tedious it is to produce the desired formatting. That said, I would > > imagine relatively few people have octoth

Re: ASCII formatting for plain text email

2023-02-01 Thread Pierre-Elliott Bécue
Greg Wooledge wrote on 01/02/2023 at 16:00:59+0100: > On Wed, Feb 01, 2023 at 02:40:30PM -, Curt wrote: >> On 2023-02-01, The Wanderer wrote: >> > >> > Can you double-check what (Debian) package that's in? I'm not finding >> > any package or file named anything like either of those two thi

Re: ASCII formatting for plain text email

2023-02-01 Thread The Wanderer
On 2023-02-01 at 10:00, Greg Wooledge wrote: > On Wed, Feb 01, 2023 at 02:40:30PM -, Curt wrote: > >> On 2023-02-01, The Wanderer wrote: >> >> > >> > Can you double-check what (Debian) package that's in? I'm not finding >> > any package or file named anything like either of those two things,

Re: ASCII formatting for plain text email

2023-02-01 Thread Greg Wooledge
On Wed, Feb 01, 2023 at 02:40:30PM -, Curt wrote: > On 2023-02-01, The Wanderer wrote: > > > > Can you double-check what (Debian) package that's in? I'm not finding > > any package or file named anything like either of those two things, in > > current Debian testing and stable. > > You use th

Re: ASCII formatting for plain text email

2023-02-01 Thread Curt
On 2023-02-01, The Wanderer wrote: > > Can you double-check what (Debian) package that's in? I'm not finding > any package or file named anything like either of those two things, in > current Debian testing and stable. You use the built-in package manager: 'M-x package-install RET ascii-art-draw

Re: ASCII formatting for plain text email

2023-02-01 Thread The Wanderer
On 2023-02-01 at 09:22, Curt wrote: > On 2023-01-31, Pierre Willaime wrote: > >> Hi, >> >> -- >> Warning: I hope you will forgive me for this email not really related to >> debian. I just think people from this community could likely have good >> advice about this question. >> --

Re: ASCII formatting for plain text email

2023-02-01 Thread Curt
On 2023-01-31, Pierre Willaime wrote: > Hi, > > -- > Warning: I hope you will forgive me for this email not really related to > debian. I just think people from this community could likely have good > advice about this question. > -- > > I would like to format plain text emails to

Re: ASCII formatting for plain text email

2023-02-01 Thread Jonathan Dowland
On Tue, Jan 31, 2023 at 07:49:18PM +0100, Pierre Willaime wrote: I would like to format plain text emails to increase readability and information separation. The idea is to go beyond markdown and to have more visible elements. If you do this, please have some consideration for how screen reader

Re: ASCII formatting for plain text email

2023-02-01 Thread Max Nikulin
On 01/02/2023 01:49, Pierre Willaime wrote: I would like to format plain text emails to increase readability and information separation. The following message is result of ascii export from Emacs Org mode, the source file is attached. Export backend is customizable. https://list.orgmode.org

Re: ASCII formatting for plain text email

2023-01-31 Thread Anssi Saari
Pierre Willaime writes: > 1- a simple way to draw a line (without pressing 72 times on "-") > --- > > 2- a simple way to align some text to the right (that is to say to > automatically calculate how many spaces are needed to fill

Re: ASCII formatting for plain text email

2023-01-31 Thread tomas
On Tue, Jan 31, 2023 at 05:14:01PM -0700, Charles Curley wrote: > On Tue, 31 Jan 2023 23:06:44 +0100 > Pierre Willaime wrote: > > > 1- a simple way to draw a line (without pressing 72 times on "-") > > --- > > In emacs, ctl-u 7

Re: ASCII formatting for plain text email

2023-01-31 Thread Charles Curley
On Tue, 31 Jan 2023 23:06:44 +0100 Pierre Willaime wrote: > 1- a simple way to draw a line (without pressing 72 times on "-") > --- In emacs, ctl-u 7 2 -

Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 05:32:07PM -0500, Greg Wooledge wrote: > Again, a programming language can easily take an input string, measure > its length in characters, and produce an output string that looks like > a "box" around the input string. (Less easily if full Unicode is in play.) Here's a si

Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 11:06:44PM +0100, Pierre Willaime wrote: > I do not want to do ASCII art, I am only searching a simple way to do > something close to the debian-annouce emails. > > > The Debian Project

Re: ASCII formatting for plain text email

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 15:03:30 (-0500), Greg Wooledge wrote: > On Tue, Jan 31, 2023 at 01:42:10PM -0600, David Wright wrote: > > The question then is why emacs uses ; as a comment character. > > Because of LISP. > > https://www.gnu.org/software/emacs/manual/html_node/elisp/Comments.html I had as

Re: ASCII formatting for plain text email

2023-01-31 Thread err404
On 1/31/23 23:07, err...@free.fr wrote: On 1/31/23 19:49, Pierre Willaime wrote: (...) For example I am looking for a convenient way to "draw" some ASCII boxes such as # ## some title here ## # (...) the package 'figlet' is what you want hum, sorry, f

Re: ASCII formatting for plain text email

2023-01-31 Thread Pierre Willaime
Le 31/01/2023 à 20:44, Jude DaShiell a écrit : > chafa may help https://hpjansson.org/chafa/ Thanks! Not exactly what I am looking for (cf. my other answer) but very useful.

Re: ASCII formatting for plain text email

2023-01-31 Thread err404
On 1/31/23 19:49, Pierre Willaime wrote: (...) For example I am looking for a convenient way to "draw" some ASCII boxes such as # ## some title here ## # (...) the package 'figlet' is what you want

Re: ASCII formatting for plain text email

2023-01-31 Thread Pierre Willaime
Le 31/01/2023 à 21:14, Greg Wooledge a écrit : > A .signature file is only written once, so it doesn't matter how > tedious it is to produce the desired formatting. That said, I would > imagine relatively few people have octothorpe boxes around text in their > .signature files these days. Even ba

Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 07:49:18PM +0100, Pierre Willaime wrote: > # > ## some title here ## > # > > (I am using emacs comment-box feature in a buffer to do this and I > replace ; by #, I suppose there is nicer way to do this). > > I often see email signatu

Re: ASCII formatting for plain text email

2023-01-31 Thread Greg Wooledge
On Tue, Jan 31, 2023 at 01:42:10PM -0600, David Wright wrote: > The question then is why emacs uses ; as a comment character. Because of LISP. https://www.gnu.org/software/emacs/manual/html_node/elisp/Comments.html

Re: ASCII formatting for plain text email

2023-01-31 Thread Jude DaShiell
boxes specializes in that. chafa may help those that get your ascii boxes put those characters into the printable set. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Tue, 31 Jan 2023,

Re: ASCII formatting for plain text email

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 19:49:18 (+0100), Pierre Willaime wrote: > > I would like to format plain text emails to increase readability and > information separation. The idea is to go beyond markdown and to have > more visible elements. For example I am looking for a convenient way to > "draw" some AS

Re: ASCII formatting for plain text email

2023-01-31 Thread rhkramer
On Tuesday, January 31, 2023 01:49:18 PM Pierre Willaime wrote: > ... I am looking for a convenient way to > "draw" some ASCII boxes such as > > # > ## some title here ## > # > Do you know dedicated tools or text editor to do such things the easy > way on a

Re: [:ascii:] character class

2008-11-26 Thread Andre Majorel
On 2008-11-25 01:49 -0600, Boyd Stephen Smith Jr. wrote: > On Monday 2008 November 24 10:54, Eugene V. Lyubimkin wrote: > > Andre Majorel wrote: > > > I seem to remember that the non-standard [:ascii:] character class > > > was once supported. Now grep and sed give the error "Invalid > > > characte

Re: [:ascii:] character class

2008-11-24 Thread Boyd Stephen Smith Jr.
On Monday 2008 November 24 10:54, Eugene V. Lyubimkin wrote: > Andre Majorel wrote: > > I seem to remember that the non-standard [:ascii:] character class > > was once supported. Now grep and sed give the error "Invalid > > character class name". Am I misremembering ? More importantly, is > > there

Re: [:ascii:] character class

2008-11-24 Thread Eugene V. Lyubimkin
Andre Majorel wrote: > I seem to remember that the non-standard [:ascii:] character class > was once supported. Now grep and sed give the error "Invalid > character class name". Am I misremembering ? More importantly, is > there a way to get it back ? > > Thanks in advance. > "[[:ascii:]]" ? --

Re: ASCII Formatter Whose Name I've Forgotten

2007-09-29 Thread Jude DaShiell
Yes, it was called fmt and is sometimes found with the name newfmt. On Wed, 26 Sep 2007, Martin McCormick wrote: I remember reading about a UNIX utility whose name escapes me. You feed it ASCII text and it breaks lines as near to a desired length as possible without splitting words. A

Re: more of that sed "editing" (Re: ASCII Formatter Whose Name I've Forgotten)

2007-09-26 Thread Ken Irving
On Wed, Sep 26, 2007 at 08:27:34PM +, Oleg Verych wrote: > 26-09-2007, Celejar: > > On Wed, 26 Sep 2007 09:47:09 -0500 > > Martin McCormick <[EMAIL PROTECTED]> wrote: > > > >>I remember reading about a UNIX utility whose name > >> escapes me. You feed it ASCII text and it breaks lines as ne

more of that sed "editing" (Re: ASCII Formatter Whose Name I've Forgotten)

2007-09-26 Thread Oleg Verych
26-09-2007, Celejar: > On Wed, 26 Sep 2007 09:47:09 -0500 > Martin McCormick <[EMAIL PROTECTED]> wrote: > >> I remember reading about a UNIX utility whose name >> escapes me. You feed it ASCII text and it breaks lines as near >> to a desired length as possible without splitting words. Anyone >

Re: ASCII Formatter Whose Name I've Forgotten

2007-09-26 Thread Martin McCormick
Celejar writes: > fmt -w nnn? That's it. Thanks! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: ASCII Formatter Whose Name I've Forgotten

2007-09-26 Thread Celejar
On Wed, 26 Sep 2007 09:47:09 -0500 Martin McCormick <[EMAIL PROTECTED]> wrote: > I remember reading about a UNIX utility whose name > escapes me. You feed it ASCII text and it breaks lines as near > to a desired length as possible without splitting words. Anyone > remember the name of this u

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-14 Thread Matus UHLAR - fantomas
> > On 12.11.06 14:52, Andrea Ganduglia wrote: > > > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > > > convert those in UTF-8. How? > On Mon, Nov 13, 2006 at 10:06:44AM +0100, Matus UHLAR - fantomas wrote: > > iconv -f -t > outputfile. > > > > There is also 'recode' package

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-13 Thread s. keeling
ochnap2 <[EMAIL PROTECTED]>: > On Sunday 12 November 2006 10:52, Andrea Ganduglia wrote: > > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > > convert those in UTF-8. How? > > convmv (0) heretic /home/keeling_ aptitude show convmv ... Description: filename encoding conversion

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-13 Thread ochnap2
On Sunday 12 November 2006 10:52, Andrea Ganduglia wrote: > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > convert those in UTF-8. How? > convmv > -- > Openclose.it - Idee per il software libero > http://www.openclose.it __ Correo

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-13 Thread hendrik
On Mon, Nov 13, 2006 at 10:06:44AM +0100, Matus UHLAR - fantomas wrote: > On 12.11.06 14:52, Andrea Ganduglia wrote: > > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > > convert those in UTF-8. How? > > iconv -f -t > outputfile. > > There is also 'recode' package, however I

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-13 Thread Matus UHLAR - fantomas
On 12.11.06 14:52, Andrea Ganduglia wrote: > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > convert those in UTF-8. How? iconv -f -t > outputfile. There is also 'recode' package, however I found it a bit redundant, since iconv (part of libc6) has this functionality -- Matu

Re: ASCII file to ISO-8859-* to UTF-8

2006-11-12 Thread s. keeling
Andrea Ganduglia <[EMAIL PROTECTED]>: > Hi. I have a lots ascii file with ecoding iso-8859-* and I must > convert those in UTF-8. How? man recode -- Any technology distinguishable from magic is insufficiently advanced. (*)http://www.spots.ab.ca/~keeling Linux Counter #80292 - -

Re: ascii

2002-03-18 Thread Marcelo Leal
perfect!! thanks, but i have one short picture, more or less 178 x 128 (in gimp information). And the resolution becomes fine with a ascii file too large... can i make (arguments) for aview produce a asci image equal the original one, and with the same widyh and height??? On Fri, 2002-03-15 at 2

Graphics to ASCII (was Re: ascii)

2002-03-16 Thread Karsten M. Self
on Fri, Mar 15, 2002, Marcelo Leal ([EMAIL PROTECTED]) wrote: > hello, anybody knows one software to convert gif images to ascii images > (art ascii) ??? the gimp script fu don't work pbmtoascii, which works after you've converted to pbm and scaled appropriately. There's a recipie somewhere i

Re: ascii

2002-03-15 Thread Andras BALI
On 15 Mar 2002, Marcelo Leal wrote: > hello, anybody knows one software to convert gif images to ascii images > (art ascii) ??? the gimp script fu don't work Try aview [1] (apt-get install aview) from the AA-Project [2]. You have to convert the GIF image to PNM first, or run asciiview which d

Re: ascii

2002-03-15 Thread Derek Loree
Marcelo Leal wrote: > hello, anybody knows one software to convert gif images to ascii images > (art ascii) ??? the gimp script fu don't work > Pic2Text might do the job for you. Good Luck Derek Loree

Re: ASCII documentation in /usr/share/doc

2001-07-02 Thread Joey Hess
Holger Rauch wrote: > In which package can I find "html2text" when I'm running a potato 2.2r3 > system? It seems like I only have "html2ps"...(but maybe I was overlooking > something). It's in unstable only. Use lynx -dump instead or something. -- see shy jo

Re: ASCII documentation in /usr/share/doc

2001-07-02 Thread Holger Rauch
Hi Joey! On Sun, 1 Jul 2001, Joey Hess wrote: > [...] > The best method I have been able to find is converting docbook to html > with jade and then html to text with html2text. You can see an example > in debconf's source package, in the doc/ directory.. In which package can I find "html2text" w

Re: ASCII documentation in /usr/share/doc

2001-07-01 Thread Joey Hess
Holger Rauch wrote: > I noticed that the gzipped .txt (ASCII) versions of all documents below > /usr/share/doc are neatly formatted. As far as I know, most documents are > DocBook SGML ones (please feel free to correct me if I'm wrong). Rather few, really. > How is > the ASCII version of these do

Re: ascii formatting package

2001-06-08 Thread USM Bish
There is a powerful perl program which converts text to pdf directly, called "txt2pdf". This is a shareware. I forget the URL, but the link is available at freshmeat.net. As far as I recall it was from Sanface Software. I tried it a few months ago ... pretty good. USM Bish On Fri, Jun 08, 20

Re: ascii formatting package

2001-06-08 Thread Robert L. Yelvington
thanks for the suggestion, HH! i believe that the perl option is better for me, text process the ascii doc via perl... sincerely, ~robt Harry Henry Gebel wrote: > > On Thu, Jun 07, 2001 at 06:39:22PM -0700, Robert L. Yelvington wrote: > > can anyone suggest a good package to format ascii docs t

Re: Re: ascii formatting package

2001-06-07 Thread MRZ
Let me throw my $0.02 cents in. Rather than using whitespace to delineate those elements, for the little extra effort involved in coding it might be worthwhile to use some non-standard (for ascii that it) characters. That way you could do some consistency/error/ *whatever* checking.. Then agai

Re: ascii formatting package

2001-06-07 Thread Harry Henry Gebel
On Thu, Jun 07, 2001 at 06:39:22PM -0700, Robert L. Yelvington wrote: > can anyone suggest a good package to format ascii docs to be converted > to pdf? > what i am looking for is something that can outline blocks of text with > boxes, selectively shade lines or single words as wells bold, italici

Re: ascii \177 char in filename

2001-05-22 Thread Mike Fedyk
On Mon, May 21, 2001 at 07:09:43PM -0700, Karsten M. Self wrote: > on Mon, May 21, 2001 at 05:23:37PM -0700, Mike Fedyk ([EMAIL PROTECTED]) > wrote: > > Hi, > > > > I'm writing a script that will clean up netatalk shared files from their > > flaws from MacOS. > > > > I have come accross a little

Re: ascii \177 char in filename

2001-05-21 Thread Eric G. Miller
On Mon, May 21, 2001 at 06:31:38PM -0700, Eric G. Miller wrote: Okay, I'm really bored so I whipped this up real quick. USE AT YOUR OWN PERIL! To compile: $ gcc -Wall -o badfile badfile.c Run in each directory (directory is hardcoded to "./") $ ./badfile Luck, -- Eric G. Miller #include #inc

Re: ascii \177 char in filename

2001-05-21 Thread Karsten M. Self
on Mon, May 21, 2001 at 05:23:37PM -0700, Mike Fedyk ([EMAIL PROTECTED]) wrote: > Hi, > > I'm writing a script that will clean up netatalk shared files from their > flaws from MacOS. > > I have come accross a little snag though. > > ls: > ? Maria Rivier 1:2f00.doc find . -name \*Maria\* -ex

Re: ascii \177 char in filename

2001-05-21 Thread Eric G. Miller
On Mon, May 21, 2001 at 05:23:37PM -0700, Mike Fedyk wrote: > Hi, > > I'm writing a script that will clean up netatalk shared files from their > flaws from MacOS. > > I have come accross a little snag though. > > ls: > ? Maria Rivier 1:2f00.doc > > ls | od -a > 000 del sp M a r i

Re: ascii file conversion Mac -> UNIX

2000-01-28 Thread aphro
On Fri, 28 Jan 2000, Hans Ekbrand wrote: haek >Hi all! haek > haek >Are there any program, or perl one-liner, that convert Mac ascii files haek >(with CR only as line terminator) to Unix ascii format? I have only found haek >the dos2unix proggie. http://macinsearch.com/infomac/text/mac-to-unix-

Re: ascii file conversion Mac -> UNIX

2000-01-28 Thread Colin Watson
[EMAIL PROTECTED] (Hans Ekbrand) wrote: >Are there any program, or perl one-liner, that convert Mac ascii files >(with CR only as line terminator) to Unix ascii format? I have only found >the dos2unix proggie. perl -pe 's/\r/\n/g' Or, for fun: perl -015l012pe1 :), -- Colin Watson

Re: ascii -> tiff

1999-08-02 Thread Johann Spies
Hallo Erasmo, > where can i get a converter, that takes ascii (text written in vi) and > gives tiff (for sending as fax)? I never use efix directly. Use fax - a front end script to efix and efax. If you want to send an ascii-file as a fax, why don't you just do fax make ascii.txt and you wil