Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 29076 - Cannot input just one character to external program
Summary: Cannot input just one character to external program
Status: RESOLVED DUPLICATE of bug 36669
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-07 06:45 EST by Jerome Lanneluc CLA
Modified: 2004-08-27 00:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2003-01-07 06:45:32 EST
Build 200212181304

1. Create simple project 'Test'
2. Create simple file 'Test/test.bat' with the following content:
@pause
@echo After first pause
@pause
@echo After second pause
3. Create launch config for test.bat and run
4. In the console, press the space bar
Observe: Nothing happens

If you press Enter, then it looks like 2 characters are sent to the program 
(maybe CR and LF?) and the program doesn't stop on the second pause.
Comment 1 Darin Wright CLA 2003-01-29 13:49:22 EST
The console does not send input to the underlying program until enter is 
pressed. This allows for backspacing in the console. However, this is obviously 
different from what happens at the command line.

The console is owned by debug.
Comment 2 Darin Wright CLA 2003-01-30 09:13:15 EST
Deferred
Comment 3 Kevin Barnes CLA 2004-08-27 00:34:46 EDT
It is different behavior when running .bat files, but our console is consistent with the command line 
when running a java vm. Not sure there's much we can do about this. Our console does not make a very 
good shell replacement right now. 
Comment 4 Kevin Barnes CLA 2004-08-27 00:35:55 EDT
marking as duplicate of newer bug which addresses the bigger issue of making the console more shell-
like.

*** This bug has been marked as a duplicate of 36669 ***