summaryrefslogtreecommitdiffhomepage
path: root/etc
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-01-06 20:58:49 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-01-06 20:58:49 +0000
commit6ab6875b4744882512954ae49daf2ded653e58aa (patch)
tree6a18484bbbad089ae801d861b075652af379da51 /etc
parentac06c461c99f36486c782018ba0646fa068974c7 (diff)
downloadmidipix_build-6ab6875b4744882512954ae49daf2ded653e58aa.tar.bz2
midipix_build-6ab6875b4744882512954ae49daf2ded653e58aa.tar.xz
etc/README.md: updated.
Diffstat (limited to 'etc')
-rw-r--r--etc/README.md22
1 files changed, 15 insertions, 7 deletions
diff --git a/etc/README.md b/etc/README.md
index 5166fba4..d607b058 100644
--- a/etc/README.md
+++ b/etc/README.md
@@ -170,16 +170,24 @@ post-installation.
### 2.4. Troubleshooting
Midipix presently provides, inter alia, strace-like functionality via
-ntctty's logging capabilities. This is enabled for a session by running
-``ntctty.exe`` with the ``--log-level 7`` option, e.g.:
+ntctty's logging capabilities. This is available both through the regular
+``strace(1)`` command as distributed, which however **must** be provided
+with an absolute pathname without consideration for ``${PATH}``, as well
+as directly via ``ntctty.exe`` for a session by running ``ntctty.exe``
+with the ``--log-level 7`` option, e.g.:
```shell
-$ ntctty.exe --log-level 7 /bin/ls -la /
-$ ntctty.exe --log-level 7 /bin/sh -c "ls -la /"
+$ #strace ls -la / # (incorrect, relative pathname)
+$ strace /bin/ls -la / # (correct, absolute pathname)
+$ ntctty.exe --log-level 7 -e /bin/ls -la /
+$ ntctty.exe --log-level=7 -e /bin/ls -la /
+$ ntctty.exe --log-level 7 -e /bin/sh -c "ls -la /"
+$ ntctty.exe --log-level=7 -e /bin/sh -c "ls -la /"
```
-By default, log files are written into the /var/log/ntctty directory;
-this may be adjusted with the ``--log-dir`` and/or ``--log-file`` options.
+By default, ``ntctty.exe`` log files are written into the /var/log/ntctty
+directory; this may be adjusted with the ``--log-dir`` and/or
+``--log-file`` options. ``strace(1)`` logs to stderr by default.
[Back to top](#table-of-contents)
@@ -407,7 +415,7 @@ midipix_build@sandbox:(src/midipix_build)> $ ./pkgtool.sh -a nt64 -b debug -s mc
==> 2020/03/11 15:46:28 Run $R to rebuild `mc'.
==> 2020/03/11 15:46:28 Run $RS <step> to restart the specified build step of `mc'
==> 2020/03/11 15:46:28 Run $D to automatically regenerate the patch for `mc'.
-midipix_build@sandbox:(src/midipix_build)> $
+midipix_build@sandbox:(mc-native-x86_64-nt64-midipix/obj)> $
```
If a package build shell environment is desired for a package that has either not been