You will need to supply more information.
. sqlcl version
or from within sqlcl
. How do you start the bash shell?
. copy/paste how you start bash. (xterm emulator? cmd.exe? Conemu64?...)
. copy/paste how you start sqlcl
Basically, to help you, you need to show us what you are doing, not just tell us.
For example, up-arrow works for me on windows 10 with bash 3.1:
F:\Oracle>bash bash-3.1$ sql gaz/gaz@xe SQLcl: Release 17.2.0 Production on Mon Oct 02 17:45:15 2017 Copyright (c) 1982, 2017, Oracle. All rights reserved. Connected to: Oracle Database 11g Express Edition Release 220.127.116.11.0 - 64bit Production SQL> show version Oracle SQLDeveloper Command-Line (SQLcl) version: 18.104.22.168.0917 SQL> -- pressing up arrow SQL> show version
I start using the shortcut on the desktop:
C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -
$ java -version
java version "1.8.0_131"
$ echo $BASH_VERSION
After pressing arrow up 4 times, the cursor goes up 4 lines, as seen in the screenshot
I also tried to start it using cygwin.bat which contains:
bash --login -i
this time, arrow up does nothing.
I have nothing in .bash_profile, or any other init scripts.