# How can I use -max-print-line in pdftex (TexLive)?

I know that Miktex has an option -max-print-line=n to change the width of the output. I wondered if something like that existed for pdftex from TexLive ?

I'm on Gentoo.

It is very annoying to have a tool using only half the width of the screen...

Thanks

-
For instance, on Unix system with a Bash shell one can do `max_print_line=120 pdflatex filename` –  egreg Nov 21 '12 at 0:33

If your shell is Bourne based (Bash, Zsh) the syntax

``````max_print_line=120 pdflatex filename
``````

will do in essentially the same way. The internal variables defined by the `kpathsea` library are superseded if set in the environment.

Alternatively you can add the line

``````max_print_line = 120
``````

to the top level `texmf.cnf` file, that is, the one in

``````/usr/local/texlive/2012
``````

(adjust the number of columns to suit).

-
If I had known it was that simple... Thanks a lot. –  Baptiste Wicht Nov 21 '12 at 0:53
Does this mean `max_print_line=\$COLUMNS pdflatex foo` should automatically do the right thing all the time? –  Rhys Ulerich Feb 15 '13 at 14:55