From ffc58d416037db25944ea8bed4a5502ec2643f2f Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Tue, 13 Aug 2013 10:29:20 +0100 Subject: [PATCH] Include instructions for backspace key under cygwin (mintty) Added note about setting in mintty to force sending of ^H which is necessary for the scala console backspace to work when jline.UnixTerminal is set and stty erase is ^H. Additional documentation for #562. --- src/sphinx/Getting-Started/Setup.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sphinx/Getting-Started/Setup.rst b/src/sphinx/Getting-Started/Setup.rst index 17d836b97..1d5306cd8 100644 --- a/src/sphinx/Getting-Started/Setup.rst +++ b/src/sphinx/Getting-Started/Setup.rst @@ -154,6 +154,9 @@ Then, make the script executable: $ chmod u+x ~/bin/sbt +In order for backspace to work correctly in the scala console, you need to make sure your backspace key is sending the erase character as configured by stty. +For the default cygwin terminal (mintty) you can find a setting under Options -> Keys "Backspace sends ^H" which will need to be checked if your erase key is the cygwin default of ^H. + .. note:: Other configurations are currently unsupported.