diff options
Diffstat (limited to 'vdr.5')
-rw-r--r-- | vdr.5 | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -8,7 +8,7 @@ .\" License as specified in the file COPYING that comes with the .\" vdr distribution. .\" -.\" $Id: vdr.5 1.6 2002/10/06 08:56:01 kls Exp $ +.\" $Id: vdr.5 1.7 2002/10/13 09:03:53 kls Exp $ .\" .TH vdr 5 "7 Sep 2002" "1.2.0" "Video Disk Recorder Files" .SH NAME @@ -322,7 +322,10 @@ Each line contains one command definition in the following format: where \fBtitle\fR is the string that will be displayed in the "Commands" menu, and \fBcommand\fR is the actual command string that will be executed when this option is selected. The delimiting ':' may be surrounded by any number of -white space characters. +white space characters. If \fBtitle\fR ends with the character '?', there will +be a confirmation prompt before actually executing the command. This can be +used for commands that might have serious results (like deleting files etc) +to make sure they are not executed inadvertently. By default the menu entries in the "Commands" menu will be numbered '1'...'9' to make them selectable by pressing the corresponding number key. If you want @@ -337,16 +340,19 @@ In order to avoid error messages to the console, every command should have Examples: -Check for new mail: /usr/local/bin/checkmail 2>&1 +Check for new mail?: /usr/local/bin/checkmail 2>&1 .br -CPU status : /usr/local/bin/cpustatus 2>&1 +CPU status: /usr/local/bin/cpustatus 2>&1 .br -Disk space : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }' +Disk space: df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }' .br -Calendar : date;echo;cal +Calendar: date;echo;cal Note that the commands 'checkmail' and 'cpustatus' are only \fBexamples\fR! Don't send emails to the author asking where to find these ;-) +.br +The '?' at the end of the "Check for new mail?" entry will prompt the user +whether this command shall really be executed. .SS SVDRP HOSTS The file \fIsvdrphosts.conf\fR contains the IP numbers of all hosts that are allowed to access the SVDRP port. |