Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 432196

Summary: Running vim kills my terminal connection
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: DockerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse
Version: 5.0   
Target Milestone: 6.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-04-07 16:43:27 EDT
I'm testing against the Orion internal Docker server.

1. Launch a Docker terminal session
2. Run vim

This causes an error in the browser JS console, and the terminal stops responding.

> WebSocket connection to 'ws://vottachubuntu.ottawa.ibm.com:4243/containers/mamacdon2/attach/ws?stream=1&stdin=1&stdout=1&stderr=1' failed: Could not decode a text frame as UTF-8. 

Reloading the page shows vim, as expected.
Comment 1 Mark Macdonald CLA 2014-04-07 16:54:10 EDT
I think this is due to the locale not being set within the container.

http://jaredmarkell.com/docker-and-locales/
Comment 2 Anthony Hunter CLA 2014-04-08 17:46:56 EDT
After updating the Orion base image with the locale settings, vi works as before.

Fixed with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=c6cd0e27b7f5f0f95af12cd5cacf15197b39e886