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

 
 

bug #33234: PSPPIRE opens empty output screen on start

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

Add a New Comment Rich Markup
   

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

I pushed a fix.

Ben Pfaff <blp>
Group 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>
Group 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>
Group 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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    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.13-f8d8.
    Corresponding source code