[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote Sun, Jun 11, 2006:
> Hallo!

Hej,

> I now got stuck on trying to print in colour. Is there a way to get a  somehow
> formatted  coloured  dump?  (html, esc-sequenced, ...) I might be nice to have
> the option "Save formatted and coloured  document"  With  colour  I  mean  the
> colours  elinks  uses  for  displaying  depending on one of the three modes. I
> tried to use /dev/vcs3 but the escape-sequences are not in there. Using elinks
> http://www.czech-language.cz/alphabet/kodovani.html > cz.txt is behaving as if
> -dump 1 had been specified.

ELinks uses isatty to detect both whether to read from stdin and whether
to dump to stdout or use interactive mode. Recent ELinkses support
dumping colors. Use something like:

        $ elinks --dump-color-mode 1 URL > file

where the --dump-color-mode option is aliased to the elinks.conf(5)
option document.dump.color_mode, 0 is mono, 1 is 16 colors, and 2 is 256
colors (if ELinks was configured with --enable-256-colors).

-- 
Jonas Fonseca
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to