Okay, I got it working. Now, there's one last thing... How do you make the size of the shell an unlimited width, or in some way prevent text wrapping?

Not sure what you're asking there. The shell does no processing, it just hands back the result or output of your exec'd command. What are you seeing vs. what are you expecting? Also, how are you displaying the returned response?

I set up the most simple example possible with a text box for input, a text box for output, and an interactive shell on the window. In the KeyDown event of the input text box, if it's a return, then it writes it to the shell (it also executes bash if the shell is not running). The DataAvailable event in the shell appends the new text to the text already in the output box.

Here's the output when using the Terminal:

Grasshopper:~ andrew$ export XGRID_CONTROLLER_HOSTNAME=localhost
Grasshopper:~ andrew$ cd /Users/andrew/Programming/Projects/Xgrid/ xgtest/working/ Grasshopper:~/Programming/Projects/Xgrid/xgtest/working andrew$ xgrid -job run -in ./ ../working/xgtestagent
The agent app was ran on Grasshopper
The current working directory is: /private/var/xgrid/agent/tasks/ fryCxcIQ/working
Program complete.
Grasshopper:~/Programming/Projects/Xgrid/xgtest/working andrew$

And, here's the output when using the shell in RB:

Grasshopper:/ andrew$ export XGRID_CONTROLLER_HOSTNAME=localhost
Grasshopper:/ andrew$ cd /Users/andrew/Programming/Projects/Xgrid/ xgtest/work <sers/andrew/Programming/Projects/Xgrid/xgtest/ worki ng/ Grasshopper:~/Programming/Projects/Xgrid/xgtest/working andrew$ xgrid -job ru <rojects/Xgrid/xgtest/working andrew$ xgrid -job run  -in ./ ../ working/xgtest <ng andrew$ xgrid -job run -in ./ ../working/ xgtesta gent
The agent app was ran on Grasshopper

The current working directory is: /private/var/xgrid/agent/tasks/ A25cjZhM/working
Program complete.
Grasshopper:~/Programming/Projects/Xgrid/xgtest/working andrew$

Also, there are also 25 non-printing characters that are in between what you see here as columns 78 and 79, on lines 3, 5, and 6 that didn't copy and paste into this email.

So...  How do I get it to display the same way as the Terminal?

Thanks,
Andrew Keller
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to