Using mindterm in command line
jagannath
jagannath at adventnet.com
Thu Apr 28 17:00:57 MEST 2005
Guys,
I played around a bit with the minterm examples to see if there was an
option to connect to the device without the terminal window. I saw the
RemoteShellScript example which reads the commands from a file and
displays the output in the standard output. I modified the code so that
I could get the commands from the standard input and display the result.
But my real need is to actually log in to the device as is done when
using the terminal window. Is this possible?
Thanks,
Jagannath
jagannath wrote:
> Hi Martin,
>
> Thanks a lot for your response. I had already tried this but my
> problem is I want to use mindterm without the terminal window. The
> only option that is available is --d but this just seems to do the
> port forwarding. What I want is to ssh to the device and get it's
> *command prompt* so that I can execute further queries on the device.
> Is this doable without the terminal window.
>
> Please advise.
>
> Regards,
> Jagannath
>
> Martin Forssen wrote:
>
>>On 21 Apr, jagannath wrote:
>>
>>
>>>I need to develop a command line client that should automatically
>>>ssh/telnet to a remote host given the host name, username and password.
>>>I am planning to use mindterm. I want to know if there is a way that I
>>>could use mindterm in command line.
>>>
>>>
>>
>>You can use mindterm from the command line:
>>
>>
>>>java -jar mindterm.jar --h
>>>
>>>
>>usage: MindTerm [options] [properties] [commandline]
>>Options:
>> --d No terminal-window, only dumb command-line and port-forwarding.
>> --e Exit MindTerm after logout (i.e. single session).
>> --f <file> Use settings from the given file as default.
>> --h dir Name of the MindTerm home-dir (default: ~/mindterm/).
>> --m <no | pop | popN>
>> Use no menus or popup (on mouse-button N) menu.
>> --p <save | load | both | none>
>> Sets automatic save/load flags for property-files.
>> --q <true | false>
>> Quiet; don't query for server/username if given.
>> --v Verbose; display verbose messages.
>> --x Save passwords in encrypted property-files.
>> --D Debug; display extra debug info.
>> --V Version; display version number only.
>> --? Help; display this help.
>>Error: 1
>>
>>To automate the login create a settings file which sets the server,
>>username and password properties to the relevant values. Then use the
>>'-q true' flag to MindTerm.
>>
>> /MaF
>>
>>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Mindterm-users mailing list
>Mindterm-users at mindterm.appgate.com
>http://mindterm.appgate.com/mailman/listinfo/mindterm-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mindterm.appgate.com/pipermail/mindterm-users/attachments/20050428/cd72a491/attachment.htm
More information about the Mindterm-users
mailing list