Re: OT making ascii tables

2013-05-22 Thread Suvayu Ali
On Wed, May 22, 2013 at 11:22:53AM +0300, Alexander Gattin wrote: > > There's also org mode for emacs and for vim. > > It serves many other purposes besides drawing > excellent ASCII tables, and I'd like to have > table-mode only subset of it. You can use orgtbl-mode. orgtbl-mode is an intera

Re: OT making ascii tables

2013-05-22 Thread Alexander Gattin
Hello, On Tue, May 21, 2013 at 12:32:44PM -0500, David Champion wrote: > > Another tool I use occasionally for creating > > ASCII based art/figures is jave: > > http://www.jave.de/ > > Neat, thanks. I don't know how many ANSI > editors I downloaded for the Amiga way back > when, but I've wished

Re: OT making ascii tables

2013-05-21 Thread David Champion
* On 21 May 2013, Will Fiveash wrote: > > Another tool I use occasionally for creating ASCII based art/figures is > jave: http://www.jave.de/ Neat, thanks. I don't know how many ANSI editors I downloaded for the Amiga way back when, but I've wished for something similar for unix a hundred times

Re: OT making ascii tables

2013-05-21 Thread Will Fiveash
On Mon, May 13, 2013 at 03:17:17PM -0500, David Champion wrote: > You should use the mutt-table script. :) > > http://permalink.gmane.org/gmane.mail.mutt.user/39837 [snip] Another tool I use occasionally for creating ASCII based art/figures is jave: http://www.jave.de/ -- Will Fiveash

Re: OT making ascii tables

2013-05-13 Thread David Champion
You should use the mutt-table script. :) http://permalink.gmane.org/gmane.mail.mutt.user/39837 Input: a|b|c|d e|f|g|h i|j|k|l Output: +--+---+---+---+ |a | b | c | d | |e | f | g | h | |i | j | k | l | +--+---+---+---+ Saves having to write all the troff macros manually. -- David Champion • d

Re: OT making ascii tables

2013-05-13 Thread Jan-Herbert Damm
Hello Bernard, I read your post only recently, a bit late. Bernard Massot wrote on 07.05.13: > On Mon, May 06, 2013 at 02:53:35PM +0200, Jan-Herbert Damm wrote: > > from this list (I can't find it anymore) I got a brilliant recipe to > > make plaintext-tables like so: > > > > = > > .TS > > b

Re: OT making ascii tables

2013-05-07 Thread Bernard Massot
On Mon, May 06, 2013 at 02:53:35PM +0200, Jan-Herbert Damm wrote: > from this list (I can't find it anymore) I got a brilliant recipe to > make plaintext-tables like so: > > = > .TS > box tab(|); > cb|cb|cb|cb. If you use "c" instead of "cb", you don't get the annoying escape characters. -- B

Re: OT making ascii tables

2013-05-07 Thread Jan-Herbert Damm
Hello Christian, Rado, Christian Brabandt wrote on 06.05.13: > > > What you are seeing are ANSI Term sequences, which are usually used to > > > color text in the terminal. It might help to explicitly set the TERM > > > variable to dumb or vt100 or possibly set the -c parameter. You might > > >

Re: OT making ascii tables

2013-05-06 Thread Christian Brabandt
Hi Rado! On Mo, 06 Mai 2013, Rado Q wrote: > =- Christian Brabandt wrote on Mon 6.May'13 at 22:49:24 +0200 -= > > > > vim or less: > > > > > > OBST/GEMUESE > > > ┌─┬───┬──┬┐ > > > │^[[1mBestnr. ^[[22m│ ^[[1mProdukt ^[[22m│ ^[[1mHersteller ^[[22m│ > > >

Re: OT making ascii tables

2013-05-06 Thread Rado Q
=- Christian Brabandt wrote on Mon 6.May'13 at 22:49:24 +0200 -= > > vim or less: > > > > OBST/GEMUESE > > ┌─┬───┬──┬┐ > > │^[[1mBestnr. ^[[22m│ ^[[1mProdukt ^[[22m│ ^[[1mHersteller ^[[22m│ > > ^[[1mMenge ^[[22m│ > > What you are seeing are ANSI Term seq

Re: OT making ascii tables

2013-05-06 Thread Christian Brabandt
Hi Jan-Herbert! On Mo, 06 Mai 2013, Jan-Herbert Damm wrote: > Thank you Erik, > > Erik Christiansen wrote on 06.05.13: > > > When you try ":set fenc ?" in vim, does it show: > > > > fileencoding=utf-8 > Yes, it does and the interaction of vim and mutt is fine > > here is an example: > > cat

Re: OT making ascii tables

2013-05-06 Thread Jan-Herbert Damm
Thank you Erik, Erik Christiansen wrote on 06.05.13: > When you try ":set fenc ?" in vim, does it show: > > fileencoding=utf-8 Yes, it does and the interaction of vim and mutt is fine here is an example: cat renders: OBST/GEMUESE ┌─┬───┬──┬┐ │Bestnr. │ P

Re: OT making ascii tables

2013-05-06 Thread Erik Christiansen
On 06.05.13 14:53, Jan-Herbert Damm wrote: > lately tried: > > tbl | groff -k -Tutf8 | uniq > output.file > > which works fine and I get german umlauts. But while "cat" will show > me the output correctly "vim" or even "less" will not. When you try ":set fenc ?" in vim, does it show: fileencod

OT making ascii tables

2013-05-06 Thread Jan-Herbert Damm
Hello All, from this list (I can't find it anymore) I got a brilliant recipe to make plaintext-tables like so: = .TS box tab(|); cb|cb|cb|cb. Year | Hurricane | Deaths | Location .T& l|c|c|c. 1780|Great Hurricane of 1780|27,500+|Antilles 1998|Hurricane Mitch|18,974 - 21,000|Honduras 1900|Galv