#29 Ins key does not toggle overwrite mode


In cmd.exe you can toggle between insert and overwrite mode with the Ins key.
pyCmd always uses insert mode, there is no way to switch to overwrite. Would be good to have that ability.


  • Horea Haitonic

    Horea Haitonic - 2011-10-20

    Agreed, this is a good point. With some care, we could make the Tab completions obey this "overwrite rather than insert" hint in a smart manner. Think of:

    cat c:\projects\ver_1.1\NEWS.txt
    restore the line from history with the Up arrow
    move the cursor after projects\

    cat c:\projects\<Cursor>ver_1.1\NEWS.txt
    press Insert
    press Tab
    list of completions displayed:
    cat c:\projects\ver_1.<Cursor>\NEWS.txt

    type Insert
    type 2

    cat c:\projects\ver_1.2<Cursor>\NEWS.txt

    This kind of "completion overwrites instead of inserting might be useful often; we might also want to bind it to a special key combination (Shift-Tab?)

    All in all, thanks for the suggestion. I'll get to it as soon as I can.

  • Achim Bursian

    Achim Bursian - 2011-10-20

    You are imagining the "gold version" :-)
    I would suggest taking a two step approach:
    1) Implement simple overwrite (typing regular characters), without any Tab completion changes
    2) Implementing your thoughts on completion in Overwrite mode

    Anyway, thanks for all your efforts. pyCmnd is a great tool for my everyday work.

  • Horea Haitonic

    Horea Haitonic - 2013-11-06

    The latest snapshot (20131104) handles the simple overwrite (point 1 above).


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks