bugPSPP - Bugs: bug #33234, PSPPIRE opens empty output screen...

 
 

bug #33234: PSPPIRE opens empty output screen on start

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Wed 04 May 2011 09:21:50 PM UTC  
 
Category:  Graphical User Interface Severity:  5 - Average
Status:  Fixed Assigned to:  John Darrington <jmd>
Open/Closed:  Closed Release:  None
Effort:  0.00

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 May 2011 04:44:45 AM UTC, comment #3: 

I pushed a fix.

Ben Pfaff <blp>
Project Administrator
Sun 08 May 2011 01:57:50 PM UTC, comment #2: 

John responded in email:

As I recall, it was necessary to ensure that any syntax from, say, /etc/pspp/rc
got executed.   Maybe it is no longer required.  If all the startup options
continue to work properly, please feel free to remove it.

Ben Pfaff <blp>
Project Administrator
Sat 07 May 2011 09:52:29 PM UTC, comment #1: 

[John, question for you below]

The reason that PSPPIRE opens an empty output window on startup is that psppire.c's "initialize" function does, as its last step, the following:

execute_const_syntax_string (data_window, "");

and running any syntax (even empty syntax) causes that syntax to be written to the output window as a side effect.

John, you introduced that call (in slightly different form) without further explanation  in commit fe76b9c2c "Rewrote the command line parser using argp."  Removing it seems to have no ill effects.  Do you know of a reason to keep it?

Thanks,

Ben.

Ben Pfaff <blp>
Project Administrator
Wed 04 May 2011 09:21:50 PM UTC, original submission:  

When PSPPIRE starts it opens an empty output screen. This looks odd.

Harry Thijssen <unknown_one>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by unknown_one (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-05-10 blp StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2011-05-07 blp StatusNone => Need Info
        Assigned toNone => jmd

    Back to the top


    Powered by Savane 3.5