batch and the output



On 02/13/2013 12:47 PM, Robert Dodier wrote:
> On 2013-02-12, Zbigniew Komarnicki <cblasius at gmail.com> wrote:
> 
>> Is there possible to change the behavior of "batch", 
>> that the following code in file "test.mac" after executing:
>> batch("pp.mac")$ 
>> will look more readable and not centered the input line?
> 
> Here's a short patch which causes 'batch' to display the input
> expression in 1-d format (i.e. sans pretty printing), which I guess
> is what you want.
> 
> There is no flag to change the way 'batch' displays stuff like that, and
> I'm opposed to creating such a flag. However, I am leaning towards
> always printing the input in 1-d format -- it makes it easier to
> distinguish the input and output. Opinions from anyone else?
> 

For what it's worth, I think it's an improvement using the 1-d format on the
input.

I just used batch() on a couple of files that I had sitting around that I
would normally have load()'ed.  Just based on that, I think using the 1-d
format made it less cluttered and (as you said) easier to tell input from output.

> best
> 
> Robert Dodier
> 

Cheers,
Kris Katterjohn