First time here? Check out the FAQ!

Ask Your Question
1

numbered command history?

asked 10 years ago

shad0w gravatar image

updated 10 years ago

In this manual: http://www.sagemath.org/doc/tutorial/...

%hist gives the history of numbered command

However, the sage I use does not seem to have this feature.

image description

Also the outputs in the manual are also numbered. Is there any way to enable this?

By the way, _oh does give a history of numbered outputs.

Preview: (hide)

Comments

I found a workaround on emacs: use sage-shell-mode + helm-sage, which provides a command to view sage command history. But I still want to know a native way to do this on sage.

shad0w gravatar imageshad0w ( 10 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 10 years ago

wdoo gravatar image

%hist -n works for me. Also history -n ,the bash buildin.(I guess they are same things)

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 10 years ago

Seen: 873 times

Last updated: Nov 29 '14