Commit 5c4c6c45 authored by Thomas Roessler's avatar Thomas Roessler

IRIX fixes.

parent 1b8cfcd3
......@@ -47,10 +47,10 @@
#include <sys/stat.h>
#include <errno.h>
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) \
{ \
......
......@@ -584,6 +584,8 @@ void km_init (void)
km_bindkey ("8", MENU_GENERIC, OP_JUMP);
km_bindkey ("9", MENU_GENERIC, OP_JUMP);
km_bindkey ("<enter>", 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 ("<enter>", MENU_MAIN, OP_DISPLAY_MESSAGE);
km_bindkey ("x", MENU_PAGER, OP_PAGER_EXIT);
km_bindkey ("q", MENU_PAGER, OP_PAGER_EXIT);
km_bindkey ("<backspace>", 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 ("<enter>", MENU_PAGER, OP_NEXT_LINE);
km_bindkey ("<return>", MENU_ALIAS, OP_TAG);
km_bindkey ("<enter>", MENU_ALIAS, OP_TAG);
km_bindkey ("<enter>", MENU_ATTACH, OP_VIEW_ATTACH);
km_bindkey ("<enter>", 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 */
......
......@@ -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)) \
{ \
......
......@@ -44,7 +44,7 @@
#include <string.h>
#include <errno.h>
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) \
{\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment