Jeanne Petrangelo
2010-10-06 21:32:09 UTC
I need to automate a brief interaction with a minicom console, from a
different linux machine ssh'ing in, completely from the command line. The
minicom console is left open and can be accessed via VNC, if you don't mind
using human interaction.
Can I set the DISPLAY variable from the shell in the ssh session and then
use xdotool to select the window and send keystrokes to it? That would let
me use minicom without taking over the ssh session.
Is it possible to grab output from within that window, such as to verify the
command succeeded?
I tried to install xdotool (as root, with sudo -s) on the host machine (red
hat 4) and it says it can't find ldconfig. It seems there was no ldconfig in
the path, so I added a path such that "which ldconfig" can find it, but it
"make install" still says the ldconfig command is not found. What now?
Thanks,
Jeanne
different linux machine ssh'ing in, completely from the command line. The
minicom console is left open and can be accessed via VNC, if you don't mind
using human interaction.
Can I set the DISPLAY variable from the shell in the ssh session and then
use xdotool to select the window and send keystrokes to it? That would let
me use minicom without taking over the ssh session.
Is it possible to grab output from within that window, such as to verify the
command succeeded?
I tried to install xdotool (as root, with sudo -s) on the host machine (red
hat 4) and it says it can't find ldconfig. It seems there was no ldconfig in
the path, so I added a path such that "which ldconfig" can find it, but it
"make install" still says the ldconfig command is not found. What now?
Thanks,
Jeanne
--
You received this message because you are subscribed to the Google Groups "xdotool-users" group.
To post to this group, send email to xdotool-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to xdotool-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/xdotool-users?hl=en.
You received this message because you are subscribed to the Google Groups "xdotool-users" group.
To post to this group, send email to xdotool-users-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to xdotool-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/xdotool-users?hl=en.