From: Thomas Roessler Date: Thu, 26 Aug 1999 07:27:59 +0000 (+0000) Subject: IRIX fixes. X-Git-Tag: mutt-0-96-6-rel~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c4c6c451a009296a5d2f349532a19b2dab36ff3;p=mutt IRIX fixes. --- diff --git a/curs_main.c b/curs_main.c index 3634caf5..fcf83640 100644 --- a/curs_main.c +++ b/curs_main.c @@ -47,10 +47,10 @@ #include #include -static const char No_mailbox_is_open[] = N_("No mailbox is open."); -static const char There_are_no_messages[] = N_("There are no messages."); -static const char Mailbox_is_read_only[] = N_("Mailbox is read-only."); -static const char Function_not_permitted_in_attach_message_mode[] = N_("Function not permitted in attach-message mode."); +static const char *No_mailbox_is_open = N_("No mailbox is open."); +static const char *There_are_no_messages = N_("There are no messages."); +static const char *Mailbox_is_read_only = N_("Mailbox is read-only."); +static const char *Function_not_permitted_in_attach_message_mode = N_("Function not permitted in attach-message mode."); #define CHECK_MSGCOUNT if (!Context) \ { \ diff --git a/keymap.c b/keymap.c index ed547bdd..da453d06 100644 --- a/keymap.c +++ b/keymap.c @@ -584,6 +584,8 @@ void km_init (void) km_bindkey ("8", MENU_GENERIC, OP_JUMP); km_bindkey ("9", MENU_GENERIC, OP_JUMP); + km_bindkey ("", MENU_GENERIC, OP_GENERIC_SELECT_ENTRY); + /* Miscellaneous extra bindings */ km_bindkey (" ", MENU_MAIN, OP_DISPLAY_MESSAGE); @@ -593,6 +595,8 @@ void km_init (void) km_bindkey ("K", MENU_MAIN, OP_PREV_ENTRY); km_bindkey ("x", MENU_MAIN, OP_EXIT); + km_bindkey ("", MENU_MAIN, OP_DISPLAY_MESSAGE); + km_bindkey ("x", MENU_PAGER, OP_PAGER_EXIT); km_bindkey ("q", MENU_PAGER, OP_PAGER_EXIT); km_bindkey ("", MENU_PAGER, OP_PREV_LINE); @@ -614,7 +618,13 @@ void km_init (void) km_bindkey ("8", MENU_PAGER, OP_JUMP); km_bindkey ("9", MENU_PAGER, OP_JUMP); + km_bindkey ("", MENU_PAGER, OP_NEXT_LINE); + km_bindkey ("", MENU_ALIAS, OP_TAG); + km_bindkey ("", MENU_ALIAS, OP_TAG); + + km_bindkey ("", MENU_ATTACH, OP_VIEW_ATTACH); + km_bindkey ("", MENU_COMPOSE, OP_VIEW_ATTACH); /* edit-to (default "t") hides generic tag-entry in Compose menu This will bind tag-entry to "T" in the Compose menu */ diff --git a/pager.c b/pager.c index d0f786a5..03bbb635 100644 --- a/pager.c +++ b/pager.c @@ -51,9 +51,9 @@ #define IsAttach(x) (x && (x)->bdy) #define IsHeader(x) (x && (x)->hdr) -static const char Not_available_in_this_menu[] = N_("Not available in this menu."); -static const char Mailbox_is_read_only[] = N_("Mailbox is read-only."); -static const char Function_not_permitted_in_attach_message_mode[] = N_("Function not permitted in attach-message mode."); +static const char *Not_available_in_this_menu = N_("Not available in this menu."); +static const char *Mailbox_is_read_only = N_("Mailbox is read-only."); +static const char *Function_not_permitted_in_attach_message_mode = N_("Function not permitted in attach-message mode."); #define CHECK_MODE(x) if (!(x)) \ { \ diff --git a/recvattach.c b/recvattach.c index bf0a091c..20849075 100644 --- a/recvattach.c +++ b/recvattach.c @@ -44,7 +44,7 @@ #include #include -static const char Mailbox_is_read_only[] = N_("Mailbox is read-only."); +static const char *Mailbox_is_read_only = N_("Mailbox is read-only."); #define CHECK_READONLY if (Context->readonly) \ {\