mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	The 'Commands' menu now automatically assigns number keys as hotkeys to the commands
This commit is contained in:
		
							
								
								
									
										10
									
								
								FORMATS
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								FORMATS
									
									
									
									
									
								
							@@ -134,13 +134,9 @@ Video Disk Recorder File Formats
 | 
			
		||||
 | 
			
		||||
  Examples:
 | 
			
		||||
 | 
			
		||||
   1 Check for new mail: /usr/local/bin/checkmail 2>&1
 | 
			
		||||
   2 CPU status        : /usr/local/bin/cpustatus 2>&1
 | 
			
		||||
   3 Disk space        : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
 | 
			
		||||
 | 
			
		||||
  If the first non-blank character of the 'title' is a digit in the range
 | 
			
		||||
  1..9, the command can be selected directly by pressing the respective numerical
 | 
			
		||||
  key on the remote control.
 | 
			
		||||
   Check for new mail: /usr/local/bin/checkmail 2>&1
 | 
			
		||||
   CPU status        : /usr/local/bin/cpustatus 2>&1
 | 
			
		||||
   Disk space        : df -h | grep '/video' | awk '{ print 100 - $5 "% free"; }'
 | 
			
		||||
 | 
			
		||||
* svdrphosts.conf
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								HISTORY
									
									
									
									
									
								
							@@ -1111,3 +1111,6 @@ Video Disk Recorder Revision History
 | 
			
		||||
  is not available by default on some Linux distributions, whereas 'killall' is.
 | 
			
		||||
  Please check if your system provides 'killall' - if it doesn't, please change
 | 
			
		||||
  this back in 'runvdr' and report this (thanks to Achim Lange).
 | 
			
		||||
- The "Commands" menu now automatically assigns number keys as hotkeys to the
 | 
			
		||||
  commands. If you have preceeded your commands with digits you may want to
 | 
			
		||||
  remove these from your 'commands.conf' file.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								menu.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: menu.c 1.168 2002/03/16 14:03:38 kls Exp $
 | 
			
		||||
 * $Id: menu.c 1.169 2002/03/16 16:44:15 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "menu.h"
 | 
			
		||||
@@ -2210,7 +2210,7 @@ cMenuCommands::cMenuCommands(void)
 | 
			
		||||
  cCommand *command;
 | 
			
		||||
 | 
			
		||||
  while ((command = Commands.Get(i)) != NULL) {
 | 
			
		||||
        Add(new cOsdItem(command->Title()));
 | 
			
		||||
        Add(new cOsdItem(hk(command->Title())));
 | 
			
		||||
        i++;
 | 
			
		||||
        }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user