Re: Is there a way to bypass the Java Shell Display?

Jack Woehr via JAVA400-L <[email protected]> Wed, 25 Jan 2023 08:52:30 -0700
Newsgroups gmane.comp.lang.as400.java
Message-ID <CA+4w2KDu=1AAN_tpuF3RPdBUfuMWDo6bTCPBS-A_t-jJ_7=yMQ@mail.gmail.com>
Note especially:

*char Return_On_End* Return immediately from Qp0zRunTerminal()
<https://www.ibm.com/docs/en/ssw_ibm_i_73/apis/runtrml.htm> when the
interpreter process ends. By default, Qp0zRunTerminal()
<https://www.ibm.com/docs/en/ssw_ibm_i_73/apis/runtrml.htm> waits for the
user to press either the F3 or F12 command key before returning when the
interpreter process ends.
So I think w/r/t your standard Java terminal application, they've already
written the terminal invocation and it uses the default, i.e., to wait for
the F-key press. Maybe you can write a CL that invokes the terminal and
then runs your Java process and your terminal setup will be used by that
Java process and will behave as you wish.

On Wed, Jan 25, 2023 at 8:50 AM Jack Woehr <[email protected]>
wrote:

> Kevin Adler points me to Qp0zStartTerminal()--Start a Generic Terminal
> <https://www.ibm.com/docs/en/i/7.3?topic=ssw_ibm_i_73/apis/startrml.html>
>
> --

*JACK WOEHR, IBM Champion 2021-2023
<https://www.credly.com/users/jack-woehr/badges>*

*SENIOR IBM i ENGINEER*

  303.847.8442
  [email protected]
  stay connected
<https://www.linkedin.com/company/absolute-performance-inc./>

<https://www.absolute-performance.com/>
 www.absolute-performance.com

NON-DISCLOSURE NOTICE:  This communication including any and all
attachments is for the intended recipient(s) only and may contain

confidential and privileged information.  If you are not the intended
recipient of this communication, any disclosure, copying further

distribution or use of this communication is prohibited.  If you received
this communication in error, please contact the sender and

delete/destroy all copies of this communication immediately.
-- 
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.