On 11/17/05, Mike Donnelly <[EMAIL PROTECTED]> wrote: > I'm trying to use Putty (SSH) and scripting from Windoze box to access > FileMan running on GT.M/Linux box. Using command line like "Putty.exe > -ssh [EMAIL PROTECTED] -m Test.pty" with "/usr/local/OpenVistA/vista --run > /home/dsl/myVista Q^DI" in my Test.pty file, I'm able to start FileMan > but I am getting some odd behaviour.
PuTTY's -m option lets you specify a command (in a file) INSTEAD of a shell. I'm not sure the VISTA command can be substituted for a shell, which explains the "odd behavior". If you want an interactive session, you need to run a shell and then enter your commands directly. There's probably some way you can hack it to open a shell, run your command, and then take further input from you, but such hacks break easily. You could, of course, set it up on the GT.M/Linux box, either by putting the command at the end of your .bashrc (assuming your shell is bash) or simply as an alias so you can execute the command with a couple of keystrokes. Ted ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ Hardhats-members mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hardhats-members
