]> ruderich.org/simon Gitweb - wall-notify/wall-notify.git/blobdiff - README
drop privileges when running as group utmp
[wall-notify/wall-notify.git] / README
diff --git a/README b/README
index 132b6c3e17dc2f92d20d5b5343150d2ce61191ed..f6eb3de5b1e95dc932158ab99bc58aa16ec511d5 100644 (file)
--- a/README
+++ b/README
@@ -32,16 +32,22 @@ USAGE
 
 To dump all wall messages to stdout use:
 
-    ./wall-notify cat
+    ./src/wall-notify cat
 
 All arguments passed to `wall-notify` are used when execing the process, e.g.
 to replace all spaces with underlines use:
 
-    ./wall-notify sed 's/ /_/g'
+    ./src/wall-notify sed 's/ /_/g'
 
 To display the messages with `xmessage` use:
 
-    ./wall-notfiy xmessage -file -
+    ./src/wall-notify xmessage -file -
+
+However this will display '^M' (carriage-return) and other control characters
+in the message. For a simple wrapper script which removes those, see
+`contrib/message-helper`:
+
+    ./src/wall-notify contrib/message.sh xmessage -file -
 
 The shell is not used when running the program.
 
@@ -49,6 +55,8 @@ The shell is not used when running the program.
 BUGS
 ----
 
+Doesn't work on OpenBSD which has no support for utmpx.h.
+
 If you find any bugs not mentioned in this document please report them to
 <simon@ruderich.org> with wall-notify in the subject.