This actually bothered me for a while too. There is a patch on the
trac ticket, please test it out on Linux :-)

On Thu, May 8, 2008 at 5:16 PM, William Stein <[EMAIL PROTECTED]> wrote:
>
> On Thu, May 8, 2008 at 5:12 PM, William Stein <[EMAIL PROTECTED]> wrote:
>> On Wed, May 7, 2008 at 12:26 PM, John H Palmieri <[EMAIL PROTECTED]> wrote:
>>>
>>> A problem: on my linux box, if I use 'view' (not in a notebook), an
>>> xdvi window appears then immediately disappears.  If I run view with
>>> 'debug=True', toward the end I get this:
>>>
>>> Output written on sage.dvi (1 page, 740 bytes).
>>> Transcript written on sage.log.
>>> gs: Unrecoverable error: limitcheck in .putdeviceprops
>>> xdvik gs_io: Broken pipe
>>> xdvik gs_io: Broken pipe
>>> xdvik gs_io: Broken pipe
>>> ghostscript died unexpectedly.
>>> xdvi.bin: spcl_scan: shouldn't happen: POST encountered, offset 659
>>>
>>> Has anyone seen this before?  (This works on my mac, just not on my
>>> linux box.)
>>>
>>
>> I have never seen that before.
>>
>>> And a question: on my mac, suppose I want to use TeXShop instead of
>>> xdvi to display the output of the view command.  Is there a way to do
>>> this?
>>>
>>
>> The use of xdvi is hardcoded in
>>
>> sage/misc/latex.py
>>
>> so the answer is I guess to change this and submit a patch
>> or make it a trac ticket.   It's reasonable to consider this
>> a bug, since view should I think just use the OS X open
>> command as defined in sage/misc/viewer.py, i.e., use
>> whatever is the default opener for a dvi file on your system.
>>
>> It's hardcoded xdvi right now since that was some of the first
>> sage code I ever wrote and that was long before I ported
>> Sage to run on OS X...
>
> OK, I made this trac #3137:
>
>  http://trac.sagemath.org/sage_trac/ticket/3137
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to