HALRUN(1)
π HALRUN(1) β bestie's guide to halrun π
okay so this is from the HAL User's Manual, and it's literally the glow-up guide to halrun β¨
πΈ NAME πΈ
halrun β manipulate the LinuxCNC HAL from the command line π«Ά
π SYNOPSIS π
halrun -h
halrun [-I] [halcmd_opts] [filename[.hal|.tcl]]
halrun -T [halcmd_opts] [filename[.hal|.tcl]]
halrun -U
β¨ DESCRIPTION β¨
halrun is a convenience script, bestie. it's the little helper you use to manipulate the HAL (that's the Hardware Abstraction Layer, iykyk) from the command line π
when you invoke it, halrun:
- sets up the realtime environment π
- executes a command interpreter (
halcmdorhaltcl) - optionally runs an interactive session
- tears down the realtime environment π
if no filename is specified, an interactive session is started. the session will use halcmd(1) unless -T is specified, in which case haltcl(1) will be used. periodt.
if a filename is specified and neither the -I nor the -T option is included, the filename will be processed by the command interpreter corresponding to the filename extension (halcmd or haltcl). after processing, the realtime environment will be torn down. no cap.
if a filename is specified and the -I or -T option is included, the file is processed by the appropriate command interpreter and then an interactive session is started for halcmd or haltcl according to the -I or -T option. it's giving choose-your-own-adventure π¦
π OPTIONS π
halcmd_optsβ when a.halfile is specified, thehalcmd_optsare passed tohalcmd. see the man page forhalcmd(1)π when a.tclfile is specified, the only valid options are:-i <INI file>-f <filename[.tcl|.hal]>(alternate means of specifying a file)
-Iβ run an interactivehalcmdsession πΈ-Tβ run an interactivehaltclsession.-Uβ forcibly cause the realtime environment to exit. it releases the HAL mutex, requests that all HAL components unload, and stops the realtime system.-Umust be the only commandline argument. π¨-hβ display a brief help screen and exit β¨
π BUGS π
none known at this time. we love a clean slate fr fr π
β AUTHOR β
original version by John Kasunich, as part of the LinuxCNC Enhanced Machine Controller project. now includes major contributions by several members of the project π«Ά
π REPORTING BUGS π
report bugs to the LinuxCNC bug tracker β¨https://github.com/LinuxCNC/linuxcnc/issuesβ©.
π COPYRIGHT π
Copyright Β© 2003 John Kasunich.
this is free software; see the source for copying conditions. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. π
π SEE ALSO π
and that's the whole vibe check, bestie π¦ this came from the LinuxCNC Documentation, dated 2012-01-31, and yeah it's literally labeled HALRUN(1) β iconic behavior, ate, no notes πβ¨
π¦ where this page comes from
- debian trixie: linuxcnc-uspace 1:2.9.4-2+deb13u1 Β· GFDL-1.1-or-later
- ubuntu questing: linuxcnc-uspace 1:2.9.4-2ubuntu2
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- Copyright (c) 2003 John Kasunich
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms