MDI(1)

πŸ’… MDI β€” send G-code from your terminal to the running LinuxCNC, bestie ✨

okay so this is mdi from the LinuxCNC manual (section 1, terminal commands, iykyk) πŸŽ€


🌸 NAME 🌸

mdi β€” send G-code commands from the terminal straight to the running LinuxCNC instance πŸ”₯


✨ SYNOPSIS ✨

mdi

that's it. that's the whole synopsis. no flags, no drama, just vibes πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so mdi sends G-code commands to LinuxCNC. that's the whole job, and it does it gorgeously 🫢

when you run the command it starts up an environment where G-code commands get sent to the interpreter and the machine feedback gets displayed back at you. it's giving "direct line to the machine, no middleman energy" πŸ‘‘


πŸŽ€ USAGE πŸŽ€

you can send a single command and exit like this:

 send a single command and exit
 mdi m2 s1400

 interactive session
 $mdi
 MDI> m3 s1000
 MDI> G0 X100
 MDI> ^Z
 $stopped

or you can hang out in an interactive session, where you keep typing commands at the MDI> prompt, and you bail out with ^Z 🌈


🌟 SEE ALSO 🌟

and fr fr, there is so much more info about LinuxCNC and HAL in the LinuxCNC and HAL User Manuals, which live at /usr/share/doc/LinuxCNC/ πŸ“šβœ¨


πŸ’€ BUGS πŸ’€

None known at this time. not a single one. clean sheet. no cap πŸ™ˆ


πŸ‘‘ AUTHOR πŸ‘‘

this man page was written by andypugh, as part of the LinuxCNC project πŸ’œ


πŸ“ REPORTING BUGS πŸ“

found something cursed? report bugs at https://github.com/LinuxCNC/linuxcnc/issues β€” the devs wanna hear it 🧚


Copyright Β© 2020 andypugh.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 🚨 (yes that's the all-caps part, it means it, bestie β€” no warranty, periodt.)


ngl the footer of this page is doing main character energy: LinuxCNC Documentation, dated 2020-08-26. stan an iconic date βœ¨πŸ’…πŸ¦‹