Bug 36669 - [console] Make console a better shell replacement
Summary: [console] Make console a better shell replacement
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 7 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 29076 120282 (view as bug list)
Depends on: 64230
Blocks:
  Show dependency tree
 
Reported: 2003-04-18 19:39 EDT by Ed Burnette CLA
Modified: 2012-05-11 09:35 EDT (History)
15 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Burnette CLA 2003-04-18 19:39:13 EDT
I set up an external command to launch a shell (cmd.exe or bash or whatever) 
in the background the console becomes essentially a DOS or xterm window. It 
would make a pretty good one if it just had a few more features such as:

- Typing anywhere in the window would scroll to the end and insert the 
characters. Currently you have to scroll to the end yourself and click on the 
last line before typing has any effect.

- Ability to send signals to the shell, especially control-C (interrupt) and 
control-D or control-Z (end of file). On UNIX you'd want control-\ (kill) and 
maybe some others.

- Command recall, through up/down arrows or perhaps emacs-style keys (control-
P previous, control-N next). Keys should be customizable.

- If on the prompt, home should go to the beginning of the command not the 
beginning of the line. It won't let you backspace over the prompt so at some 
level it knows what the prompt is.

There are others I can think of but these are the biggies.
Comment 1 Darin Wright CLA 2003-04-21 10:45:18 EDT
Marking as later for future consideration.
Comment 2 Ed Burnette CLA 2003-06-18 22:11:47 EDT
Reopen for consideration in 3.0.
Comment 3 Darin Wright CLA 2003-07-11 09:51:29 EDT
marking as later (currently does not look like we have the cycles for this one)
Comment 4 Ed Burnette CLA 2004-02-15 18:04:25 EST
How about re-opening this with a help wanted keyword? Marking things 'resolved 
later' makes them harder to find in a search and crosses them out in other 
bugzilla entries that refer to them.
Comment 5 Darin Wright CLA 2004-02-16 09:52:45 EST
I'll add the keyword, but until someone signs up, I'd rather keep it 
as "later" for organizational purposes.
Comment 6 Michael Scharf CLA 2004-02-25 18:51:33 EST
Are there any major obvious techical problems?
How about SWT catching ctl and other special keys?
Comment 7 Darin Wright CLA 2004-02-25 21:03:59 EST
I believe the only constraint is time/resources. Catching key presses should 
not be an issue (however, there is an issue in sending a VM CTRL-C, since 
there is no standard protocol to do so).
Comment 8 Darin Wright CLA 2004-06-28 15:34:00 EDT
Re-open for 3.1 consideration.
Comment 9 Uwe Stieber CLA 2004-08-02 10:38:37 EDT
Please keep the implementation for this feature extensible and do not hide the 
implementation in internal packages (like unfortunately done with the 
MessageConsole implementation).
Comment 10 Kevin Barnes CLA 2004-08-03 11:30:26 EDT
The initial implementation of a new IOConsole is in CVS already checked in. Of course work is still in the early stages and a lot of improvement is still to come. You'll find the code in the  org.eclipse.ui.console plugin.

Effort will be made to keep the code flexible and extensible, though much of the work will be done by internal classes (especially with the initial implementation).
Comment 11 Kevin Barnes CLA 2004-08-27 00:35:57 EDT
*** Bug 29076 has been marked as a duplicate of this bug. ***
Comment 12 Phil Herold CLA 2004-10-22 16:48:47 EDT
If you run the code at http://java.sun.com/features/2002/09/pword_mask.html 
(which is useful for getting and masking a password from a shell), it sends the
Eclipse console into an infinite loop. 
Comment 13 Darin Wright CLA 2004-12-13 10:12:30 EST
From original bug report, first two points are fixed (typing auto positions 
cursor to the end, and control-D/Z EOF support). Remainging issues not planned 
for 3.1. Deffered.

- Command recall, through up/down arrows or perhaps emacs-style keys (control-
P previous, control-N next). Keys should be customizable.

- If on the prompt, home should go to the beginning of the command not the 
beginning of the line. It won't let you backspace over the prompt so at some 
level it knows what the prompt is.
Comment 14 Kevin Barnes CLA 2005-12-02 12:51:34 EST
.
Comment 15 Kevin Barnes CLA 2005-12-02 12:52:25 EST
.
Comment 16 Darin Wright CLA 2005-12-12 11:51:28 EST
*** Bug 120282 has been marked as a duplicate of this bug. ***
Comment 17 cw CLA 2006-01-13 11:28:35 EST
(In reply to comment #13)
> From original bug report, first two points are fixed (typing auto positions 
> cursor to the end, and control-D/Z EOF support). Remainging issues not planned 
> for 3.1. Deffered.
> 
> - Command recall, through up/down arrows or perhaps emacs-style keys (control-
> P previous, control-N next). Keys should be customizable.
> 
> - If on the prompt, home should go to the beginning of the command not the 
> beginning of the line. It won't let you backspace over the prompt so at some 
> level it knows what the prompt is.
> 


I hope this issue isn't forgotten, as of 3.2 M4 it is not complete.
Comment 18 Kevin Barnes CLA 2006-01-13 11:37:49 EST
cw - There is nothing planned for this item in the 3.2 time frame due to a lack of resources. We will however consider any patches contributed by the community.
Comment 19 Ed Burnette CLA 2006-05-12 11:09:33 EDT
See also https://sourceforge.net/projects/wickedshell/
Comment 20 Denis Roy CLA 2009-08-30 02:22:34 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.
Comment 21 Aivar Annamaa CLA 2012-05-11 05:15:08 EDT
Can this bug be reopened now? The need is still there.
Comment 22 Pawel Piech CLA 2012-05-11 09:35:59 EDT
Sure. I mentioned in one of the other related bugs that there is a fully featured terminal emulator in the Target Management project.  However, I don't think we could replace console with it since it's not applicable on Windows.