Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Andrew C. on August 26, 2010, 07:09:00 am



Title: START REPORT to PIPE - mode?
Post by: Andrew C. on August 26, 2010, 07:09:00 am

What is the MODE in the PIPE option of

Code
  1. START REPORT report-name
  2.  [  
  3.   TO  
  4.   {
  5.       SCREEN
  6.     | PRINTER
  7.     | FILE filename
  8.     | PIPE program [ IN FORM MODE | IN LINE MODE ]
  9.     ......
  10.  
  11.  

I can't find any mention in the manuals


Title: Re: START REPORT to PIPE - mode?
Post by: Sebastien F. on August 26, 2010, 09:24:07 am
Andrew,

The manual page of REPORT is incomplete, we will fix this.

The IN LINE/FORM MODE clause defines the way the TTY terminal is setup when using the text mode. If you are using the GUI, this clause does not need to be specified. Matters for example when you output the report to a text-based program line "more" one UNIX...

After IN LINE MODE is specified, the terminal is in the same state (in terms of stty options) as when the program began. The IN FORM MODE keywords specify raw mode, in which each character of input becomes available to the program as it is typed or read.

Seb


Title: Re: START REPORT to PIPE - mode?
Post by: Andrew C. on August 27, 2010, 01:25:04 am
ahhh nice. I could use the LINE MODE.

Thanks