| Summary: | [console] EOF Ctrl+Z keybinding doesn't work with two consoles up | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Remy Suen <remy.suen> |
| Component: | Debug | Assignee: | Paul Pazderski <paul-eclipse> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | paul-eclipse, pawel.1.piech, pwebster, sarika.sinha |
| Version: | 3.7 | ||
| Target Milestone: | 4.15 M3 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| See Also: |
https://git.eclipse.org/r/157754 https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=74e688a23653d390662d791d63d879af077a4217 |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 553348 | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag. New Gerrit change created: https://git.eclipse.org/r/157754 Gerrit change https://git.eclipse.org/r/157754 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=74e688a23653d390662d791d63d879af077a4217 (In reply to Remy Suen from comment #0) > 1. Create a Java application that reads from stdin. > > public static void main(String[] args) throws Exception { > new BufferedReader(new InputStreamReader(System.in)).readLine(); > } > > 2. Run it. > 3. Type some stuff. Hit Ctrl+Z, the application terminates as expected. > 4. Run it. > 5. Type some stuff in the console. > 6. Run it again. > 7. Repeat step 3. > 8. Now remove this second launch. You will now see the first launch. > 9. Try step 3 again, the application will not terminate. @Paul, Can you help me reproduce and verify this? 3. Type some stuff. Hit Ctrl+Z, the application terminates as expected. We have to type in console or editor ? I don't see application terminating by pressing Ctrl+z. Type in Console view. And I checked the bindings and apparently and Ctrl+Z is Windows specific and the key for other platforms should be Ctrl+D. Verified using Build id: I20200216-1800 Thanks Paul!!! |
1. Create a Java application that reads from stdin. public static void main(String[] args) throws Exception { new BufferedReader(new InputStreamReader(System.in)).readLine(); } 2. Run it. 3. Type some stuff. Hit Ctrl+Z, the application terminates as expected. 4. Run it. 5. Type some stuff in the console. 6. Run it again. 7. Repeat step 3. 8. Now remove this second launch. You will now see the first launch. 9. Try step 3 again, the application will not terminate.