Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Console with prompt(Console with prompt)
Console with prompt [message #824014] Mon, 19 March 2012 02:33
Nayna Jain is currently offline Nayna Jain
Messages: 23
Registered: July 2009
Junior Member
Hi,

I am developing a plugin for command line tool which runs in interactive mode like GDB.
We wanted to show the console for the same so that users can execute the commands on the prompt from Eclipse UI console itself.

I was using Eclipse Debug framework to run the process which itself opens the console.
The problem with this console is it doesn't show the prompt and also doesn't maintain the cursor on the line where the command should be written.

So, my first question is:

1. How to get this prompt ?
2. How to maintain the cursor position?

I tried passing PTY as false. But this solves the prompt issue but commands are not getting run in right order. Cursor runs anywhere. Output gets messed up. And it also gives the warning (Terminal is not fully functional).

Can someone please help me with on how to solve this issue.

Thanks & Regards,
- Nayna Jain















Previous Topic:[LTK Refactoring] How to control the order of Refactoring are executed
Next Topic:Replace tabs with spaces seems to be cached somehow
Goto Forum:
  


Current Time: Fri Jul 25 21:10:00 EDT 2014

Powered by FUDForum. Page generated in 0.02390 seconds