Forum Archive

Console history in Cmd loops

JonB

It appears that the console history only records commands entered in the python interpreter, not anything recorded in raw_input for example.

Is the console history accessible through some hidden class or file someplace, such that one could programatically add to the history?

I'm about to add bash-like history to shellista, but it is going to be cumbersome or unportable.. I just wanted to make sure there was nothing I'm missing in 1.5?

On a related note .. is there anyway to simulate control characters with the built in keyboard?

omz

I'm afraid neither of these is supported.