There's a thread on ISPF-L where the OP wants to launch a
browser for a URL in an ISPF panel.  Evidently he's looking
for a terminal-emulator-specific solution and got several
suggestions.

But how about running the browser on z/OS?  Lynx is
Curses-constrained.  Are there any others, perhaps based
on X11 and fairly portable?  Or?:

    http://sourceforge.net/projects/xamj/

(I'm not going to experiment with it.  How does z/OS Java
display graphics, anyway?)

But more generally, many OSes have terminal commands that
take an object name as an argument and launch the "associated"
application.  For example, a browser for a URL; a file manager for
a directory; or an editor for a text file.  Examples:

OS X    "open"
Solaris "gnome-open"
Linux   "xdg-open"
Cygwin  "cygstart"
Windows ?

A dismaying lack of portability.  One might imagina a chain of
#ifdefs such as:

...
#if defined(__linux__)
#define GUI_open( object ) system( "xdg-open " object )
#endif
...

Ugh!  There ought to be a standard.

-- gil



OS X     "open"
LInux

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to