Martin Rowe <[EMAIL PROTECTED]> writes:
> I recently replied to a comp.sys.ibm.as400.misc posting about
> clicking on a url on a 5250 screen and having it launch the
> browser. Client Access handles this, and it makes a handy way to
> link graphics & scanned documents to straight text on the screen. Is
> this sort of thing possible to implement into tn5250 (or
> gnome-5250)?
As far as tn5250 goes, you could run it in gnome-terminal and get
links highlighted without doing anything to tn5250 itself.
gnome-5250 would have to do something similar to gnome-terminal.
> On a slightly related note - is it possible to trigger a command to
> run on a linux box from a tn5250 screen? I've used RUNRMTCMD in the
> past, but that requires Client Access.
It's be nice to work out the protocol Client Access uses and implement
STRPCCMD that way. I've always though it could be a small security
risk in some cases, so you'd have to be able to disable it.
RUNRMTCMD uses rexec if you specify *IP in the remote location name,
which is supported under Linux and every other Unix. You just need to
enable it in /etc/inetd.conf, and supply a username and password for
the Linux box.
> I was wondering about monitoring a folder for a particular file
> (FTP'd across or via NFS) and running a command on arrival. Is there
> a better, more secure way of doing this? The AS/400 FTP server has
> the SYSCMD command to issue a CL command, but I'm not aware of a
> Linux equivalent.
I'm pretty sure there's some Linux FTP servers that support running
commands, though I can't recall which ones do. rexec is probably still
better for this, though.
You could look at other protocols like form uploads via CGI, email via
SNDDST to an address that processes the file in the .forward, etc.
Hope this gives you some more ideas, anyway.
--
Carey Evans http://home.clear.net.nz/pages/c.evans/
A priest advised Voltaire on his death bed to renounce the devil.
Replied Voltaire, "This is no time to make new enemies."
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---