Fix minicom.md

This commit is contained in:
Andrea Cardaci 2023-10-21 13:55:55 +02:00
parent 126cb95d3c
commit 75007d78d5

View File

@ -11,6 +11,13 @@ functions:
After the shell, exit with `Ctrl-A x`. After the shell, exit with `Ctrl-A x`.
code: | code: |
minicom -D /dev/null minicom -D /dev/null
- description: |
After the shell, exit with `Ctrl-A x`.
code: |
TF=$(mktemp)
echo "! exec /bin/sh <$(tty) 1>$(tty) 2>$(tty)" >$TF
minicom -D /dev/null -S $TF
reset^J
sudo: sudo:
- description: | - description: |
Start the following command to open the TUI interface, then: Start the following command to open the TUI interface, then:
@ -31,12 +38,4 @@ functions:
After the shell, exit with `Ctrl-A x`. After the shell, exit with `Ctrl-A x`.
code: | code: |
./minicom -D /dev/null ./minicom -D /dev/null
shell:
- description: |
After the shell, exit with `Ctrl-A x`.
code: |
TF=$(mktemp)
echo "! exec /bin/sh <$(tty) 1>$(tty) 2>$(tty)" >$TF
minicom -D /dev/null -S $TF
reset^J
--- ---