X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=remoteusage.mdwn;h=e54d155327cf4481957c10534d4353985f44eba6;hb=d38c66d73f4da53ebe05379e5078c7573bd50e75;hp=d70a8683b7fb2d4fcfa9c0fcb357aa93ca28d246;hpb=4f01ff1b5ffb62ac4fdd4917799cbe57bd22f825;p=obsolete%2Fnotmuch-wiki diff --git a/remoteusage.mdwn b/remoteusage.mdwn index d70a868..e54d155 100644 --- a/remoteusage.mdwn +++ b/remoteusage.mdwn @@ -24,7 +24,8 @@ You will need to have the following items in place: that computer "client") 3. `ssh` and `dtach` on your client computer. (TODO: Make dtach -optional, or allow screen or tmux to be used instead.) +optional, or allow screen or tmux to be used instead. +[[Here|remotewrapper]] is a version that does not require dtach.) 4. password-free login (public key authentication) from client to server. [Here](http://www.debian-administration.org/articles/152) is a @@ -69,7 +70,7 @@ future calls can reuse the socket. create_socket_dir () { - mkdir "${SOCKET_DIR}" + mkdir "${SOCKET_DIR}" chmod 700 "${SOCKET_DIR}" } @@ -103,14 +104,14 @@ future calls can reuse the socket. $SSH_BIN -S $SSH_SOCKET $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${ARGS} } - notmuch_run $@ + notmuch_run "$@" Save this to a file, "remote-notmuch.sh", in your path. Now you can run "remote-notmuch.sh new". You can call the script anything you like. I actually have $HOME/bin/notmuch linked to that script, so I can have transparent -usage. +usage. ##Configure your emacs client##