From b1b4aadcd719aa594bd62a8d392943dd0bcfcc5e Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Fri, 22 Oct 2004 05:47:25 +0000 Subject: [PATCH] * main.c (print_color_usage): Update list of keywords for global, menu and help. Change my email in ChangeLogs --- src/ChangeLog | 41 +++++++++++++++++++++++------------------ src/main.c | 8 +++++--- 2 files changed, 28 insertions(+), 21 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 4360bb6e1..365ac0bb7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-09-25 Pavel Shirshov + + * main.c (print_color_usage): Update list of keywords for global, + menu and help. + 2004-10-21 Roland Illig * cons.saver.c (die): Declare as "static" to avoid gcc warning. @@ -105,7 +110,7 @@ * user.c (check_format_var): Likewise. * widget.c (radio_callback): Likewise. -2004-09-25 Pavel Shirshov +2004-09-25 Pavel Shirshov * boxes.c (configure_vfs): g_free handles NULL argument too, no need for the comparison. @@ -244,7 +249,7 @@ * win.c (check_movement_keys): likewise. * win.h (check_movement_keys): likewise. -2004-09-17 Pavel Shirshov +2004-09-17 Pavel Shirshov * ext.c (get_file_type_local): Fixes in QNX 6.x (QNX Neutrino) when guessing file type before @@ -267,7 +272,7 @@ * key.c (get_modifier): Recognize keyboard modifiers on Cygwin. -2004-09-12 Pavel Shirshov +2004-09-12 Pavel Shirshov * execute.c (toggle_panels): Fix error. show_output_starts_shell=1 is not working @@ -296,7 +301,7 @@ * info.c (info_show_info): don't truncate block counts to 32 bits on 64-bit platforms -2004-09-04 Pavel S. Shirshov +2004-09-04 Pavel S. Shirshov * subshell.c (exit_subshell): Prevent unwanted reuse of freed pty_buffer. @@ -323,7 +328,7 @@ Based on patch from Jakub Jelinek -2004-09-03 Pavel S. Shirshov +2004-09-03 Pavel S. Shirshov * menu.c (destroy_menu): Fix warnings. * view.c (view_adjust_size): Likewise. @@ -343,7 +348,7 @@ * Makefile.am (man2hlp): Added source file glibcompat.c for glib-1.2 compatibility. -2004-09-02 Pavel S. Shirshov +2004-09-02 Pavel S. Shirshov * complete.c (completion_matches): Use more suitable function g_strndup(), instead sequence g_malloc(), strncpy(), @@ -355,14 +360,14 @@ Based on patch from Jakub Jelinek -2004-09-02 Pavel S. Shirshov +2004-09-02 Pavel S. Shirshov * color.c (load_dialog_colors): Make a separate color for hotkeys in red dialogs. * color.h: Likewise. * view.c (view_ok_to_quit): Add hotkey to dialog. -2004-09-01 Pavel S. Shirshov +2004-09-01 Pavel S. Shirshov * user.c (check_format_var): Use more suitable function g_strndup(), instead sequence g_malloc(), strncpy(), @@ -380,7 +385,7 @@ * selcodepage.c (select_charset): Likewise. * boxes.c (display_bits_box): Likewise. -2004-09-01 Pavel S. Shirshov +2004-09-01 Pavel S. Shirshov * color.c (mc_init_pair): Use cast to avoid warning. * screen.c (display_mini_info): Likewise. @@ -401,7 +406,7 @@ * cmd.c (do_link): Fixed memory leak and cleaned up code. -2004-08-21 Pavel Shirshov +2004-08-21 Pavel Shirshov * utilunix.c (tilde_expand): Use more suitable function g_strndup, instead sequence g_malloc, strncpy, name[len] = '\0' @@ -547,22 +552,22 @@ more readable. Outsourced the hardest case into move_backward2_textmode_wrap and left it with the old code. -2004-08-19 Pavel Shirshov +2004-08-19 Pavel Shirshov * utilunix.c (mc_tmpdir): Fix typos in comment. Set MC_TMPDIR environment variable for vfs scripts. Clear error after successful test of mc temp dir. -2004-08-19 Pavel Shirshov +2004-08-19 Pavel Shirshov * screen.c (paint_frame): Fix possible buffer overflow. -2004-08-18 Pavel Shirshov +2004-08-18 Pavel Shirshov * background.c (do_background): Use O_RDWR when opening the file '/dev/null' for replacement standard streams. -2004-08-17 Pavel Shirshov +2004-08-17 Pavel Shirshov * utilunix.c (mc_tmpdir): Check return value of getpwuid() for NULL. @@ -688,7 +693,7 @@ 2003-11-20 Pavel Roskin * glibcompat.h: Provide replacement for g_slist_delete_link(). - Reported by Pavel S. Shirshov + Reported by Pavel S. Shirshov 2003-11-20 Andrew V. Samoilov @@ -968,7 +973,7 @@ * view.c (load_view_file): Use g_try_malloc() because the failure to allocate memory is acceptable here. - Reported by Pavel S. Shirshov + Reported by Pavel S. Shirshov 2003-10-14 Pavel Roskin @@ -2416,7 +2421,7 @@ * file.c (copy_file_file): Rename DST_* names to DEST_*, since DST_NONE is used in FreeBSD libc. - Reported by Pavel Shirshov + Reported by Pavel Shirshov 2002-09-26 Pavel Roskin @@ -2465,7 +2470,7 @@ * mountlist.c: Restore sys/param.h before sys/mount.h - it's required on FreeBSD. - Reported by Pavel Shirshov + Reported by Pavel Shirshov * screen.c (panel_event): Implement support for mouse wheel. diff --git a/src/main.c b/src/main.c index 196dea377..0f4831cd4 100644 --- a/src/main.c +++ b/src/main.c @@ -1878,11 +1878,13 @@ print_color_usage (void) ("--colors KEYWORD={FORE},{BACK}\n\n" "{FORE} and {BACK} can be omitted, and the default will be used\n" "\n" "Keywords:\n" - " Global: errors, reverse, gauge, input\n" + " Global: errors, reverse, gauge, input, viewunderline\n" " File display: normal, selected, marked, markselect\n" - " Dialog boxes: dnormal, dfocus, dhotnormal, dhotfocus\n" + " Dialog boxes: dnormal, dfocus, dhotnormal, dhotfocus, errdhotnormal,\n" + " errdhotfocus\n" " Menus: menu, menuhot, menusel, menuhotsel\n" - " Help: helpnormal, helpitalic, helplink, helpslink\n" + " Editor: editnormal, editbold, editmarked\n" + " Help: helpnormal, helpitalic, helpbold, helplink, helpslink\n" " File types: directory, executable, link, stalelink, device, special, core\n" "\n" "Colors:\n" " black, gray, red, brightred, green, brightgreen, brown,\n"