Re: trouble with cmd.Cmd and prompting

2017-01-18 Thread Peter Otten
Cameron Simpson wrote: > On 04Jan2017 12:20, Cameron Simpson wrote: >>I will try to get a minimal example others can run. > > Well I've made some time for this, and it seems to be an interaction with > my python3, the "input" builtin, and readline. Cmd.cmdloop behaves fine if > I turn off the .r

Re: trouble with cmd.Cmd and prompting

2017-01-18 Thread Cameron Simpson
On 04Jan2017 12:20, Cameron Simpson wrote: I will try to get a minimal example others can run. Well I've made some time for this, and it seems to be an interaction with my python3, the "input" builtin, and readline. Cmd.cmdloop behaves fine if I turn off the .raw_input attribute, and I can r

Re: trouble with cmd.Cmd and prompting

2017-01-06 Thread Cameron Simpson
On 03Jan2017 16:57, Peter Otten <__pete...@web.de> wrote: >Cameron Simpson wrote: >> On 03Jan2017 00:14, Dennis Lee Bieber wrote: >>>On Tue, 3 Jan 2017 11:33:15 +1100, Cameron Simpson >>>declaimed the following: I'm using cmd.Cmd to write a little FTP-like command line to interface to a s

Re: trouble with cmd.Cmd and prompting

2017-01-03 Thread Cameron Simpson
On 03Jan2017 16:57, Peter Otten <__pete...@web.de> wrote: Cameron Simpson wrote: On 03Jan2017 00:14, Dennis Lee Bieber wrote: On Tue, 3 Jan 2017 11:33:15 +1100, Cameron Simpson declaimed the following: I'm using cmd.Cmd to write a little FTP-like command line to interface to a storage system

Re: trouble with cmd.Cmd and prompting

2017-01-03 Thread Peter Otten
Cameron Simpson wrote: > On 03Jan2017 00:14, Dennis Lee Bieber wrote: >>On Tue, 3 Jan 2017 11:33:15 +1100, Cameron Simpson >>declaimed the following: >>>I'm using cmd.Cmd to write a little FTP-like command line to interface to >>>a storage system of mine and encountering weird behaviour. When I

Re: trouble with cmd.Cmd and prompting

2017-01-02 Thread Cameron Simpson
On 03Jan2017 00:14, Dennis Lee Bieber wrote: On Tue, 3 Jan 2017 11:33:15 +1100, Cameron Simpson declaimed the following: I'm using cmd.Cmd to write a little FTP-like command line to interface to a storage system of mine and encountering weird behaviour. When I enter a command the next prompt a

trouble with cmd.Cmd and prompting

2017-01-02 Thread Cameron Simpson
I'm using cmd.Cmd to write a little FTP-like command line to interface to a storage system of mine and encountering weird behaviour. When I enter a command the next prompt appears _before_ the associated operation runs, or so it appears. Look at this: [~/hg/css-venti(hg:venti)]fleet*> dev