Copy & Paste in a Dos box (was: Pyhton script to call another program)
Mensanator
mensanator at aol.com
Wed May 6 16:13:55 EDT 2009
On May 6, 12:54 pm, Tim Chase <python.l... at tim.thechases.com> wrote:
> > for windows this works:
> > (can't cut and paste from a dos box!###%*&!!!)
>
> Depending on how it was spawned, you can either right-click in
> the window and choose Mark/Paste (when marking, use <enter> to
> terminate the selection; and selections are blockwise rectangular
> rather than linewise or characterwise). Alternatively, if you
> click on the system menu (the icon in the title-bar with
> resize/minimize/maximize/close/help), there should be an Edit
> submenu with the same options within.
>
> A pain, but at least feasible.
Less painful is to set the properties of the dos box:
Edit Options:
[x] Quick Edit mode
And when prompted, do "(.) modify shortcut that started this window"
After which, you can dispense with the menus (except when pasting),
just select the text and hit <enter>.
Makes a world of difference.
>
> HTH,
>
> -tkc
More information about the Python-list
mailing list