SYSTEM
/*
(No comment to be placed on the first line of this file!)

S3_.RSS

System Resource file for Series 3

*/

#include <hwim.rg>
#include <hwim.rh>
#include <pagesize.h>
#include <symbols.h>

/****************** THE SPECIAL CHARACTERS ************************/

/* leave most of these alone, but translate the NSWE */

GLOBAL RESOURCE STRING sys_special_characters { str="+-*/<,>.NSWE"; }

/************************* STRINGS ********************************/

GLOBAL RESOURCE STRING sys_string { str="%s"; }
GLOBAL RESOURCE STRING sys_dimmed_msg {str="This item is not available";}
GLOBAL RESOURCE STRING sys_locked_msg {str="This item cannot be changed";}
GLOBAL RESOURCE STRING sys_busy { str="Busy"; }
GLOBAL RESOURCE STRING sys_scanning { str="Scanning"; }
GLOBAL RESOURCE STRING sys_printing_to { str="Printing to %s";}
GLOBAL RESOURCE STRING sys_page_is { str="(page %u)";}

GLOBAL RESOURCE STRING sys_copied_prompt {str="Copied";}
GLOBAL RESOURCE STRING sys_copying_prompt {str="Saving as \"%s\"";}
GLOBAL RESOURCE STRING sys_loading_prompt {str="Loading \"%s\"";}
GLOBAL RESOURCE STRING sys_merging_prompt {str="Merging in \"%s\"";}
GLOBAL RESOURCE STRING sys_nothing_to_bring {str="Nothing to bring";}
GLOBAL RESOURCE STRING sys_not_found {str="Not found"; }
GLOBAL RESOURCE STRING sys_nothing_to_find {str="Nothing to find";}

GLOBAL RESOURCE STRING sys_compress_prompt {str="Compressing \"%s\"";}
GLOBAL RESOURCE STRING sys_not_compressible {str="Cannot compress on Flash";}

GLOBAL RESOURCE STRING sys_password_incorrect {str="Incorrect password";}
GLOBAL RESOURCE STRING sys_password_not_confirmed {str="Password not confirmed";}

GLOBAL RESOURCE STRING sys_range_reset {str="Out of range - reset to limit";}
GLOBAL RESOURCE STRING sys_invalid_num {str="Number is not valid";}
GLOBAL RESOURCE STRING sys_invalid_margins { str="Invalid margins. Reset ?"; }
GLOBAL RESOURCE STRING sys_invalid_char { str="Undiallable character"; }
GLOBAL RESOURCE STRING sys_out_of_range {str="Value out of range: %s = %s";}
        /* as used in "Value out of range: Max = 20.45 */

GLOBAL RESOURCE STRING sys_edit_nchars {str="Maximum number of characters reached";}

GLOBAL RESOURCE STRING sys_popout_help {str="Press Tab to change this item";}

GLOBAL RESOURCE STRING sys_help_string {str="Help: %s";}

GLOBAL RESOURCE STRING sys_replace_disk {str="Replace the application disk";}

        /* the prompts for a file selector and a pack selector */
GLOBAL RESOURCE STRING sys_name {str="Name";}
GLOBAL RESOURCE STRING sys_pack {str="Disk";}

        /* part of the title line of a filelist */
GLOBAL RESOURCE STRING sys_filelist_disk {str="Disk ";}

GLOBAL RESOURCE STRING sys_flist_reset { str="File list reset"; }
GLOBAL RESOURCE STRING sys_device_memory { str="Internal"; }
GLOBAL RESOURCE STRING sys_path_is { str="Path is %s"; }
GLOBAL RESOURCE STRING sys_choose_directory { str="Choose a directory"; }
GLOBAL RESOURCE STRING sys_choose_filename { str="Choose a filename"; }
GLOBAL RESOURCE STRING sys_choose_new_directory { str="Directory already exists"; }
GLOBAL RESOURCE STRING sys_exists_over { str="File already exists: overwrite?"; }

