widgets with command line I/O [message #2067] |
Fri, 20 May 1994 12:37  |
knight
Messages: 37 Registered: January 1992
|
Member |
|
|
The widget version of IDL help (type ? when current device is the terminal)
allows simultaneous command line input and output. Has anybody successfully
done this with other widgets?
I tried a long time ago and failed to get pleasing results. I could execute
some commands typed in an editable text window, but could redirect the text
output and error output properly. Also command recall had to be implemented
separately, i.e, I had to go it myself.
Now I have an application were I'd like to have a set of pop-up menus but still
type commands at the command line. Does anybody have any ideas?
Fred
--
=Fred Knight (knight@ll.mit.edu) (617) 981-2027
C-483\\MIT Lincoln Laboratory\\244 Wood Street\\Lexington, MA 02173
|
|
|
Re: widgets with command line I/O [message #2142 is a reply to message #2067] |
Fri, 20 May 1994 13:32  |
8015
Messages: 52 Registered: November 1993
|
Member |
|
|
In article <1994May20.193744.21945@ll.mit.edu>,
Fred Knight <knight@ll.mit.edu> wrote:
>
> The widget version of IDL help (type ? when current device is the terminal)
> allows simultaneous command line input and output. Has anybody successfully
> done this with other widgets?
>
...
> Now I have an application were I'd like to have a set of pop-up menus but still
> type commands at the command line. Does anybody have any ideas?
>
I saw an application built by another company which is a little twist
of what you are referring to. Rather than having the program allow the
use of the command line, they allowed the use of the command line from
within the program. There was a section in the program that looked like
a text entry widget where they could enter any IDL command and have it
run as if it was done from the command line. I don't know how this was
done, but I suspect it was through the liberal use of the execute
function. Would that suffice, or do you actually need to have the
original command line for some reason?
Mike Schienle Hughes Santa Barbara Research Center
mgs@sbjse0.sbrc.hac.com 75 Coromar Drive, M/S B28/87
Voice: (805)562-7466 Fax: (805)562-7881 Goleta, CA 93117
|
|
|