Re: dvips default behaviour

Reiner Steib <[email protected]> Tue, 10 Jan 2006 18:05:26 +0100
Newsgroups gmane.comp.tex.tetex.general
Organization Dept. of Theoretical Physics, University of Ulm
Message-ID <[email protected]>
On Sun, Jan 08 2006, Christopher Sawtell wrote:

> On Sunday 08 January 2006 01:15, Sridhar M.A. wrote:
>> On 1/7/06, William John Murray <[email protected]> wrote:
>> > What do Suse, Ubuntu etc. do?
>>
>> No idea aboute Suse as I do not use it. 

SuSE 9.2 and SuSE 10.0 write to file by default:

,----[ config.ps ]
| % How to print, maybe with lp instead lpr, etc. If commented-out, output
| % will go into a file by default.
| o
`----

> Gentoo uses 
> chris@imogen ~ $ dvips ./card/card.dvi
> This is dvips(k) 5.95a Copyright 2005 Radical Eye Software 
> (www.radicaleye.com)
> ' TeX output 2006.01.05:1658' -> |lpr
>
> However it is so utterly simplistic to change that behaviour by a shell 
> alias, that I really don't feel the urge to comment one way or the other.
> For example:
>
> alias dvips="dvips -o -"
>
> that will direct all output to stdout.

And will print to lpr if not used from the shell (e.g. with `:! dvips'
from vi(m) or with `M-!' in Emacs).  This kind of alias is as bad as
alias rm="rm -i".

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/