Ask a Question related to SCO, Design and Development.
-
EC #1
SSH and TTY
Hi all,
I have an X11 application running on Linux 8. I am trying to run
that application from my SCO machine using ssh. My command looks like
this:
/usr/local/ssh2/bin/ssh2 username@hostname /usr/local/bin/app
This line works fine if I run it from a command prompt. However, I
am trying to set up a function key to invoke the application. This is
what I have on my .mwmrc
Keys DefaultKeyBindings
{
:
:
<Key>F9 root|icon|window f.exec "/usr/local/bin/app"
:
}
When I press F9, nothing happens. Does it need a shell to run the
X11 application? I tried allocate tty by using the -t switch but still
doesn't work. Any idea?
Thanks
EC
EC Guest
-
EC #2
Re: SSH and TTY
[email]ellac@ilx.com[/email] (EC) wrote in message news:<791fe00f.0308131128.517deb13@posting.google. com>...
> Hi all,
>
> I have an X11 application running on Linux 8. I am trying to run
> that application from my SCO machine using ssh. My command looks like
> this:
> /usr/local/ssh2/bin/ssh2 username@hostname /usr/local/bin/app
>
> This line works fine if I run it from a command prompt. However, I
> am trying to set up a function key to invoke the application. This is
> what I have on my .mwmrc
>
> Keys DefaultKeyBindings
> {
> :
> :
>
> <Key>F9 root|icon|window f.exec "/usr/local/bin/app"
>
> :
> }
>
> When I press F9, nothing happens. Does it need a shell to run the
> X11 application? I tried allocate tty by using the -t switch but still
> doesn't work. Any idea?
>
> Thanks
>
> EC
Sorry, my mistake.... the line should be
<Key>F9 root|icon|window f.exec "/usr/local/ssh2/bin/ssh2 \
username@hostname /usr/local/bin/app"
Thanks.
EC Guest



Reply With Quote