/* Next two strings have a maximum length of 5 characters each */
GLOBAL RESOURCE STRING sys_max { str="Max"; } 
GLOBAL RESOURCE STRING sys_min { str="Min"; }

GLOBAL RESOURCE STRING sys_dec_places { str="Decimal places"; }
GLOBAL RESOURCE STRING sys_sig_digits { str="Significant digits"; }
GLOBAL RESOURCE STRING sys_evaldlg_title { str="Set \"Evaluate\" format"; }
GLOBAL RESOURCE STRING sys_nothing_to_eval { str="Nothing to evaluate"; }
GLOBAL RESOURCE STRING sys_toolong_to_eval { str="Too long to evaluate"; }

GLOBAL RESOURCE STRING sys_xonxoff_string {str="Xon/xoff ";}
GLOBAL RESOURCE STRING sys_header_str { str="Enter header details"; }
GLOBAL RESOURCE STRING sys_footer_str { str="Enter footer details"; }

/* max len of next 2 strs is 9 (including the space and the brackets) */
GLOBAL RESOURCE STRING sys_centimetres { str=" (cm)"; }
GLOBAL RESOURCE STRING sys_inches { str=" (in)"; }

GLOBAL RESOURCE STRING sys_dev_notready { str=" Absent!"; }
GLOBAL RESOURCE STRING sys_dev_corrupt { str=" Unformatted!"; }
GLOBAL RESOURCE STRING sys_dev_unknown { str=" Unrecognised!"; }
GLOBAL RESOURCE STRING sys_dev_info { str=", %luK free"; }

GLOBAL RESOURCE STRING sys_mtype_unknown { str="Unknown"; }
GLOBAL RESOURCE STRING sys_mtype_floppy { str="Floppy"; }
GLOBAL RESOURCE STRING sys_mtype_hard { str="Hard"; }
GLOBAL RESOURCE STRING sys_mtype_flash { str="Flash"; }
GLOBAL RESOURCE STRING sys_mtype_ram { str="Ram"; }
GLOBAL RESOURCE STRING sys_mtype_rom { str="Rom"; }
GLOBAL RESOURCE STRING sys_mtype_protected { str="Protected"; }

/* Maximum of 14 character widths for the following 5 strings */
GLOBAL RESOURCE STRING sys_files_tagged { str="(Tagged files)"; }
GLOBAL RESOURCE STRING sys_no_files { str="(No files)"; }
GLOBAL RESOURCE STRING sys_no_disk { str="(No disk)"; }
GLOBAL RESOURCE STRING sys_unformatted { str="(Unformatted)"; }
GLOBAL RESOURCE STRING sys_unrecognised { str="(Unrecognised)"; }

GLOBAL RESOURCE STRING sys_sound_fail { str="Sound in use - please retry"; }

/*********** THE ALLOWED SPECIAL KEYS FOR ACTION BUTTONS ******************/

/* You can translate the text, but no more than six characters each */

GLOBAL RESOURCE ACLIST_ARRAY sys_button_text
    {
    button=
        {     
        PUSH_BUT
            {
            keycode=W_KEY_RETURN;
            str="Enter";
            },
        PUSH_BUT
            {
            keycode=W_KEY_ESCAPE;
            str="Esc";
            },
        PUSH_BUT
            {
            keycode=W_KEY_DELETE_LEFT;
            str="Del";
            },
        PUSH_BUT
            {
            keycode=W_KEY_SPACE;
            str="Space";
            },
        PUSH_BUT
            {
            keycode=W_KEY_UP;
            str=<WS_SYMBOL_UP_KEY>;
            },
        PUSH_BUT
            {
            keycode=W_KEY_DOWN;
            str=<WS_SYMBOL_DOWN_KEY>;
            },
        PUSH_BUT
            {
            keycode=W_KEY_RIGHT;
            str=<WS_SYMBOL_RIGHT_KEY>;
            },
        PUSH_BUT
            {
            keycode=W_KEY_LEFT;
            str=<WS_SYMBOL_LEFT_KEY>;
            },
        PUSH_BUT
            {
            keycode=W_KEY_TAB;
            str="Tab";
            },
        PUSH_BUT
            {
            keycode=W_KEY_MENU;
            str="Menu";
            }
        };
   }


