diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2013-04-03 21:59:21 +0300 |
|---|---|---|
| committer | Tomi Ollila <tomi.ollila@iki.fi> | 2013-04-03 21:59:21 +0300 |
| commit | 462dfd136b1ded991494d398cf38fa91b1482807 (patch) | |
| tree | 9df3c68da50f74aa232ba6a7ab91e2761c896e99 | |
| parent | b6589c4b55e7cf30844162634aa5466d78d7d205 (diff) | |
trablshuuting
| -rw-r--r-- | remoteusage/aboriginal.mdwn | 31 |
1 files changed, 26 insertions, 5 deletions
diff --git a/remoteusage/aboriginal.mdwn b/remoteusage/aboriginal.mdwn index ccaded1..8f4aa72 100644 --- a/remoteusage/aboriginal.mdwn +++ b/remoteusage/aboriginal.mdwn @@ -73,12 +73,15 @@ using the following command line: (replace `[user@]remotehost` with your login info). Doing this the above wrapper script can be run unmodified. After the above command has been run on **one terminal**, enter `chmod +x remote-notmuch.sh` in -**another terminal** and then test the script with `./remote-notmuch.sh help` +**another terminal** and then test the script with -Note that the '~' is inside single quotes for a reason. In this -case shell never expand it to `$HOME` -- ssh does it by not reading -`$HOME` but checking the real user home directory from `/etc/passwd`. -For security purposes this is just how it should be. + ./remote-notmuch.sh help + +Note that the '~' in the ssh command line above is inside single quotes +for a reason. In this case shell never expand it to `$HOME` -- ssh does +it by not reading `$HOME` but checking the real user home directory +from `/etc/passwd`. For security purposes this is just how it should +be. ## Tune @@ -133,3 +136,21 @@ machine, checking/inotifying when new mail arrives. When mail arrives it could send message back to local host, where a graphical client (to be written) pops up on display providing info about received mail (and exiting this graphical client connection to remote host is terminated). + +## Troubleshooting + +If you experience strange output when using from emacs first attempt to just +run + + ./remote-notmuch.sh help + +from command line and observe output. If it looks as it should be next uncomment +the line + + #exec 2>>remote-errors; echo -- >&2; set -x # ... change (no stderr). + +in `./remote-notmuch.sh` and attemt to use it from emacs again -- and then +examine the contents of `remote-errors` in the working directory emacs was +started. Emacs behaviour may alter slightly as all stderr goes to remote-errors +now to take that into account when examining results (and if it fixes everything +then start forwarding stderr to /dev/null...). |
