Project

General

Profile

Feature #2373

implemented output to redirected, paged terminal via (un)named streams in GUI mode

Added by Constantin Asofiei over 9 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD

Related issues

Related to User Interface - Feature #2252: implement GUI client support Closed 03/24/2014
Related to User Interface - Feature #1801: add some frame options Closed 02/22/2013 08/16/2013
Related to User Interface - Feature #2368: allow widget output to stream in GUI mode WIP
Related to User Interface - Feature #6438: frame attributes, methods and options Closed

History

#1 Updated by Constantin Asofiei over 9 years ago

  • Subject changed from implemented output to redirected, paged terminal via (un)named streams to implemented output to redirected, paged terminal via (un)named streams in GUI mode

Starting from the case in #2252-141, implement output to stream when the stream is paged/page-size is set and it targets the terminal:

DEF VAR i AS INT.

DISPLAY i WITH FRAME f1.
PAUSE.

DEF STREAM rpt.
OUTPUT STREAM rpt TO TERMINAL PAGED.
DO i = 1 TO 2:
   DISPLAY STREAM rpt i.
   DOWN STREAM rpt 1.
END.
DISPLAY i WITH FRAME f1. /* this shows warning that terminal output can't be mixed with paged/non-paged*/
OUTPUT STREAM rpt CLOSE.

MESSAGE string(FRAME f1:VISIBLE).

See how the terminal switches to a white background instead of gray. More, the underlying frame is hidden and it looks like it doesn't allow direct access to the terminal.

#2 Updated by Greg Shah over 8 years ago

In #1801, we implemented conversion support for STREAM-IO. The runtime support needs to be implemented in this task.

#3 Updated by Greg Shah about 8 years ago

  • Target version deleted (Milestone 12)

#4 Updated by Greg Shah over 4 years ago

In the 4GL, the STREAM-IO option can be specified at COMPILE for a program. This means that the frames default to STREAM-IO mode. We have a customer application that uses this for some of their files. We could add a hint to mark files as "compiled with STREAM-IO on".

#5 Updated by Greg Shah 8 months ago

  • Related to Feature #6438: frame attributes, methods and options added

Also available in: Atom PDF