/************************* ACTION LISTS ******************************/

/* Change the keycodes too, but don't lose the minus signs */

GLOBAL RESOURCE ACLIST_ARRAY sys_ac_no_yes
    {
    button =
        {
        PUSH_BUT
            {
            keycode=-'n';
            str="No";
            },
        PUSH_BUT
            {
            keycode='y';
            str="Yes";
            }
        };
    }

GLOBAL RESOURCE ACLIST_ARRAY sys_ac_continue
    {
    button =
        {
        PUSH_BUT
            {
            keycode=W_KEY_ESCAPE;
            str="Continue";
            }
        };
    }

GLOBAL RESOURCE ACLIST_ARRAY sys_ac_abandon
    {
    button =
        {
        PUSH_BUT
            {
            keycode=W_KEY_ESCAPE;
            str="Abandon";
            }
        };
    }

GLOBAL RESOURCE ACLIST_ARRAY sys_append_aclist
    {
    button =
        {
        PUSH_BUT
            {
            keycode=W_KEY_RETURN;
            str="Append";
            }
        };
    }                  

/* Careful not to make the combined width of these strings much wider */

GLOBAL RESOURCE ACLIST_ARRAY sys_smart_dial_aclist
    {
    button =
        {
        PUSH_BUT
            {
            keycode=W_KEY_ESCAPE;
            str="Cancel";
            },
        PUSH_BUT
            {
            keycode=W_KEY_MENU;
            str="Free input";
            },
        PUSH_BUT
            {
            keycode=W_KEY_TAB;
            str="Dial";
            },
        PUSH_BUT
            {
            keycode=W_KEY_RETURN;
            str="Dial out";
            }
        };
    }                  

GLOBAL RESOURCE ACLIST_ARRAY sys_freedial_aclist
    {
    button =
        {
        PUSH_BUT
            {
            keycode=W_KEY_DELETE_LEFT;
            str="Clear";
            },
        PUSH_BUT
            {
            keycode=W_KEY_TAB;
            str="Redial";
            }
        };
    } 

/************************* CHOICE LISTS *****************************/

GLOBAL RESOURCE MENU sys_no_yes
    {
    items =
        {
        CHOICE_ITEM { str= "No";},
        CHOICE_ITEM { str="Yes";}
        };
    }

GLOBAL RESOURCE MENU sys_offon_menu
    {
    items =
        {
        CHOICE_ITEM { str="Off";},
        CHOICE_ITEM { str= "On";}
        };
    }

GLOBAL RESOURCE MENU sys_printer_units_chlist
    {
    items =
        {
        CHOICE_ITEM { str= "Inches";},        /* matches with E_IMPERIAL */
        CHOICE_ITEM { str= "Centimetres";}    /* matches with E_METRIC */
        };
    }

GLOBAL RESOURCE MENU sys_printer_device_chlist
    {
    items =
        {
        CHOICE_ITEM { str= "Parallel";},
        CHOICE_ITEM { str= "Serial";},
        CHOICE_ITEM { str= "File";}
        };
    }

GLOBAL RESOURCE MENU sys_baud_rate_chlist
    {
    items =
        {
        CHOICE_ITEM { str= "9600";},
        CHOICE_ITEM { str= "4800";},
        CHOICE_ITEM { str= "2400";},
        CHOICE_ITEM { str= "1200";},
        CHOICE_ITEM { str= "600";},
        CHOICE_ITEM { str= "300";}
        };
    }

GLOBAL RESOURCE MENU sys_data_bits_chlist
    {
    items =
        {
        CHOICE_ITEM { str="5";},
        CHOICE_ITEM { str="6";},
        CHOICE_ITEM { str="7";},
        CHOICE_ITEM { str="8";}
        };
    }

GLOBAL RESOURCE MENU sys_stop_bits_chlist
    {
    items =
        {
        CHOICE_ITEM { str="1";},
        CHOICE_ITEM { str="2";}
        };
    }

