home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / progmisc / tde221.zip / GLOBAL.H < prev    next >
Text File  |  1993-04-01  |  29KB  |  419 lines

  1. /*******************  start of original comments  ********************/
  2. /*
  3.  * Written by Douglas Thomson (1989/1990)
  4.  *
  5.  * This source code is released into the public domain.
  6.  */
  7. /*********************  end of original comments   ********************/
  8.  
  9. /*
  10.  * New editor name:  TDE, the Thomson-Davis Editor.
  11.  * Author:           Frank Davis
  12.  * Date:             June 5, 1991
  13.  *
  14.  * This modification of Douglas Thomson's code is released into the
  15.  * public domain, Frank Davis.  You may distribute it freely.
  16.  *
  17.  * See "tdestr.h" for a description of these variables. C requires global
  18.  *  variables to be declared "extern" in all modules except one.  This file
  19.  *  is included in ed.c and it should not be included in any other module.
  20.  */
  21.  
  22. displays g_display;
  23.  
  24. status_infos g_status;
  25.  
  26. boyer_moore_type bm;
  27.  
  28. boyer_moore_type sas_bm;
  29.  
  30. CEH ceh;
  31.  
  32. SORT sort;
  33.  
  34. DIFF diff;
  35.  
  36. MACRO_STACK macro_stack[MAX_KEYS];      /* small, simple stack for calls */
  37.  
  38.  
  39.  
  40. /*
  41.  *   those who use special accented characters as part of normal character set
  42.  *     in text do not particularly care for a straight ASCII sort sequence.
  43.  *
  44.  *   this modified ASCII sorting sequence for special accent characters is
  45.  *     useful with Enlish, Esperanto, and French.
  46.  */
  47. SORT_ORDER sort_order = {
  48.                /* ignore case */
  49.    { '\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07',
  50.      '\x08', '\x09', '\x0a', '\x0b', '\x0c', '\x0d', '\x0e', '\x0f',
  51.      '\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17',
  52.      '\x18', '\x19', '\x1a', '\x1b', '\x1c', '\x1d', '\x1e', '\x1f',
  53.      ' ', '!', '\"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',',
  54.      '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
  55.      ':', ';', '<', '=', '>', '?',
  56.      '@', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
  57.      'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '[',
  58.      '\\', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
  59.      'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
  60.      'x', 'y', 'z', '{', '|', '}', '~', '', 'c', 'u', 'e', 'a', 'a', 'a',
  61.      'a', 'c', 'e', 'e', 'e', 'i', 'i', 'i', 'a', 'a', 'e', 'a', 'a', 'o',
  62.      'o', 'o', 'u', 'u', 'y', 'o', 'u', '¢', '£', '¥', '₧', 'ƒ', 'a', 'i',
  63.      'o', 'u', 'n', 'n', 'ª', 'º', '¿', '⌐', '¬', '½', '¼', '¡', '«', '»',
  64.      '░', '▒', '▓', '│', '┤', '╡', '╢', '╖', '╕', '╣', '║', '╗', '╝', '╜',
  65.      '╛', '┐', '└', '┴', '┬', '├', '─', '┼', '╞', '╟', '╚', '╔', '╩', '╦',
  66.      '╠', '═', '╬', '╧', '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', '╪', '┘',
  67.      '┌', '█', '▄', '▌', '▐', '▀', 'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',
  68.      'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', '≡', '±', '≥', '≤', '⌠', '⌡',
  69.      '÷', '≈', '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ' },
  70.                /* match case */
  71.    { '\x00', '\x01', '\x02', '\x03', '\x04', '\x05', '\x06', '\x07',
  72.      '\x08', '\x09', '\x0a', '\x0b', '\x0c', '\x0d', '\x0e', '\x0f',
  73.      '\x10', '\x11', '\x12', '\x13', '\x14', '\x15', '\x16', '\x17',
  74.      '\x18', '\x19', '\x1a', '\x1b', '\x1c', '\x1d', '\x1e', '\x1f',
  75.      ' ', '!', '\"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',',
  76.      '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
  77.      ':', ';', '<', '=', '>', '?',
  78.      '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
  79.      'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[',
  80.      '\\', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i',
  81.      'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w',
  82.      'x', 'y', 'z', '{', '|', '}', '~', '', 'C', 'u', 'e', 'a', 'a', 'a',
  83.      'a', 'c', 'e', 'e', 'e', 'i', 'i', 'i', 'A', 'A', 'E', 'a', 'A', 'o',
  84.      'o', 'o', 'u', 'u', 'y', 'O', 'U', '¢', '£', '¥', '₧', 'ƒ', 'a', 'i',
  85.      'o', 'u', 'n', 'N', 'ª', 'º', '¿', '⌐', '¬', '½', '¼', '¡', '«', '»',
  86.      '░', '▒', '▓', '│', '┤', '╡', '╢', '╖', '╕', '╣', '║', '╗', '╝', '╜',
  87.      '╛', '┐', '└', '┴', '┬', '├', '─', '┼', '╞', '╟', '╚', '╔', '╩', '╦',
  88.      '╠', '═', '╬', '╧', '╨', '╤', '╥', '╙', '╘', '╒', '╓', '╫', '╪', '┘',
  89.      '┌', '█', '▄', '▌', '▐', '▀', 'α', 'ß', 'Γ', 'π', 'Σ', 'σ', 'µ', 'τ',
  90.      'Φ', 'Θ', 'Ω', 'δ', '∞', 'φ', 'ε', '∩', '≡', '±', '≥', '≤', '⌠', '⌡',
  91.      '÷', '≈', '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ' },
  92. };
  93.  
  94.  
  95. mode_infos mode = {
  96.    "$ modes",           /* signature for mode structure, 8 chars */
  97.    0,                   /* initial color scheme */
  98.    FALSE,               /* sync mode? */
  99.    TRUE,                /* sync semaphore must be TRUE - DO NOT CHANGE */
  100.    FALSE,               /* macro recording mode must be FALSE - DO NOT CHANGE */
  101.    TRUE,                /* insert mode */
  102.    TRUE,                /* indent mode */
  103.    8,                   /* tab size */
  104.    8,                   /* tab size */
  105.    TRUE,                /* default smart tab mode */
  106.    FALSE,               /* inflate tabs? */
  107.    IGNORE,              /* sort case */
  108.    FALSE,               /* enhanced keyboard flag - set in console.c */
  109.    SMALL_INS,           /* default cursor size == small insert */
  110.    "<=======   End of File   =======>",       /* eof message */
  111.    FALSE,               /* default FALSE = do not write ^Z at end of file */
  112.    NATIVE,              /* default write <cr><lf> at eol */
  113.    TRUE,                /* default remove trailing space on edited lines */
  114.    FALSE,               /* default show eol character is off */
  115.    NO_WRAP,             /* default word wrap mode is off */
  116.    0,                   /* default left margin - add 1 to margins for display */
  117.    2,                   /* default paragraph begin */
  118.    71,                  /* default right margin */
  119.    FALSE,               /* default justify right margin */
  120.    FALSE,               /* format paragraph/text semaphore - DO NOT CHANGE */
  121.    UNDO_STACK_LEN,      /* number lines in undo buffer */
  122.    FALSE,               /* default backup mode */
  123.    TRUE,                /* default ruler mode */
  124.    MM_DD_YY,            /* default date style */
  125.    _12_HOUR             /* default time style */
  126. };
  127.  
  128.  
  129. /*
  130.  * Default color settings.  Incidentally, I'm color blind (mild red-green) and
  131.  * the default colors look fine to me, Frank.
  132.  */
  133. COLORS colour = {
  134.    "$colors",
  135.    { { HERC_REVERSE, HERC_NORMAL, HERC_UNDER, HERC_REVERSE, HERC_REVERSE,
  136.      HERC_HIGH, HERC_NORMAL, HERC_NORMAL, HERC_HIGH, HERC_HIGH, HERC_HIGH,
  137.      HERC_REVERSE, HERC_REVERSE, HERC_NORMAL },
  138.    { COLOR_HEAD, COLOR_TEXT, COLOR_DIRTY, COLOR_MODE, COLOR_BLOCK,
  139.      COLOR_MESSAGE, COLOR_HELP, COLOR_DIAG, COLOR_EOF, COLOR_CURL, COLOR_RULER,
  140.      COLOR_POINTER, COLOR_TEXT, COLOR_OVRS } }
  141. };
  142.  
  143.  
  144.  
  145. /*
  146.  * do_it is an array of pointers to functions that return int with an argument
  147.  * that is a pointer to a window.  Is that right???
  148.  */
  149. int  (* (do_it[NUM_FUNCS]))( WINDOW * ) = {
  150.    insert_overwrite,                /*   regular text keys        0  */
  151.    get_help,                        /*   Help                     1  */
  152.    insert_newline,                  /*   Rturn                    2  */
  153.    next_line,                       /*   NextLine                 3  */
  154.    beg_next_line,                   /*   BegNextLine              4  */
  155.    move_down,                       /*   LineDown                 5  */
  156.    move_up,                         /*   LineUp                   6  */
  157.    move_right,                      /*   CharRight                7  */
  158.    move_left,                       /*   CharLeft                 8  */
  159.    pan_right,                       /*   PanRight                 9  */
  160.    pan_left,                        /*   PanLeft                 10  */
  161.    word_right,                      /*   WordRight               11  */
  162.    word_left,                       /*   WordLeft                12  */
  163.    page_down,                       /*   ScreenDown              13  */
  164.    page_up,                         /*   ScreenUp                14  */
  165.    goto_end_file,                   /*   EndOfFile               15  */
  166.    goto_top_file,                   /*   TopOfFile               16  */
  167.    goto_bottom,                     /*   BotOfScreen             17  */
  168.    goto_top,                        /*   TopOfScreen             18  */
  169.    goto_eol,                        /*   EndOfLine               19  */
  170.    home,                            /*   BegOfLine               20  */
  171.    goto_line,                       /*   JumpToLine              21  */
  172.    center_window,                   /*   CenterWindow            22  */
  173.    center_window,                   /*   CenterLine              23  */
  174.    horizontal_screen_right,         /*   HorizontalScreenRight   24  */
  175.    horizontal_screen_left,          /*   HorizontalScreenLeft    25  */
  176.    scroll_down,                     /*   ScrollDnLine            26  */
  177.    scroll_up,                       /*   ScrollUpLine            27  */
  178.    pan_up,                          /*   PanUp                   28  */
  179.    pan_down,                        /*   PanDn                   29  */
  180.    toggle_overwrite,                /*   ToggleOverWrite         30  */
  181.    toggle_smart_tabs,               /*   ToggleSmartTabs         31  */
  182.    toggle_indent,                   /*   ToggleIndent            32  */
  183.    toggle_ww,                       /*   ToggleWordWrap          33  */
  184.    toggle_crlf,                     /*   ToggleCRLF              34  */
  185.    toggle_trailing,                 /*   ToggleTrailing          35  */
  186.    toggle_z,                        /*   ToggleZ                 36  */
  187.    toggle_eol,                      /*   ToggleEol               37  */
  188.    toggle_sync,                     /*   ToggleSync              38  */
  189.    toggle_ruler,                    /*   ToggleRuler             39  */
  190.    toggle_tabinflate,               /*   ToggleTabInflate        40  */
  191.    set_tabstop,                     /*   SetTabs                 41  */
  192.    set_left_margin,                 /*   SetLeftMargin           42  */
  193.    set_right_margin,                /*   SetRightMargin          43  */
  194.    set_paragraph_margin,            /*   SetParagraphMargin      44  */
  195.    format_paragraph,                /*   FormatParagraph         45  */
  196.    format_paragraph,                /*   FormatText              46  */
  197.    flush_left,                      /*   LeftJustify             47  */
  198.    flush_right,                     /*   RightJustify            48  */
  199.    flush_center,                    /*   CenterJustify           49  */
  200.    tab_key,                         /*   Tab                     50  */
  201.    backtab,                         /*   BackTab                 51  */
  202.    match_pair,                      /*   ParenBalance            52  */
  203.    back_space,                      /*   BackSpace               53  */
  204.    char_del_under,                  /*   DeleteChar              54  */
  205.    char_del_under,                  /*   StreamDeleteChar        55  */
  206.    line_kill,                       /*   DeleteLine              56  */
  207.    eol_kill,                        /*   DelEndOfLine            57  */
  208.    word_delete,                     /*   WordDelete              58  */
  209.    insert_newline,                  /*   AddLine                 59  */
  210.    insert_newline,                  /*   SplitLine               60  */
  211.    join_line,                       /*   JoinLine                61  */
  212.    dup_line,                        /*   DuplicateLine           62  */
  213.    undo_line,                       /*   AbortCommand            63  */
  214.    undo_line,                       /*   UndoLine                64  */
  215.    undo,                            /*   UndoDelete              65  */
  216.    toggle_search_case,              /*   ToggleSearchCase        66  */
  217.    find_string,                     /*   FindForward             67  */
  218.    find_string,                     /*   FindBackward            68  */
  219.    find_string,                     /*   RepeatFindForward1      69  */
  220.    find_string,                     /*   RepeatFindForward2      70  */
  221.    find_string,                     /*   RepeatFindBackward1     71  */
  222.    find_string,                     /*   RepeatFindBackward2     72  */
  223.    replace_string,                  /*   ReplaceString           73  */
  224.    define_diff,                     /*   DefineDiff              74  */
  225.    repeat_diff,                     /*   RepeatDiff              75  */
  226.    mark_block,                      /*   MarkBlock               76  */
  227.    mark_block,                      /*   MarkLine                77  */
  228.    mark_block,                      /*   MarkStream              78  */
  229.    unmark_block,                    /*   UnMarkBlock             79  */
  230.    move_copy_delete_overlay_block,  /*   FillBlock               80  */
  231.    move_copy_delete_overlay_block,  /*   NumberBlock             81  */
  232.    move_copy_delete_overlay_block,  /*   CopyBlock               82  */
  233.    move_copy_delete_overlay_block,  /*   KopyBlock               83  */
  234.    move_copy_delete_overlay_block,  /*   MoveBlock               84  */
  235.    move_copy_delete_overlay_block,  /*   OverlayBlock            85  */
  236.    move_copy_delete_overlay_block,  /*   DeleteBlock             86  */
  237.    move_copy_delete_overlay_block,  /*   SwapBlock               87  */
  238.    block_write,                     /*   BlockToFile             88  */
  239.    block_print,                     /*   PrintBlock              89  */
  240.    block_expand_tabs,               /*   BlockExpandTabs         90  */
  241.    block_compress_tabs,             /*   BlockCompressTabs       91  */
  242.    block_compress_tabs,             /*   BlockIndentTabs         92  */
  243.    block_trim_trailing,             /*   BlockTrimTrailing       93  */
  244.    block_convert_case,              /*   BlockUpperCase          94  */
  245.    block_convert_case,              /*   BlockLowerCase          95  */
  246.    block_convert_case,              /*   BlockRot13              96  */
  247.    block_convert_case,              /*   BlockFixUUE             97  */
  248.    block_email_reply,               /*   BlockEmailReply         98  */
  249.    block_convert_case,              /*   BlockStripHiBit         99  */
  250.    sort_box_block,                  /*   SortBoxBlock           100  */
  251.    date_time_stamp,                 /*   DateTimeStamp          101  */
  252.    edit_another_file,               /*   EditFile               102  */
  253.    dir_help,                        /*   DirList                103  */
  254.    file_file,                       /*   File                   104  */
  255.    save_file,                       /*   Save                   105  */
  256.    save_as_file,                    /*   SaveAs                 106  */
  257.    change_fattr,                    /*   SetFileAttributes      107  */
  258.    edit_next_file,                  /*   EditNextFile           108  */
  259.    search_and_seize,                /*   DefineSearchAndSeize   109  */
  260.    search_and_seize,                /*   RepeatSearchAndSeize   110  */
  261.    redraw_screen,                   /*   RedrawScreen           111  */
  262.    size_window,                     /*   SizeWindow             112  */
  263.    split_horizontal,                /*   SplitHorizontal        113  */
  264.    split_vertical,                  /*   SplitVertical          114  */
  265.    next_window,                     /*   NextWindow             115  */
  266.    prev_window,                     /*   PreviousWindow         116  */
  267.    zoom_window,                     /*   ZoomWindow             117  */
  268.    next_hidden_window,              /*   NextHiddenWindow       118  */
  269.    set_marker,                      /*   SetMark1               119  */
  270.    set_marker,                      /*   SetMark2               120  */
  271.    set_marker,                      /*   SetMark3               121  */
  272.    goto_marker,                     /*   GotoMark1              122  */
  273.    goto_marker,                     /*   GotoMark2              123  */
  274.    goto_marker,                     /*   GotoMark3              124  */
  275.    record_on_off,                   /*   RecordMacro            125  */
  276.    play_back,                       /*   PlayBack               126  */
  277.    save_strokes,                    /*   SaveMacro              127  */
  278.    load_strokes,                    /*   LoadMacro              128  */
  279.    clear_macros,                    /*   ClearAllMacros         129  */
  280.    pause,                           /*   Pause                  130  */
  281.    quit,                            /*   Quit                   131  */
  282.    next_dirty_line,                 /*   NextDirtyLine          132  */
  283.    prev_dirty_line,                 /*   PrevDirtyLine          133  */
  284.    two_key                          /*   TwoCharKey             134  */
  285. };
  286.  
  287. /*
  288.  * set the 256 possible function keys to FS (First Stroke)
  289.  * set the 1024 stroke buffer keys to SK (Stroke Key) and SN (Stroke Next)
  290.  */
  291. #define         FS      ((STROKE_LIMIT)+1)
  292. #define         SK      ((MAX_KEYS)+1)
  293. #define         SN      ((STROKE_LIMIT)+1)
  294.  
  295. MACRO macro = {
  296.    "$macbuf",
  297.                /* 16 rows of 16 = 256 = MAX_KEYS */
  298.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  299.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  300.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  301.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  302.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  303.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  304.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  305.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  306.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  307.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  308.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  309.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  310.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  311.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  312.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  313.    FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS, FS,
  314.                  /* 102.4 rows of 10 = 1024 = STROKE_LIMIT */
  315. {{SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  316. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  317. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  318. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  319. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  320. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  321. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  322. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  323. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  324. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  325. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  326. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  327. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  328. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  329. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  330. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  331. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  332. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  333. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  334. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  335. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  336. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  337. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  338. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  339. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  340. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  341. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  342. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  343. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  344. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  345. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  346. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  347. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  348. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  349. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  350. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  351. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  352. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  353. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  354. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  355. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  356. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  357. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  358. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  359. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  360. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  361. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  362. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  363. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  364. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  365. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  366. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  367. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  368. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  369. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  370. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  371. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  372. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  373. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  374. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  375. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  376. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  377. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  378. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  379. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  380. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  381. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  382. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  383. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  384. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  385. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  386. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  387. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  388. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  389. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  390. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  391. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  392. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  393. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  394. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  395. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  396. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  397. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  398. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  399. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  400. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  401. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  402. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  403. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  404. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  405. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  406. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  407. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  408. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  409. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  410. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  411. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  412. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  413. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  414. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  415. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  416. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN},
  417. {SK, SN}, {SK, SN}, {SK, SN}, {SK, SN} }
  418. };
  419.