console doc updates

This commit is contained in:
~d6 2023-11-16 10:00:31 -05:00
parent ece51a4ced
commit 02084e8b5b
1 changed files with 7 additions and 0 deletions

View File

@ -149,6 +149,13 @@ EXAMPLE PROGRAM FRAGMENTS
@exit ( -- BRK )
#80 .System/halt DEO BRK ( ; exit immediately with code 0 )
@quit-immediately ( -- BRK )
#00 .running STZ ( ; note that we are stopping )
#02 .Console/opts DEO ( ; set host action to use child 2 )
#03 .Console/host-put BRK ( ; kill child process 2 )
( ; this will trigger on-console )
( ; and then on-child-exit. )
@run-mpg123 ( path* -- )
;mpg123-cmd/buf scpy ( ; copy path into cmd buffer )
;mpg123-cmd .Console/param DEO2 ( ; set up `mpg123 <path>` cmd to run )