GLOBAL RESOURCE MENU sys_parity_chlist
    {
    items =
        {
        CHOICE_ITEM { str="None";},
        CHOICE_ITEM { str="Even";},
        CHOICE_ITEM { str= "Odd";}
        };
    }

GLOBAL RESOURCE MENU sys_format_chlist
    {
    items =
        {
        CHOICE_ITEM { str="Fixed";},
        CHOICE_ITEM { str="Scientific";},
        CHOICE_ITEM { str="General";},
        CHOICE_ITEM { str="Hexadecimal";}
        };
    }

GLOBAL RESOURCE MENU sys_rad_deg
    {
    items =
        {
        CHOICE_ITEM { str= "Radians";},
        CHOICE_ITEM { str= "Degrees";}
        };
    }

/* IMPORTANT, order in next array must be same as in page_size menu below */
/* Also, at most 10 entries allowed, and the first two cannot be altered */
/* But change any of the others, if you wish */
/* 1 mm is 1440/25.4 units in the dimensions used, so eg 148 mm is 8391 */
/* so you could have  {width=8391; ... for one entry (an A5 letter size) */

GLOBAL RESOURCE PAGE_SIZE_ARRAY sys_page_dimensions
    {
    page_size=
        {
        PAGE_SIZE {width=PAGE_WIDTH_A4;      length=PAGE_LENGTH_A4;},
        PAGE_SIZE {width=PAGE_WIDTH_A4;      length=PAGE_LENGTH_A4;},
        PAGE_SIZE {width=PAGE_WIDTH_EXECUTIVE; length=PAGE_LENGTH_EXECUTIVE;},
        PAGE_SIZE {width=PAGE_WIDTH_LEGAL;   length=PAGE_LENGTH_LEGAL;},
        PAGE_SIZE {width=PAGE_WIDTH_LETTER;  length=PAGE_LENGTH_LETTER;},
        PAGE_SIZE {width=PAGE_WIDTH_MONARCH; length=PAGE_LENGTH_MONARCH;},
        PAGE_SIZE {width=PAGE_WIDTH_DL;      length=PAGE_LENGTH_DL;}
        };
    }

GLOBAL RESOURCE MENU sys_page_size
    {
    items=
        {
        CHOICE_ITEM {str="A4";},
        CHOICE_ITEM {str="Custom";},
        CHOICE_ITEM {str="Executive";},
        CHOICE_ITEM {str="Legal";},
        CHOICE_ITEM {str="Letter";},
        CHOICE_ITEM {str="Monarch";},
        CHOICE_ITEM {str="DL";}
        };
    }

GLOBAL RESOURCE MENU sys_orient
    {
    items=
        {
        CHOICE_ITEM {str="Portrait";},
        CHOICE_ITEM {str="Landscape";}
        };
    }

GLOBAL RESOURCE MENU sys_prn_pos
    {
    items=
        {
        CHOICE_ITEM {str="Normal";},
        CHOICE_ITEM {str="Superscript";},
        CHOICE_ITEM {str="Subscript";}
        };
    }

GLOBAL RESOURCE MENU sys_headfoot_align
    {
    items=
        {
        CHOICE_ITEM {str="Left";},
        CHOICE_ITEM {str="Right";},
        CHOICE_ITEM {str="Centred";},
        CHOICE_ITEM {str="Justified";},
        CHOICE_ITEM {str="Two column";},
        CHOICE_ITEM {str="Three column";}
        };
    }

GLOBAL RESOURCE MENU sys_pgno_choice
    {
    items=
        {
        CHOICE_ITEM {str="1,2,3";},
        CHOICE_ITEM {str="I,II,III";},
        CHOICE_ITEM {str="i,ii,iii";}
        };
    }


/************************* DIALOGS ********************************/

GLOBAL RESOURCE DIALOG sys_error_dialog
    {
    flags=DLGBOX_RBUF_FILLED|DLGBOX_NO_DDP;
    controls=
        {
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD|DLGBOX_ITEM_UNDERLINED;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                };
            },
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                };
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_ac_continue;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_query_dialog
    {
    flags = DLGBOX_ACTION_LIST|DLGBOX_REPORT_ACT_HORIZ;
    controls=
        {
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD|DLGBOX_ITEM_UNDERLINED;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                };
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_ac_no_yes;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_printing_dialog
    {
    flags=DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD|DLGBOX_ITEM_UNDERLINED;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                };
            },
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                };
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_ac_abandon;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_set_port_dialog
    {
    title="Set Serial port";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_CHLIST;
            prompt="Baud rate";
            info=CHLIST
                {
                rid=sys_baud_rate_chlist;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Data bits";
            info=CHLIST
                {
                rid=sys_data_bits_chlist;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Stop bits";
            info=CHLIST
                {
                rid=sys_stop_bits_chlist;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Parity";
            info=CHLIST
                {
                rid=sys_parity_chlist;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Ignore parity";
            info=CHLIST
                {
                rid=sys_no_yes;
                nsel=0;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_set_hshk_dialog
    {
    title="Set serial handshake";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_CHLIST;
            prompt="Xon/Xoff";
            info=CHLIST
                {
                rid=sys_offon_menu;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Rts/Cts";
            info=CHLIST
                {
                rid=sys_offon_menu;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Dsr/Dtr";
            info=CHLIST
                {
                rid=sys_offon_menu;
                nsel=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Dcd";
            info=CHLIST
                {
                rid=sys_offon_menu;
                nsel=0;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_printer_config_dialog
    {
    title="Printer configuration";
    flags=DLGBOX_NOTIFY_ENTER;
    controls=
        {
        CONTROL
            {
            class=C_CHLIST;
            prompt="Printer device";
            flags=DLGBOX_ITEM_NOTIFY_CHANGED;
            info=CHLIST
                {
                rid=sys_printer_device_chlist;
                };
            },
        CONTROL
            {
            class=C_TEXTWIN;
            prompt="Serial characteristics "<WS_SYMBOL_ELLIPSIS>;
            info=TXTMESS
                {
                str="9600 "<WS_SYMBOL_ELLIPSIS>;
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL
            {
            class=C_TEXTWIN;
            prompt="Serial handshaking "<WS_SYMBOL_ELLIPSIS>;
            info=TXTMESS
                {
                str="Xon/Xoff Off "<WS_SYMBOL_ELLIPSIS>;
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL
            {
            flags=DLGBOX_ITEM_NEEDS_PACK|DLGBOX_ITEM_NOTIFY_CHANGED;
            class=C_FNEDIT;
            prompt="File:";
            info=FNEDIT { flags=IN_FNEDIT_NO_AUTOQUERY; };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Units";
            info=CHLIST
                {
                rid=sys_printer_units_chlist;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_eval_dialog
    {
    title="Set Calculator format";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            flags=DLGBOX_ITEM_NOTIFY_CHANGED;
            class=C_CHLIST;
            prompt="Format";
            info=CHLIST { rid=sys_format_chlist; };
            }, 
        CONTROL
            {
            class=C_NCEDIT;
 /* The following line must be the longer of the 2 above strings */
 /* sys_dec_places and sys_sig_digits */
            prompt="Significant digits"; 
            info=NCEDIT
                {
                high=12;
                low=0;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Trigonometry units";
            info=CHLIST { rid=sys_rad_deg; };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_country_selector_dialog
    {
    title="Append country";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_ACTION_LIST|DLGBOX_RBUF_FILLED; 
    controls=
        {
        CONTROL
            {
            class=C_WLDSELWN;
            prompt="Country";
            info=WLDSELWN {flags=IN_WLDSELWN_COUNTRY|IN_WLDSELWN_SETHOME; };
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_append_aclist;
                };
            }
        };
    }            

GLOBAL RESOURCE CONTROL sys_smart_dial_item
    {
    class=C_EDWIN;
    prompt=<WS_SYMBOL_PHONE>;
    info=EDWIN
        {
        maxlen=WR_MAX_DIAL_STRING;
        vulen=20;
        flags=IN_EDWIN_VULEN_CHARACTERS|IN_EDWIN_NO_AUTOSELECT;
        };
    }

GLOBAL RESOURCE DIALOG sys_smart_dial_dialog
    {
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_ACTION_LIST|DLGBOX_RBUF_FILLED; 
    controls=
        {
        CONTROL
            {
            class=C_TEXTWIN;
            flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD|DLGBOX_ITEM_UNDERLINED;
            info=TXTMESS
                {
                flags=IN_TEXTWIN_AL_CENTRE;
                str="Dial";
                };
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_smart_dial_aclist;
                };
            }
        };
    }
 
GLOBAL RESOURCE DIALOG sys_freedial_dialog
    {
    title="Free-form dialling";
    flags = DLGBOX_NO_WAIT|DLGBOX_NO_DDP;
    controls=
        {
        CONTROL
            {
            class=C_FREEDIAL;
            prompt=<WS_SYMBOL_PHONE>;
            },
        CONTROL
            {
            class=C_ACLIST;
            info=ACLIST
                {
                rid=sys_freedial_aclist;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_flist_dialog
    {
    title="Specify filelist";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_EDWIN;
            prompt="Filename pattern";
            info=EDWIN
                {
                maxlen=P_FNAMESIZE;
                vulen=18;
                flags=IN_EDWIN_VULEN_CHARACTERS;
                };
            },
        CONTROL
            {
            class=C_EDWIN;
            prompt="Full path";
            info=EDWIN
                {
                maxlen=P_FNAMESIZE;
                vulen=18;
                flags=IN_EDWIN_VULEN_CHARACTERS;
                };
            }
        };
    }
 
GLOBAL RESOURCE DIALOG sys_print_control_dl
    {
    title="Print setup";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_NOTIFY_ESCAPE;
    controls=
        {
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Page size";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Margins";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Header";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Footer";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Paging control";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Printer model";
            info=TXTMESS
                {
                str="";
                flags=IN_TEXTWIN_POPOUT;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_paging_control_dl
    {
    title="Paging control";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            class=C_NCEDIT;
            prompt="Number for first page";
            info=NCEDIT
                {
                low=1;
                high=9999;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Allow widows/orphans";
            info=CHLIST{rid=sys_no_yes;};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Page number style";
            info=CHLIST{rid=sys_pgno_choice;};
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_printer_model
    {
    title="Set printer";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            prompt="Select printer";
            flags=DLGBOX_ITEM_NOTIFY_CHANGED;
            class=C_CHLIST;
            info=CHLIST{};
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Default font";
            info=TXTMESS
                {
                flags=IN_TEXTWIN_POPOUT;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_margins_dl
    {
    title="Margins";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED|DLGBOX_APPEND_UNITS_TITLE;
    controls=
        {
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Top";
            info=FLTEDIT
                {
                low=0;
                high=9.99;
                ndec=2;
                };
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Left";
            info=FLTEDIT
                {
                low=0;
                high=9.99;
                ndec=2;
                };
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Right";
            info=FLTEDIT
                {
                low=0;
                high=9.99;
                ndec=2;
                };
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Bottom";
            info=FLTEDIT
                {
                low=0;
                high=9.99;
                ndec=2;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_headfoot_dl
    {
    title="*";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED|DLGBOX_APPEND_UNITS_TITLE;
    controls=
        {
        CONTROL
            {
            class=C_EDWIN;
            prompt="Text";
            info=EDWIN
                {
                flags=IN_EDWIN_VULEN_CHARACTERS|IN_EDWIN_ACCEPT_TABS;
                maxlen=80;
                vulen=20;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Alignment";
            info=CHLIST{rid=sys_headfoot_align;};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="On first page";
            info=CHLIST{rid=sys_no_yes;};
            },
        CONTROL                         
            {
            class=C_TEXTWIN;
            prompt="Font";
            info=TXTMESS
                {
                flags=IN_TEXTWIN_POPOUT;
                };
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Vertical offset";
            info=FLTEDIT
                {
                low=0;
                high=9.99;
                ndec=2;
                };
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_pagesize_dl
    {
    title="Page size";
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED|DLGBOX_APPEND_UNITS_TITLE;
    controls=
        {
        CONTROL
            {
            class=C_CHLIST;
            flags=DLGBOX_ITEM_NOTIFY_CHANGED;
            prompt="Page size";
            info=CHLIST{rid=sys_page_size;};
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Width";
            info=FLTEDIT
                {
                low=0;
                high=45;
                ndec=2;
                };
            },
        CONTROL
            {
            class=C_FLTEDIT;
            prompt="Height";
            info=FLTEDIT
                {
                low=0;
                high=45;
                ndec=2;
                };
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Orientation";
            info=CHLIST{rid=sys_orient;};
            }
        };
    }

GLOBAL RESOURCE DIALOG sys_font_dl
    {
    title="Font";  
    flags=DLGBOX_NOTIFY_ENTER|DLGBOX_RBUF_FILLED;
    controls=
        {
        CONTROL
            {
            flags=DLGBOX_ITEM_NOTIFY_CHANGED;
            class=C_CHLIST;
            prompt="Font";
            info=CHLIST{};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Size";
            info=CHLIST{};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Underline";
            info=CHLIST{rid=sys_no_yes;};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Bold";
            info=CHLIST{rid=sys_no_yes;};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Italic";
            info=CHLIST{rid=sys_no_yes;};
            },
        CONTROL
            {
            class=C_CHLIST;
            prompt="Print position";
            info=CHLIST{rid=sys_prn_pos;};
            }
        };
    }

GLOBAL RESOURCE CONTROL sys_txtmess
    {
    class=C_TEXTWIN;
    flags=DLGBOX_ITEM_CENTRE|DLGBOX_ITEM_DEAD;
    info=TXTMESS
        {
        flags=IN_TEXTWIN_AL_CENTRE;
        };
    }


/************************* HELP ********************************/

GLOBAL RESOURCE TOPIC_ARRAY sys_help_index_data
{
id_lst=
{
sys_help_on_off,
sys_time_basics,
sys_help_edit,
sys_help_dialog,
sys_help_statwin,
sys_help_dialling,
sys_help_files,
sys_help_filsels,
sys_help_print
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_index
{
topic="Index";
topic_id=sys_help_index_data;
}

GLOBAL RESOURCE HELP_ARRAY sys_help_on_help
{
topic="About Help";
strlst=
{
STRING {str="To choose a topic:"<WS_SYMBOL_NS><WS_SYMBOL_UP_KEY><WS_SYMBOL_DOWN_KEY><WS_SYMBOL_NS>"then Enter";},
STRING {str="";},
STRING {str="Esc returns to previous screen";},
STRING {str="Control-Esc exits";},
STRING {str="";},
STRING {str="Control-Help for an index";}
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_dialog
{
topic="Menu/dialog tips";
strlst=
{
STRING {str="Use hot-keys ("<WS_SYMBOL_PSION>"-N etc) for menu options";},
STRING {str="";},
STRING {str="Tab often lists choices in dialogs";}
};
}



GLOBAL RESOURCE HELP_ARRAY sys_help_statwin
{
topic="Status window";
strlst=
{
STRING {str="Press "<WS_SYMBOL_PSION>"-Menu for a Status Window";},
STRING {str="Control-Menu sets it on/off";}
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_dialling
{
topic="Dialling";
strlst=
{    
STRING {str="Find an entry then press Dial ("<WS_SYMBOL_PSION>"-Help)";},
STRING {str="";},
STRING {str=<WS_SYMBOL_PHONE>" marks numbers; Shift-Dial inserts a "<WS_SYMBOL_PHONE>;},
STRING {str="";},
STRING {str="Control-Dial "<WS_SYMBOL_RIGHT_ARROWHEAD>" free-form dialler";}
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_filsels
{
topic="File selection";
strlst=
{
STRING {str="Press Tab to choose from a full list of";},
STRING {str="files/directories:";},
STRING {str="Typing matches files";},
STRING {str="Shift-Letter matches directories";},
STRING {str="Control-Letter matches disks";},
STRING {str="";},
STRING {str="On System screen:";},
STRING {str="Menu now gives file/directory options;";},
STRING {str=<WS_SYMBOL_NS>"+- (or Shift-"<WS_SYMBOL_UP_KEY><WS_SYMBOL_DOWN_KEY>")"<WS_SYMBOL_NS>"tag/untag a file";},
STRING {str=<WS_SYMBOL_NS>"*/"<WS_SYMBOL_NS>"tag/untag all";},
STRING {str="";},
STRING {str="In dialogs:";},
STRING {str=""<WS_SYMBOL_PSION>"-Tab gives full path";},
STRING {str="For quick wildcarding,";},
STRING {str="use Control-Tab then Control-Enter";}
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_edit
{
topic="Editing";
strlst=
{
STRING {str="Use "<WS_SYMBOL_UP_KEY><WS_SYMBOL_DOWN_KEY><WS_SYMBOL_LEFT_KEY><WS_SYMBOL_RIGHT_KEY>" to move cursor";},
STRING {str="The Control and "<WS_SYMBOL_PSION>" keys increase movement";},
STRING {str="";},
STRING {str="Shift-"<WS_SYMBOL_UP_KEY><WS_SYMBOL_DOWN_KEY><WS_SYMBOL_LEFT_KEY><WS_SYMBOL_RIGHT_KEY>" highlights text:";},
STRING {str="Use Delete to cut, or `Copy' to copy text";},
STRING {str="then `Insert' pastes the text back in;";},
STRING {str="Shift-Delete deletes text without";},
STRING {str="changing what `Insert' will next insert";},
STRING {str="";},
STRING {str="Quick delete methods (when no highlight):";},
STRING {str="Shift-Delete: character forwards";},
STRING {str="Shift-"<WS_SYMBOL_PSION>"-Delete: to end of line";},
STRING {str=""<WS_SYMBOL_PSION>"-Delete: to beginning of line";},
STRING {str="";},
STRING {str="Quick highlight methods:";},
STRING {str="Shift-Control-Home: current word";},
STRING {str="Shift-Control-End: current paragraph";}
};
}

GLOBAL RESOURCE TOPIC_ARRAY sys_help_x_help
{
id_lst=
{
sys_help_on_help
};
}

GLOBAL RESOURCE HELP_ARRAY sys_help_files
{
topic="Files";
strlst=
{
STRING {str="Create with `New file'";},
STRING {str="";},
STRING {str="Select from System screen";},
STRING {str="";},
STRING {str="Copy with `Save as'";}
};
}


GLOBAL RESOURCE HELP_ARRAY sys_help_print
{
topic="How to print";
strlst=
{
STRING {str="Set Printer Model with `Print setup'";},
STRING {str="in Word/Agenda/Data, then use `Print'";}
};
}

GLOBAL RESOURCE HELP_ARRAY sys_time_basics
{
topic="Time basics";    /* DON'T change to just "Basics" */
strlst=
{
STRING {str="Set `Home city', then `Time and date'";},
STRING {str="";},
STRING {str="Set `Summer times' on/off when they change";},
STRING {str="";},
STRING {str="`Formats' sets 12/24 hour clocks";}
};
}


GLOBAL RESOURCE HELP_ARRAY sys_help_on_off
{
topic="On/off";
strlst=
{
STRING {str="Esc turns on";},
STRING {str=<WS_SYMBOL_PSION>"-1 turns off";}
};
}

GLOBAL RESOURCE TOPIC_ARRAY sys_help_x_index
{
id_lst=
{
sys_help_index
};
}

/************************* LATER ADDITIONS ********************************/

GLOBAL RESOURCE STRING sys_wdr_general { str="General"; }
                /* Name of general printer driver */

GLOBAL RESOURCE STRING sys_dial_out { str="9,"; }       /* 5 chars max */
GLOBAL RESOURCE STRING sys_skipping_page { str="(skipping page %u)";}
