One of the things about PP that really frustrates me is the limit to a single MDI command.
One can't even type in the next command while the first one is running as any space bar puts it in feed hold.

So I was home sick yesterday and spent the whole day fixing this issue.
I have a modification to 2.4.1 on the Mill that supports multiple MDI.

Before you use this realize its provided as is with no warranty.
Your likely to put this on a machine tool that can be hazardous.
It can kill you and it will probably hurt the whole time your dying.
Given the disclaimer :

Here is a drop box link to tormach_mill_ui.py

https://www.dropbox.com/sh/rcijrsxow...77yGkecSa?dl=0


Code changes should all have Paul MDI nearby in comments.

Basic operation/modifications:
1)Modified the key handling for spacebar such that when the MDI line has focus it does not feedhold.
2)Created a queue of MDI commands. No commands are executed when they are entered...
The 50msec process looks to see if commands are queued and then executes them.

3)I replaced the gcodelisting_buffer in the main view with another variable MDI_TextViewBuffer
This gets swapped back and forth in the code using self.sourceview.set_buffer(
So that the Gcode display gets repurposed for MDI display when MDI commands are active.

4)Stop,Reset Error all call the function MDI_Abort that swaps the display back and clears the MDI queue
so these things are handled correctly.

5)I have not yet gotten the display highlighting to work correctly for the MDI display.