Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 31399
Collapse All | Expand All

(-)moc-1.1.0/interface.c (-26 / +23 lines)
Lines 573-608 Link Here
573
		wbkgd (main_subwin, COLOR_PAIR(1));
573
		wbkgd (main_subwin, COLOR_PAIR(1));
574
	werase (main_subwin);
574
	werase (main_subwin);
575
575
576
	mvwprintw (main_subwin, 0, 0, "\
576
	mvwprintw (main_subwin, 0, 0, "\n"
577
  UP, DOWN	Move up and down in the menu
577
"  UP, DOWN	Move up and down in the menu\n"
578
  PAGE UP/DOWN	Move one page up/down
578
"  PAGE UP/DOWN	Move one page up/down\n"
579
  HOME, END	Move to the first, last item
579
"  HOME, END	Move to the first, last item\n"
580
  ENTER		Start playing files (from this file) or go to directory
580
"  ENTER		Start playing files (from this file) or go to directory\n"
581
  s		Stop playing
581
"  s		Stop playing\n"
582
  n		Next song
582
"  n		Next song\n"
583
  p		Pause/unpause
583
"  p		Pause/unpause\n"
584
  LEFT, RIGHT	Seek backward, forward
584
"  LEFT, RIGHT	Seek backward, forward\n"
585
  h		Show this help screen
585
"  h		Show this help screen\n"
586
  f		Switch between short and full names
586
"  f		Switch between short and full names\n"
587
  m		Go to the music directory (requires an entry in the config)
587
"  m		Go to the music directory (requires an entry in the config)\n"
588
  r		Redraw the screen
588
"  r		Redraw the screen\n"
589
  a/A		Add file to the playlist / Add directory recursively
589
"  a/A		Add file to the playlist / Add directory recursively\n"
590
  d/C		Delete item from the playlist / Clear the playlist
590
"  d/C		Delete item from the playlist / Clear the playlist\n"
591
  l		Switch between playlist and file list
591
"  l		Switch between playlist and file list\n"
592
  S/R		Switch shuffle / repeat
592
"  S/R		Switch shuffle / repeat\n");
593
");
594
593
595
#ifdef VERSION_CHECKER
594
#ifdef VERSION_CHECKER
596
	wprintw (main_subwin, "\
595
	wprintw (main_subwin, "\n"
597
  v		Check if a newer version of the MOC is available
596
"  v		Check if a newer version of the MOC is available\n");
598
");
599
#endif
597
#endif
600
	
598
601
#ifdef HAVE_OSS
599
#ifdef HAVE_OSS
602
	wprintw (main_subwin, "\
600
	wprintw (main_subwin, "\n"
603
  '.' , ','	Increase, decrease volume by 5%
601
"  '.' , ','	Increase, decrease volume by 5%\n"
604
  '>' , '<'	Increase, decrease volume by 1%
602
"  '>' , '<'	Increase, decrease volume by 1%\n");
605
");
606
#endif
603
#endif
607
604
608
	wrefresh (main_subwin);
605
	wrefresh (main_subwin);
(-)moc-1.1.0/main.c (-21 / +21 lines)
Lines 77-103 Link Here
77
77
78
/* Show program usage and exit */
78
/* Show program usage and exit */
79
static void usage (const char *prg_name) {
79
static void usage (const char *prg_name) {
80
	printf ("\
80
	printf ("\n"
81
"PACKAGE_STRING"
81
PACKAGE_STRING"\n"
82
Usage:
82
"Usage:\n"
83
%s [OPTIONS]... [FILE]...
83
"%s [OPTIONS]... [FILE]...\n"
84
-V --version		Show program version and exit.
84
"-V --version		Show program version and exit.\n"
85
-h --help		Show usage and exit.
85
"-h --help		Show usage and exit.\n"
86
-r --recursively	Add files in direstories given as an argument
86
"-r --recursively	Add files in direstories given as an argument\n"
87
			recursively.
87
"			recursively.\n"
88
-f --fullinfo		Show titles (eg from id3tags) instead of names in the
88
"-f --fullinfo		Show titles (eg from id3tags) instead of names in the\n"
89
			menu (default).
89
"			menu (default).\n"
90
-s --shortinfo		Show file names in the menu (opposite to -f).
90
"-s --shortinfo		Show file names in the menu (opposite to -f).\n"
91
-m --musicdir		Go to your music directory after start (requires such
91
"-m --musicdir		Go to your music directory after start (requires such\n"
92
			entry in the config file).
92
"			entry in the config file).\n"
93
-e --errors		Show errors in streams.
93
"-e --errors		Show errors in streams.\n"
94
-n --no-errors		Do not show errors in streams (opposite to -e).
94
"-n --no-errors		Do not show errors in streams (opposite to -e).\n"
95
-p --priority N		Set the priority to a given value.
95
"-p --priority N		Set the priority to a given value.\n"
96
-l --dont-play		Don't start playing files added as command line
96
"-l --dont-play		Don't start playing files added as command line\n"
97
			arguments.
97
"			arguments.\n"
98
-R --repeat		Turn on repeat.
98
"-R --repeat		Turn on repeat.\n"
99
-E --no-repeat		Turn off repeat.
99
"-E --no-repeat		Turn off repeat.\n"
100
", prg_name);
100
, prg_name);
101
}
101
}
102
102
103
/* Return the current directory name */
103
/* Return the current directory name */

Return to bug 31399