Ticket #78 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

GkiKernel's getStdin/out/err logic needs to be user configurable

Reported by: sontag Assigned to: sontag
Priority: normal Milestone: PyRAF 1.6
Component: none Version:
Severity: normal Keywords:
Cc:

Description

See ticket #74 for more information, but when it was implemented it broke some command-line redirection within PyRAF:


On Feb 1, 2008, at 8:58 AM, Howard wrote:

... For the past couple decades I have used igi with command files that I pipe into it by redirecting stdin, e.g. cl>igi<myplot.cmds which opens a graph window and displays the results of the plotting commands stored in the input text file "myplot.cmds". Until recently this has always worked in PyRAF as well. But it seems to have stopped working sometime within the last few weeks or couple months or so. When I execute this command, the graph window pops up, but no plot output appears. It leaves me in the interactive igi command mode, which if I then type a few igi commands, those results appear just fine. Also, if I execute the same command, but redirect the output to a postscript file, the postscript file is fine, e.g. cl>igi<myplot.cmds device=psi_land So it's only the case of asking it to plot to the terminal graph window where the plot commands seem to be getting swallowed or lost or something (maybe a broken pipe somewhere?). This all works fine under the cl - the problem only occurs in PyRAF and occurs for both the current versions of irafx and irafdev.


And yet, the logic added for #74 was needed for an external user. One approach might be to make the default behavior act as it did before #74, but employ a configurable option to enable the 'special behavior'.

Change History

02/08/08 10:25:27 changed by sontag

  • status changed from new to closed.
  • resolution set to fixed.

Fixed by rev816.

02/14/08 08:19:08 changed by sontag

That is, r816.