command recall in jupyter terminal

61 views
Skip to first unread message

djoseph

unread,
Nov 4, 2016, 3:00:56 PM11/4/16
to Project Jupyter
Hi,

How do I setup command recall in a jupyter terminal? Up and Down arrows are not working. Nor is 'set -o vi'

Thanks for any pointers.

Thomas Kluyver

unread,
Nov 4, 2016, 5:45:17 PM11/4/16
to Project Jupyter
On 4 November 2016 at 12:00, djoseph <desh...@gmail.com> wrote:
How do I setup command recall in a jupyter terminal? Up and Down arrows are not working. Nor is 'set -o vi'

Do you mean the terminals available in the notebook web interface? If so, up and down arrows work for me.

One possibility is that you don't have the $SHELL environment variable set, and it's defaulting to plain sh rather than bash. Set SHELL=bash before launching the notebook to make it use bash.

djoseph

unread,
Nov 4, 2016, 7:06:51 PM11/4/16
to Project Jupyter
Yes. I am referring to the terminal from the web interface.

Where exactly do I set the SHELL variable?. After lauching the notebook at localhost:8888? If so, where? Thanks for your help.
I tried setting it after creating the terminal from the web interface to no avail.

Thomas Kluyver

unread,
Nov 4, 2016, 7:46:54 PM11/4/16
to Project Jupyter
On 4 November 2016 at 16:06, djoseph <desh...@gmail.com> wrote:
Where exactly do I set the SHELL variable?. After lauching the notebook at localhost:8888? If so, where? Thanks for your help.
I tried setting it after creating the terminal from the web interface to no avail.

In the terminal you launch the notebook from, before you launch it. If you're launching it from a GUI interface, it gets a bit more complex; if so, what platform are you on?

Reply all
Reply to author
Forward
0 new messages