├── .gitignore ├── Lesson0_General.sc ├── Lesson10_Configuration_File.sc ├── Lesson11_Numeric_Functions.sc ├── Lesson12_String_Functions.sc ├── Lesson13_Date_Functions.sc ├── Lesson14_Conditional_Function_IF.sc ├── Lesson1_Navigation.sc ├── Lesson2_CellContents_Formatting.sc ├── Lesson3_CellContents_Copy_Paste.sc ├── Lesson4_CellContents_Copy_Paste2.sc ├── Lesson5_CellContents_Marks.sc ├── Lesson6_Modes.sc ├── Lesson7_Insert_Edit_Mode.sc ├── Lesson8_Visual_Mode.sc ├── Lesson9_Command_Mode.sc ├── README.md ├── TODO └── theme_file_old.sc /.gitignore: -------------------------------------------------------------------------------- 1 | TODO 2 | *.sw[po] 3 | -------------------------------------------------------------------------------- /Lesson0_General.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 65 2 0 7 | format B 74 2 0 8 | freeze A:B 9 | label A0 = "SC-IM TUTORIAL" 10 | leftstring A2 = "GENERAL" 11 | leftstring A4 = "Actions" 12 | leftstring B4 = "Commands" 13 | leftstring A6 = "Show help" 14 | leftstring B6 = ":help, :h" 15 | leftstring A7 = "Save file" 16 | leftstring B7 = ":w" 17 | leftstring A8 = "Save current spreadsheet as {file}" 18 | leftstring B8 = ":w {file}" 19 | leftstring A9 = "Force save file if exists (Overwrite)" 20 | leftstring B9 = ":w!" 21 | leftstring A10 = "Save file and quit" 22 | leftstring B10 = ":wq, :x" 23 | leftstring A11 = "Quit sc-im" 24 | leftstring B11 = ":q" 25 | leftstring A12 = "Force quit, Discard changes" 26 | leftstring B12 = ":q!" 27 | leftstring A14 = "Show set options" 28 | leftstring B14 = ":set" 29 | leftstring A15 = "Show user defined mapped keys" 30 | leftstring B15 = ":showmaps" 31 | leftstring A16 = "Repeat previous action" 32 | leftstring B16 = "." 33 | goto A0 34 | -------------------------------------------------------------------------------- /Lesson10_Configuration_File.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | offscr_sc_cols 0 7 | offscr_sc_rows 0 8 | nb_frozen_rows 0 9 | nb_frozen_cols 0 10 | nb_frozen_screenrows 0 11 | nb_frozen_screencols 0 12 | format A 74 2 0 13 | format B 63 2 0 14 | leftstring A0 = "Recalculate values automatically" 15 | leftstring B0 = "set autocalc" 16 | leftstring A1 = "Remove autowrap" 17 | leftstring B1 = "set autowrap=0" 18 | leftstring A2 = "Set command timeout" 19 | leftstring B2 = "set command_timeout=3000" 20 | leftstring A3 = "Delimit columns with \t" 21 | leftstring B3 = "set copy_to_clipboard_delimited_tab=1" 22 | leftstring A4 = "Set digit to act as command multiplier in command mode" 23 | leftstring B4 = "set numeric=0" 24 | leftstring A5 = "Show changes in configuration options, cell formatting, etc " 25 | leftstring B5 = "set quiet=0" 26 | leftstring A6 = "Do not show cursor" 27 | leftstring B6 = "set show_cursor=0" 28 | leftstring A10 = "remanp Ctrl+h to Backspace in command mode (non-recursive binding)" 29 | leftstring B10 = "cnoremap \"\" \"\"" 30 | leftstring A11 = "Remap right arrow to fl (increase column width)" 31 | leftstring B11 = "nnoremap \"\" \"fl\"" 32 | leftstring A12 = "Remap left arrow to fh (decrease column width)" 33 | leftstring B12 = "nnoremap \"\" \"fh\"" 34 | leftstring A13 = "Remap up arrow to fk (decrease row height)" 35 | leftstring B13 = "nnoremap \"\" \"fk\"" 36 | leftstring A14 = "Remap down arrow to fh (increase row height)" 37 | leftstring B14 = "nnoremap \"\" \"fj\"" 38 | leftstring A16 = "map Ctrl+q to quit sc-im while in normal mode" 39 | leftstring B16 = "nmap \"\" \":q\"" 40 | leftstring A17 = "map Ctrl+w to save and quit sc-im while in normal mode" 41 | leftstring B17 = "nmap \"\" \":wq\"" 42 | leftstring A20 = "Redefine color WHITE to rgb color 248 248 248" 43 | leftstring B20 = "REDEFINE_COLOR \"WHITE\" 248 248 242" 44 | leftstring A21 = "Redefine color MAGENTA to rgb color 255 128 191" 45 | leftstring B21 = "REDEFINE_COLOR \"MAGENTA\" 255 128 191" 46 | leftstring A22 = "Define a new color comment with rgb 121 112 169 " 47 | leftstring B22 = "DEFINE_COLOR \"comment\" 121 112 169" 48 | leftstring B23 = "DEFINE_COLOR \"altbackground\" 63 63 63" 49 | leftstring A24 = "Define color of text used in terminal,background and properties" 50 | leftstring B24 = "color \"type=NORMAL fg=YELLOW bg=BLACK bold=0 italic=0\"" 51 | leftstring A25 = "Define color of text used in input bar and background" 52 | leftstring B25 = "color \"type=INPUT fg=MAGENTA bg=BLACK\"" 53 | leftstring B26 = "color \"type=CELL_SELECTION fg=comment bg=altbackground bold=0\"" 54 | leftstring A28 = "To load theme file at runtime" 55 | leftstring B28 = ":load /path/to/themefile.sc" 56 | leftstring A29 = "Example Type :load theme_file_old.sc" 57 | cellcolor A29 "fg=BLACK bg=BLUE" 58 | goto A0 59 | -------------------------------------------------------------------------------- /Lesson11_Numeric_Functions.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | offscr_sc_cols 0 7 | offscr_sc_rows 0 8 | nb_frozen_rows 0 9 | nb_frozen_cols 0 10 | nb_frozen_screenrows 0 11 | nb_frozen_screencols 0 12 | format A 76 2 0 13 | format C 16 2 0 14 | format D 16 2 0 15 | format 19 2 16 | leftstring A0 = "1. Type :fill B2:B7 1 1" 17 | leftstring A2 = "2. Go to E0. Type =@sum(B2:B7)" 18 | leftstring D2 = "Sum:" 19 | leftstring A3 = "3. Go to E1. Type =@prod(B2:B7)" 20 | leftstring D3 = "Product:" 21 | leftstring A4 = "4. Go to E2. Type =@max(B2:B7)" 22 | leftstring D4 = "Max" 23 | leftstring A5 = "5. Go to E3. Type =@min(B2:B7)" 24 | leftstring D5 = "Min" 25 | leftstring A6 = "6. Go to E4. Type =@avg(B2:B7)" 26 | leftstring D6 = "Average" 27 | leftstring A7 = "7. Go to E5. Type =@count(B2:B7)" 28 | leftstring D7 = "Number of values" 29 | label A9 = "#### OTHER FUNCTIONS ####" 30 | rightstring A10 = "NUMBER" 31 | let C10 = 46.83258932 32 | fmt C10 "####.######" 33 | leftstring C12 = "FORMULA" 34 | leftstring D12 = "VALUE" 35 | leftstring A13 = "Floor of {expr} (Smallest int not more than {expr}) =@floor({expr})" 36 | leftstring C13 = "=@floor(C10)" 37 | leftstring A14 = "Ceil of {expr} (Smallest int not less than {expr}) =@ceil({expr})" 38 | leftstring C14 = "=@ceil(C10)" 39 | leftstring A15 = "Absolute value of {expr} =@abs({expr}) or =@fabs({expr})" 40 | leftstring C15 = "=@abs(C10)" 41 | leftstring A17 = "Round of {expr} =@rnd({expr}" 42 | leftstring C17 = "=@rnd(C10)" 43 | leftstring A18 = "Round {expr} to {n} decimal places =@round({expr}, {n}) Round Decimal places" 44 | leftstring C18 = "=@round(C10,2)" 45 | leftstring A19 = "Round {expr} to -{n} decimal places =@round({expr}, -{n}) Round numbers\n before decimal" 46 | leftstring C19 = "=@round(C10,-1)" 47 | leftstring A22 = "e (Euler's number) raised to {expr} power =@exp({expr})" 48 | leftstring C22 = "=@exp(C10)" 49 | leftstring A23 = "Natural logarithm of {expr} =@ln({expr})" 50 | leftstring C23 = "=@ln(C10)" 51 | leftstring A24 = "Base-10 logarithm of {expr} =@log({expr})" 52 | leftstring C24 = "=@log(C10)" 53 | leftstring A26 = "Pi constant =@pi" 54 | leftstring C26 = "=@pi" 55 | leftstring A27 = "Power of {expr1} to {expr2} =@pow({expr1}, {expr2})" 56 | leftstring C27 = "=@pow(5,4)" 57 | leftstring A29 = "Value of row of cell =@frow({var}) eg =@frow(B4)" 58 | leftstring C29 = "=@frow(B4)" 59 | leftstring A30 = "Value of column of cell =@fcol({var}) eg =@fcol(B4)" 60 | leftstring C30 = "=@fcol(B4)" 61 | leftstring A33 = " NOTE: NUMERIC FUNCTIONS ARE PRECEEDED BY AN =" 62 | leftstring A34 = " NOTE: COLUMNS AND ROWS START AT 0 AND NOT 1" 63 | cellcolor D13 "fg=WHITE bg=BLUE" 64 | cellcolor D14 "fg=WHITE bg=BLUE" 65 | cellcolor D15 "fg=WHITE bg=BLUE" 66 | cellcolor D16 "fg=WHITE bg=BLUE" 67 | cellcolor D17 "fg=WHITE bg=BLUE" 68 | cellcolor D18 "fg=WHITE bg=BLUE" 69 | cellcolor D19 "fg=WHITE bg=BLUE" 70 | cellcolor D20 "fg=WHITE bg=BLUE" 71 | cellcolor D21 "fg=WHITE bg=BLUE" 72 | cellcolor D22 "fg=WHITE bg=BLUE" 73 | cellcolor D23 "fg=WHITE bg=BLUE" 74 | cellcolor D24 "fg=WHITE bg=BLUE" 75 | cellcolor D25 "fg=WHITE bg=BLUE" 76 | cellcolor D26 "fg=WHITE bg=BLUE" 77 | cellcolor D27 "fg=WHITE bg=BLUE" 78 | cellcolor D28 "fg=WHITE bg=BLUE" 79 | cellcolor D29 "fg=WHITE bg=BLUE" 80 | cellcolor D30 "fg=WHITE bg=BLUE" 81 | cellcolor A33 "fg=RED bg=BLACK bold=1" 82 | cellcolor A34 "fg=RED bg=BLACK bold=1" 83 | goto A0 84 | mark m "Sheet1" C12 85 | -------------------------------------------------------------------------------- /Lesson12_String_Functions.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 67 2 0 7 | format B 37 2 0 8 | leftstring A0 = "1. Go to B2. Type \\"@upper(B0)" 9 | leftstring B0 = "this Is an sc-im tutorial" 10 | let C0 = 3829.272942 11 | leftstring A1 = "2. Go to B3. Type \\"@lower(B0)" 12 | leftstring A2 = "3. Go to B4. Type \\"@capital(B0)" 13 | leftstring A3 = "4. Go to B5. Type \\"@replace(B0, \"brown\", \"black\")" 14 | leftstring A4 = "5. Go to B6. Type \\"@substr(B0, 5, 15)" 15 | leftstring A5 = "6. Go to B7. Type \\"@coltoa(@mycol) to return current column name" 16 | leftstring A8 = "7. Go to B9. Type \\"@fmt(\"###%3.3f**\", C0)" 17 | goto A0 18 | -------------------------------------------------------------------------------- /Lesson13_Date_Functions.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 60 2 0 7 | format B 20 2 0 8 | format C 4 2 0 9 | format D 62 2 0 10 | format 18 2 11 | leftstring A0 = "NOTE: THE date_expr IS A UNIX TIMESPAMP" 12 | leftstring A2 = "1. Go to B2. Type =@now [=@now]" 13 | leftstring D2 = "Return current time encoded as seconds from epoch" 14 | leftstring A3 = "2. Go to B3. Type =@year(@now) [=@year({date_expr})]" 15 | leftstring D3 = "Return year of the date expression" 16 | leftstring A4 = "3. Go to B4. Type =@month(@now) [=@month({date_expr})]" 17 | leftstring D4 = "Return month of the date expression" 18 | leftstring A5 = "4. Go to B5. Type =@day(@now) [=@day({date_expr})]" 19 | leftstring D5 = "Return day of the date expression" 20 | leftstring A6 = "5. Go to B6. Type =@hour(@now) [=@hour({date_expr})]" 21 | leftstring D6 = "Return hour of the date expression" 22 | leftstring A7 = "6. Go to B7. Type =@minute(@now) [=@minute({date_expr})]" 23 | leftstring D7 = "Return minute of the date expression" 24 | leftstring A8 = "7. Go to B8. Type =@second(@now) [=@second({date_expr})]" 25 | leftstring D8 = "Return second of the date expression" 26 | label A11 = "@date({date_expr}, {format})" 27 | leftstring A13 = "8. Go to B13. Type \\"@date(B2, \"%d/%m/%Y\")" 28 | leftstring D13 = "Convert time in seconds from epoch to date string using format" 29 | leftstring A15 = "9. Go to B15. Type =@dts(1992, 4, 14)" 30 | leftstring D15 = "Return seconds of 14/04/1992 since epoch" 31 | leftstring A16 = "10. Go to B16. Type =@dts(1992, 14, 2)" 32 | leftstring D16 = "Return seconds of 14/04/1992 since epoch" 33 | leftstring A18 = " NOTE: sc-im accepts both (y,m,d) or (m,d,y) format but\n former is preffered" 34 | leftstring A20 = "11. Go to B20. Type \\"@date(@dts(1992, 14, 2), \"%d/%m/%y\")" 35 | leftstring A22 = "12. Go to B22. Type =@tts(2,23,43)" 36 | leftstring D22 = "Return number of seconds since midnight" 37 | leftstring A25 = "13. Go to B25. Type \2021/9/23" 38 | leftstring D25 = "Enter date in string format" 39 | leftstring A26 = "14. At B25, Type :datefmt \"%m-%d-%y\"" 40 | leftstring D26 = "Convert string value to UNIX timestamp" 41 | leftstring A29 = "15. Go to B29. Type =@now. Type :format \"d%D\"" 42 | leftstring D29 = "Format Seconds from epoch to date string" 43 | cellcolor A0 "fg=RED bg=BLACK bold=1" 44 | cellcolor A11 "fg=RED bg=BLACK bold=1" 45 | cellcolor A18 "fg=RED bg=BLACK bold=1" 46 | goto A0 47 | -------------------------------------------------------------------------------- /Lesson14_Conditional_Function_IF.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 75 2 0 7 | format B 38 2 0 8 | format 20 3 9 | format 21 3 10 | leftstring A0 = "1.Go to C9. Type =@sum(E0:E5,@eqs(D0, \"Male\"))" 11 | label B0 = "Name" 12 | label C0 = "Age" 13 | label D0 = "Gender" 14 | label E0 = "Marks" 15 | leftstring A1 = "2.Go to C10. Type =@sum(E0:E5,@eqs(D0, \"Female\"))" 16 | leftstring B1 = "John" 17 | let C1 = 19 18 | label D1 = "Male" 19 | let E1 = 63 20 | leftstring A2 = "3.Go to C11. Type =@avg(E0:E5, C0<24)" 21 | leftstring B2 = "Jane" 22 | let C2 = 21 23 | label D2 = "Female" 24 | let E2 = 66 25 | leftstring B3 = "Stephen" 26 | let C3 = 23 27 | label D3 = "Male" 28 | let E3 = 69 29 | leftstring A4 = "5.Go to D13. Type \\"@if(C13<40, \"Weak\", \"Strong\") " 30 | leftstring B4 = "Mary" 31 | let C4 = 25 32 | label D4 = "Female" 33 | let E4 = 72 34 | leftstring A5 = "6.Change value of C13 to 21" 35 | leftstring B5 = "Abigael" 36 | let C5 = 27 37 | label D5 = "Female" 38 | let E5 = 75 39 | leftstring A6 = "7.Type :int recalc " 40 | leftstring A7 = "8.Change value of C13 to 90" 41 | leftstring A8 = "9.Type :int recalc " 42 | leftstring B9 = "Sum marks of male students" 43 | leftstring A10 = "10.Go to D14. " 44 | leftstring B10 = "Sum marks of female students" 45 | leftstring A11 = "11.Type \\"@if(C14<30, \"Oversold\", @if(C14>70, \"Overbought\", \"Normal\"))" 46 | leftstring B11 = "Average marks of students below 24 yrs" 47 | leftstring A12 = "12.Repeat steps 7-10 for C14" 48 | label B13 = "ADX VALUE" 49 | let C13 = 50 50 | label B14 = "RSI VALUE" 51 | let C14 = 80 52 | leftstring A20 = "NOTE: @eqs({string_expr1}, {string_expr2}).\n Returns 1 if string_exp1 is equal to string_expr2" 53 | leftstring A21 = "NOTE: command int recalc re-evaluates\n the dep-graph to get updated values" 54 | cellcolor C9 "fg=WHITE bg=BLUE" 55 | cellcolor C10 "fg=WHITE bg=BLUE" 56 | cellcolor C11 "fg=WHITE bg=BLUE" 57 | cellcolor A12 "fg=RED bg=BLACK bold=1" 58 | cellcolor D13 "fg=WHITE bg=BLUE" 59 | cellcolor D14 "fg=WHITE bg=BLUE" 60 | cellcolor A20 "fg=RED bg=BLACK bold=1" 61 | cellcolor A21 "fg=RED bg=BLACK bold=1" 62 | goto A0 63 | -------------------------------------------------------------------------------- /Lesson1_Navigation.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 61 2 0 7 | format J 40 2 0 8 | format 31 3 9 | leftstring A0 = "1. Press l or RIGHT to move right" 10 | let B0 = 2 11 | let C0 = 3 12 | let D0 = 4 13 | let E0 = 5 14 | let F0 = 6 15 | let G0 = 7 16 | let H0 = 8 17 | let I0 = 9 18 | let J0 = 10 19 | leftstring A1 = "2. Press h or LEFT to move left" 20 | let B1 = 12 21 | let C1 = 13 22 | let D1 = 14 23 | let E1 = 15 24 | let F1 = 16 25 | let G1 = 17 26 | let H1 = 18 27 | let I1 = 19 28 | let J1 = 20 29 | leftstring A2 = "3. Press j or DOWN to move down" 30 | let B2 = 22 31 | let C2 = 23 32 | let D2 = 24 33 | let E2 = 25 34 | let F2 = 26 35 | let G2 = 27 36 | let H2 = 28 37 | let I2 = 29 38 | let J2 = 30 39 | leftstring A3 = "4. Press k or UP to move up" 40 | let B3 = 32 41 | let C3 = 33 42 | let D3 = 34 43 | let E3 = 35 44 | let F3 = 36 45 | let G3 = 37 46 | let H3 = 38 47 | let I3 = 39 48 | let J3 = 40 49 | let B4 = 42 50 | let C4 = 43 51 | let D4 = 44 52 | let E4 = 45 53 | let F4 = 46 54 | let G4 = 47 55 | let H4 = 48 56 | let I4 = 49 57 | let J4 = 50 58 | leftstring A5 = "5. Navigate to D14 ** " 59 | let B5 = 52 60 | let C5 = 53 61 | let D5 = 54 62 | let E5 = 55 63 | let F5 = 56 64 | let G5 = 57 65 | let H5 = 58 66 | let I5 = 59 67 | let J5 = 60 68 | let B6 = 62 69 | let C6 = 63 70 | let D6 = 64 71 | let E6 = 65 72 | let F6 = 66 73 | let G6 = 67 74 | let H6 = 68 75 | let I6 = 69 76 | let J6 = 70 77 | leftstring A7 = "6. Press ^ to move to first row in column D" 78 | let B7 = 72 79 | let C7 = 73 80 | let D7 = 74 81 | let E7 = 75 82 | let F7 = 76 83 | let G7 = 77 84 | let H7 = 78 85 | let I7 = 79 86 | let J7 = 80 87 | leftstring A8 = "7. Press # to move to last valid row in column D" 88 | let B8 = 82 89 | let C8 = 83 90 | let D8 = 84 91 | let E8 = 85 92 | let F8 = 86 93 | let G8 = 87 94 | let H8 = 88 95 | let I8 = 89 96 | let J8 = 90 97 | leftstring A9 = "8. Press $ to move to column K (Last valid column) in row 23" 98 | let B9 = 92 99 | let C9 = 93 100 | let D9 = 94 101 | let E9 = 95 102 | let F9 = 96 103 | let G9 = 97 104 | let H9 = 98 105 | let I9 = 99 106 | let J9 = 100 107 | leftstring A10 = "9. Press 0 to move to column A in row 23" 108 | let B10 = 102 109 | let C10 = 103 110 | let D10 = 104 111 | let E10 = 105 112 | let F10 = 106 113 | let G10 = 107 114 | let H10 = 108 115 | let I10 = 109 116 | let J10 = 110 117 | let B11 = 112 118 | let C11 = 113 119 | let D11 = 114 120 | let E11 = 115 121 | let F11 = 116 122 | let G11 = 117 123 | let H11 = 118 124 | let I11 = 119 125 | let J11 = 120 126 | leftstring A12 = "10. Press goc3 to go to column C row 3 ** " 127 | let B12 = 122 128 | let C12 = 123 129 | let D12 = 124 130 | let E12 = 125 131 | let F12 = 126 132 | let G12 = 127 133 | let H12 = 128 134 | let I12 = 129 135 | let J12 = 130 136 | let B13 = 132 137 | let C13 = 133 138 | let D13 = 134 139 | let E13 = 135 140 | let F13 = 136 141 | let G13 = 137 142 | let H13 = 138 143 | let I13 = 139 144 | let J13 = 140 145 | leftstring A14 = "11. Press g$ to go to rightmost visible column" 146 | let B14 = 142 147 | let C14 = 143 148 | let D14 = 144 149 | let E14 = 145 150 | let F14 = 146 151 | let G14 = 147 152 | let H14 = 148 153 | let I14 = 149 154 | let J14 = 150 155 | leftstring A15 = "12. Press g0 to go to leftmost visible column" 156 | let B15 = 152 157 | let C15 = 153 158 | let D15 = 154 159 | let E15 = 155 160 | let F15 = 156 161 | let G15 = 157 162 | let H15 = 158 163 | let I15 = 159 164 | let J15 = 160 165 | let B16 = 162 166 | let C16 = 163 167 | let D16 = 164 168 | let E16 = 165 169 | let F16 = 166 170 | let G16 = 167 171 | let H16 = 168 172 | let I16 = 169 173 | let J16 = 170 174 | leftstring A17 = "13. Press gg to go to first cell in the sheet" 175 | let B17 = 172 176 | let C17 = 173 177 | let D17 = 174 178 | let E17 = 175 179 | let F17 = 176 180 | let G17 = 177 181 | let H17 = 178 182 | let I17 = 179 183 | let J17 = 180 184 | leftstring A18 = "14. Press G (Shift g) to go to last valid cell in sheet" 185 | let B18 = 182 186 | let C18 = 183 187 | let D18 = 184 188 | let E18 = 185 189 | let F18 = 186 190 | let G18 = 187 191 | let H18 = 188 192 | let I18 = 189 193 | let J18 = 190 194 | let B19 = 192 195 | let C19 = 193 196 | let D19 = 194 197 | let E19 = 195 198 | let F19 = 196 199 | let G19 = 197 200 | let H19 = 198 201 | let I19 = 199 202 | let J19 = 200 203 | leftstring A20 = "15. Press Ctrl+e to scroll a row down (Maintain cursor pos) " 204 | let B20 = 202 205 | let C20 = 203 206 | let D20 = 204 207 | let E20 = 205 208 | let F20 = 206 209 | let G20 = 207 210 | let H20 = 208 211 | let I20 = 209 212 | let J20 = 210 213 | leftstring A21 = "16. Press Ctrl+y to scroll a row up (Maintain cursor pos) " 214 | leftstring A23 = "17. goto F16 **" 215 | let B23 = 222 216 | let C23 = 223 217 | let D23 = 224 218 | let E23 = 225 219 | let F23 = 226 220 | let G23 = 227 221 | let H23 = 228 222 | let I23 = 229 223 | let J23 = 230 224 | leftstring A24 = "18. Press zl to scroll a column right (Maintain cursor pos)" 225 | rightstring J24 = "9. Press 0 to move to column A in row 23" 226 | leftstring A25 = "19. Press zh to scroll a column left (Maintain cursor pos)" 227 | leftstring A27 = "20. Press Ctrl+f to scroll a page down" 228 | leftstring A28 = "21. Press Ctrl+b to scroll a page up" 229 | rightstring A31 = "NOTE: ENSURE YOU ARE IN NORMAL MODE\n Ie. STATUS BAR HAS -- NORMAL --" 230 | cellcolor C3 "fg=WHITE bg=RED" 231 | cellcolor D14 "fg=WHITE bg=RED" 232 | cellcolor F16 "fg=WHITE bg=RED" 233 | cellcolor A31 "fg=RED bg=BLACK" 234 | goto A0 235 | -------------------------------------------------------------------------------- /Lesson2_CellContents_Formatting.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 57 2 0 7 | format B 30 2 0 8 | format C 9 2 0 9 | label B0 = "Name" 10 | label C0 = "Age" 11 | label D0 = "Gender" 12 | leftstring A1 = "1. Go to B1. Press } to align to right" 13 | leftstring B1 = "John Doe" 14 | let C1 = 15 15 | rightstring D1 = "Male" 16 | leftstring A2 = "2. Press { to align to left" 17 | leftstring B2 = "Judy Spencer" 18 | let C2 = 31 19 | rightstring D2 = "Female" 20 | leftstring A3 = "3. Press | to center align cell contents" 21 | leftstring B3 = "Mike Lowe" 22 | let C3 = 27 23 | rightstring D3 = "Male" 24 | leftstring B4 = "Mary Aswald" 25 | let C4 = 36 26 | rightstring D4 = "Female" 27 | leftstring A5 = "4. Go to C1. Press f+ to increase decimal precision" 28 | leftstring B5 = "Joker" 29 | let C5 = 30 30 | rightstring D5 = "Male" 31 | leftstring A6 = "5. Press f- to decrease decimal precision" 32 | leftstring A8 = "6. Press + to increase numerical value" 33 | leftstring A9 = "7. Press - to decrease numerical value" 34 | leftstring A10 = "8. Press 5+ to increase numerical value by 5" 35 | leftstring A11 = "9. Press 5- to increase numerical value by 5" 36 | leftstring A13 = "10. Press f< or fh to decrease column width" 37 | leftstring A14 = "11. Press f> or fl to increase column width" 38 | leftstring A15 = "12. Press fj or f+down to increase row height" 39 | leftstring A16 = "13. Press fk or f+up to decrease row height" 40 | leftstring A18 = "14. Go to B1. Press aa or Ctrl+j to auto-resize cell" 41 | leftstring A20 = "15. Press u to undo" 42 | leftstring A21 = "16. Press Ctrl+r to redo" 43 | goto A0 44 | -------------------------------------------------------------------------------- /Lesson3_CellContents_Copy_Paste.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 69 2 0 7 | format 12 2 8 | format 17 2 9 | format 23 3 10 | format 27 3 11 | leftstring A0 = "1. Press fc to freeze column A." 12 | let B0 = 2 13 | let C0 = 3 14 | let D0 = 4 15 | let E0 = 5 16 | let F0 = 5 17 | let G0 = 6 18 | let H0 = 7 19 | let I0 = 8 20 | let J0 = 9 21 | let K0 = 10 22 | let L0 = 11 23 | let M0 = 12 24 | let N0 = 13 25 | let O0 = 14 26 | let P0 = 15 27 | leftstring A1 = "2. Press yr to yank row. Press p" 28 | leftstring A2 = "1. Press fc to freeze column A." 29 | let B2 = 2 30 | let C2 = 3 31 | let D2 = 4 32 | let E2 = 5 33 | let F2 = 5 34 | let G2 = 6 35 | let H2 = 7 36 | let I2 = 8 37 | let J2 = 9 38 | let K2 = 10 39 | let L2 = 11 40 | let M2 = 12 41 | let N2 = 13 42 | let O2 = 14 43 | let P2 = 15 44 | let B3 = 18 45 | let C3 = 19 46 | let D3 = 20 47 | let E3 = 21 48 | let F3 = 21 49 | let G3 = 22 50 | let H3 = 23 51 | let I3 = 24 52 | let J3 = 25 53 | let K3 = 26 54 | let L3 = 27 55 | let M3 = 28 56 | let N3 = 29 57 | let O3 = 30 58 | let P3 = 31 59 | leftstring A5 = "4. Press dr to delete row (Contents saved in yank buffer)" 60 | let B5 = 34 61 | let C5 = 35 62 | let D5 = 36 63 | let E5 = 37 64 | let F5 = 37 65 | let G5 = 38 66 | let H5 = 39 67 | let I5 = 40 68 | let J5 = 41 69 | let K5 = 42 70 | let L5 = 43 71 | let M5 = 44 72 | let N5 = 45 73 | let O5 = 46 74 | let P5 = 47 75 | leftstring A6 = "5. Press p" 76 | let B6 = 50 77 | let C6 = 51 78 | let D6 = 52 79 | let E6 = 53 80 | let F6 = 53 81 | let G6 = 54 82 | let H6 = 55 83 | let I6 = 56 84 | let J6 = 57 85 | let K6 = 58 86 | let L6 = 59 87 | let M6 = 60 88 | let N6 = 61 89 | let O6 = 62 90 | let P6 = 63 91 | let B7 = 66 92 | let C7 = 67 93 | let D7 = 68 94 | let E7 = 69 95 | let F7 = 69 96 | let G7 = 70 97 | let H7 = 71 98 | let I7 = 72 99 | let J7 = 73 100 | let K7 = 74 101 | let L7 = 75 102 | let M7 = 76 103 | let N7 = 77 104 | let O7 = 78 105 | let P7 = 79 106 | leftstring A8 = "6. Go to Column E. Press yc to copy column" 107 | let B8 = 82 108 | let C8 = 83 109 | let D8 = 84 110 | let E8 = 85 111 | let F8 = 85 112 | let G8 = 86 113 | let H8 = 87 114 | let I8 = 88 115 | let J8 = 89 116 | let K8 = 90 117 | let L8 = 91 118 | let M8 = 92 119 | let N8 = 93 120 | let O8 = 94 121 | let P8 = 95 122 | leftstring A9 = "7. Press p to paste it to next column" 123 | let B9 = 98 124 | let C9 = 99 125 | let D9 = 100 126 | let E9 = 101 127 | let F9 = 101 128 | let G9 = 102 129 | let H9 = 103 130 | let I9 = 104 131 | let J9 = 105 132 | let K9 = 106 133 | let L9 = 107 134 | let M9 = 108 135 | let N9 = 109 136 | let O9 = 110 137 | let P9 = 111 138 | leftstring A10 = "8. Go to B12. Press yr to copy row." 139 | let B10 = 114 140 | let C10 = 115 141 | let D10 = 116 142 | let E10 = 117 143 | let F10 = 117 144 | let G10 = 118 145 | let H10 = 119 146 | let I10 = 120 147 | let J10 = 121 148 | let K10 = 122 149 | let L10 = 123 150 | let M10 = 124 151 | let N10 = 125 152 | let O10 = 126 153 | let P10 = 127 154 | leftstring A11 = "9. Press t to paste row above current row" 155 | let B11 = 130 156 | let C11 = 131 157 | let D11 = 132 158 | let E11 = 133 159 | let F11 = 133 160 | let G11 = 134 161 | let H11 = 135 162 | let I11 = 136 163 | let J11 = 137 164 | let K11 = 138 165 | let L11 = 139 166 | let M11 = 140 167 | let N11 = 141 168 | let O11 = 142 169 | let P11 = 143 170 | leftstring A12 = "(Cut) REPEAT STEPS (6-9) USING dc INSTEAD of yc \n and dr INSTEAD of yr" 171 | let B12 = 162 172 | let C12 = 163 173 | let D12 = 164 174 | let E12 = 165 175 | let F12 = 165 176 | let G12 = 166 177 | let H12 = 167 178 | let I12 = 168 179 | let J12 = 169 180 | let K12 = 170 181 | let L12 = 171 182 | let M12 = 172 183 | let N12 = 173 184 | let O12 = 174 185 | let P12 = 175 186 | let B13 = 146 187 | let C13 = 147 188 | let D13 = 148 189 | let E13 = 149 190 | let F13 = 149 191 | let G13 = 150 192 | let H13 = 151 193 | let I13 = 152 194 | let J13 = 153 195 | let K13 = 154 196 | let L13 = 155 197 | let M13 = 156 198 | let N13 = 157 199 | let O13 = 158 200 | let P13 = 159 201 | leftstring A14 = "10. Go to B16. Press ir to insert a row" 202 | let B14 = 178 203 | let C14 = 179 204 | let D14 = 180 205 | let E14 = 181 206 | let F14 = 181 207 | let G14 = 182 208 | let H14 = 183 209 | let I14 = 184 210 | let J14 = 185 211 | let K14 = 186 212 | let L14 = 187 213 | let M14 = 188 214 | let N14 = 189 215 | let O14 = 190 216 | let P14 = 191 217 | leftstring A15 = "11. Go to B17. Press or to open a row below current row" 218 | let B15 = 194 219 | let C15 = 195 220 | let D15 = 196 221 | let E15 = 197 222 | let F15 = 197 223 | let G15 = 198 224 | let H15 = 199 225 | let I15 = 200 226 | let J15 = 201 227 | let K15 = 202 228 | let L15 = 203 229 | let M15 = 204 230 | let N15 = 205 231 | let O15 = 206 232 | let P15 = 207 233 | let B16 = 210 234 | let C16 = 211 235 | let D16 = 212 236 | let E16 = 213 237 | let F16 = 213 238 | let G16 = 214 239 | let H16 = 215 240 | let I16 = 216 241 | let J16 = 217 242 | let K16 = 218 243 | let L16 = 219 244 | let M16 = 220 245 | let N16 = 221 246 | let O16 = 222 247 | let P16 = 223 248 | label A17 = "REPEAT STEPS 10-11\n USING or INSTEAD OF ir AND oc INSTEAD OF ic" 249 | let B17 = 226 250 | let C17 = 227 251 | let D17 = 228 252 | let E17 = 229 253 | let F17 = 229 254 | let G17 = 230 255 | let H17 = 231 256 | let I17 = 232 257 | let J17 = 233 258 | let K17 = 234 259 | let L17 = 235 260 | let M17 = 236 261 | let N17 = 237 262 | let O17 = 238 263 | let P17 = 239 264 | let B18 = 242 265 | let C18 = 243 266 | let D18 = 244 267 | let E18 = 245 268 | let F18 = 245 269 | let G18 = 246 270 | let H18 = 247 271 | let I18 = 248 272 | let J18 = 249 273 | let K18 = 250 274 | let L18 = 251 275 | let M18 = 252 276 | let N18 = 253 277 | let O18 = 254 278 | let P18 = 255 279 | leftstring A19 = "12. Go to B5. Press sj to shift cell down" 280 | leftstring A20 = "13. From B5, Press sk to shift cell up." 281 | leftstring A21 = "14. From B5, press sl to shift cell to right." 282 | leftstring A22 = "15. From B5, press sh to shift cell to left." 283 | cellcolor A12 "fg=RED bg=BLACK" 284 | cellcolor B13:N13 "fg=WHITE bg=RED" 285 | cellcolor A17 "fg=RED bg=BLACK" 286 | goto A0 287 | -------------------------------------------------------------------------------- /Lesson4_CellContents_Copy_Paste2.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 72 2 0 7 | format 10 2 8 | leftstring A0 = "1. Press fc to freeze Column A" 9 | let B0 = 1 10 | let C0 = 2 11 | let D0 = 3 12 | let E0 = 4 13 | let B1 = 12 14 | let C1 = 13 15 | let D1 = 14 16 | let E1 = 15 17 | leftstring A2 = "2. Go to B4. Note the formula at status bar @sum(B0:B3)" 18 | let B2 = 23 19 | let C2 = 24 20 | let D2 = 25 21 | let E2 = 26 22 | leftstring A3 = "3. Press yy to copy cell content" 23 | let B3 = 34 24 | let C3 = 35 25 | let D3 = 36 26 | let E3 = 37 27 | leftstring A4 = "4. Go to C4. Press p. NOTE FORMULA IN STATUS BAR @sum(B0:B3)." 28 | let B4 = @sum(B0:B3) 29 | leftstring A5 = "5. Go to D4. Press Pv. (Paste the value yanked, does not copy formula)" 30 | leftstring A6 = "6. Go to E4. Press Pc. NOTE FORMULA IN STATUS BAR @sum(E0:E3).\n Cell references are adjusted accordingly" 31 | leftstring A8 = " NOTE: Can Use t or T in place of p and P respectively" 32 | leftstring A10 = " NOTE: t is same as p but when rows are yanked they are pasted\n above the current row" 33 | leftstring A12 = " NOTE: In case of columns, t pastes yanked column after current column" 34 | cellcolor A8 "fg=RED bg=BLACK" 35 | cellcolor A10 "fg=RED bg=BLACK" 36 | cellcolor A12 "fg=RED bg=BLACK" 37 | goto A0 38 | -------------------------------------------------------------------------------- /Lesson5_CellContents_Marks.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 46 2 0 7 | leftstring A0 = "1. Go to D0. Press md to mark as d" 8 | let B0 = 1 9 | let C0 = 2 10 | let D0 = 3 11 | let E0 = 4 12 | let F0 = 5 13 | let G0 = 6 14 | let H0 = 7 15 | let I0 = 8 16 | let J0 = 9 17 | let K0 = 10 18 | let L0 = 11 19 | leftstring A1 = "2. Go to A0. Press 'd to go to D0" 20 | let B1 = 12 21 | let C1 = 13 22 | let D1 = 14 23 | let E1 = 15 24 | let F1 = 16 25 | let G1 = 17 26 | let H1 = 18 27 | let I1 = 19 28 | let J1 = 20 29 | let K1 = 21 30 | let L1 = 22 31 | let B2 = 23 32 | let C2 = 24 33 | let D2 = 25 34 | let E2 = 26 35 | let F2 = 27 36 | let G2 = 28 37 | let H2 = 29 38 | let I2 = 30 39 | let J2 = 31 40 | let K2 = 32 41 | let L2 = 33 42 | leftstring A3 = "3. Go to H5. Press mh to mark as h" 43 | let B3 = 34 44 | let C3 = 35 45 | let D3 = 36 46 | let E3 = 37 47 | let F3 = 38 48 | let G3 = 39 49 | let H3 = 40 50 | let I3 = 41 51 | let J3 = 42 52 | let K3 = 43 53 | let L3 = 44 54 | leftstring A4 = "4. Press Rdh to select range D0:H5" 55 | let B4 = 45 56 | let C4 = 46 57 | let D4 = 47 58 | let E4 = 48 59 | let F4 = 49 60 | let G4 = 50 61 | let H4 = 51 62 | let I4 = 52 63 | let J4 = 53 64 | let K4 = 54 65 | let L4 = 55 66 | leftstring A5 = "5. Press mf to mark range as f" 67 | let B5 = 56 68 | let C5 = 57 69 | let D5 = 58 70 | let E5 = 59 71 | let F5 = 60 72 | let G5 = 61 73 | let H5 = 62 74 | let I5 = 63 75 | let J5 = 64 76 | let K5 = 65 77 | let L5 = 66 78 | leftstring A6 = "6. Go B15. Press cf to print marked range f" 79 | let B6 = 67 80 | let C6 = 68 81 | let D6 = 69 82 | let E6 = 70 83 | let F6 = 71 84 | let G6 = 72 85 | let H6 = 73 86 | let I6 = 74 87 | let J6 = 75 88 | let K6 = 76 89 | let L6 = 77 90 | let B7 = 78 91 | let C7 = 79 92 | let D7 = 80 93 | let E7 = 81 94 | let F7 = 82 95 | let G7 = 83 96 | let H7 = 84 97 | let I7 = 85 98 | let J7 = 86 99 | let K7 = 87 100 | let L7 = 88 101 | let B8 = 89 102 | let C8 = 90 103 | let D8 = 91 104 | let E8 = 92 105 | let F8 = 93 106 | let G8 = 94 107 | let H8 = 95 108 | let I8 = 96 109 | let J8 = 97 110 | let K8 = 98 111 | let L8 = 99 112 | let B9 = 100 113 | let C9 = 101 114 | let D9 = 102 115 | let E9 = 103 116 | let F9 = 104 117 | let G9 = 105 118 | let H9 = 106 119 | let I9 = 107 120 | let J9 = 108 121 | let K9 = 109 122 | let L9 = 110 123 | let B10 = 111 124 | let C10 = 112 125 | let D10 = 113 126 | let E10 = 114 127 | let F10 = 115 128 | let G10 = 116 129 | let H10 = 117 130 | let I10 = 118 131 | let J10 = 119 132 | let K10 = 120 133 | let L10 = 121 134 | goto A0 135 | -------------------------------------------------------------------------------- /Lesson6_Modes.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 72 2 0 7 | format B 68 2 0 8 | format 10 6 9 | format 11 5 10 | format 12 5 11 | format 13 5 12 | label A0 = "MODES IN SC-IM" 13 | leftstring A2 = "1. NORMAL MODE -- NORMAL --" 14 | leftstring B2 = "Navigate cells and input normal commands." 15 | leftstring A3 = "2. INSERT MODE -- INSERT --" 16 | leftstring B3 = "Enter NEW VALUES into cells" 17 | leftstring A4 = "3. EDIT MODE -- EDIT --" 18 | leftstring B4 = "Modify existing values in cell" 19 | leftstring A5 = "4. COMMAND MODE -- COMMAND --" 20 | leftstring B5 = "Run sc-im commands" 21 | leftstring A6 = "5. VISUAL MODE -- VISUAL --" 22 | leftstring B6 = "Selecting and operating a range of cells" 23 | leftstring A10 = "To enter into COMMAND MODE, press : followed by the command\nto execute.\n Eg :help to show the help page." 24 | leftstring A11 = "To enter into VISUAL MODE:\n NORMAL MODE -> VISUAL MODE : v \n COMMAND/INSERT MODE -> VISUAL MODE : Ctrl+v" 25 | leftstring A12 = "While modifying an existing cell value, you will enter into\n EDIT MODE which has several commands: see in help page. To insert the \n cell value you have to enter the INSERT MODE from EDIT MODE by\n pressing i, =, I or A, then you can edit the value as normal" 26 | cellcolor A10 "fg=RED bg=BLACK" 27 | cellcolor A11 "fg=RED bg=BLACK" 28 | cellcolor A12 "fg=RED bg=BLACK" 29 | cellcolor A13 "fg=RED bg=BLACK" 30 | goto A0 31 | -------------------------------------------------------------------------------- /Lesson7_Insert_Edit_Mode.sc: -------------------------------------------------------------------------------- 1 | # This data file was generated by the Spreadsheet Calculator Improvised (sc-im) 2 | # You almost certainly shouldn't edit it. 3 | 4 | newsheet "Sheet1" 5 | movetosheet "Sheet1" 6 | format A 55 2 0 7 | format 2 3 8 | format 4 3 9 | format 6 3 10 | format 9 6 11 | format 11 6 12 | leftstring A0 = "1. Go to C0. Press = 1 and press Enter" 13 | let G0 = 1 14 | leftstring A2 = "2. Go to C2. Press \" \"fh\" to remap left arrow to change column width in normal mode" 14 | leftstring A6 = "6. Type :nunmap \"\" to remove left user-defined map" 15 | leftstring A7 = "7. Type :!pwd to execute shell command pwd" 16 | leftstring A8 = "8. Type : then press up arrow or Ctrl+p to scroll back in command history" 17 | leftstring A9 = "9. Type : then press down arrow or Ctrl+n to scroll forward in command history" 18 | leftstring A10 = "10: Type :version to show sc-im version" 19 | leftstring A12 = "11. Go to B17. Type :fill. While in command mode press Ctrl+v to enter visual mode\nPress Ctrl+o to visually select cells B17:F21. Press Enter. Type 1 1.\n [Command :fill B17:F21 1 1]" 20 | leftstring A14 = "12. Type :wq or :x to save and quit" 21 | goto A0 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SC-IM 2 | [sc-im](https://github.com/andmarti1424/sc-im) is an ncurses based, vim-like spreadsheet calculator based on sc. 3 | 4 | ## DESCRIPTION 5 | Introductory sc-im tutorial. 6 | 7 | ## INSTRUCTIONS 8 | Open files with sc-im eg. 9 | `sc-im 'Lesson1 - Navigation.sc'` 10 | 11 | ### LESSONS 12 | 13 | 0. Lesson0 - General commands and shortcuts in sc-im 14 | 1. Lesson1 - Navigation 15 | 2. Lesson2 - Formatting cell contents 16 | 3. Lesson3 - Copy, Paste, Cut basics 17 | 4. Lesson4 - Copy, Paste, Cut 18 | 5. Lesson5 - Marks 19 | 6. Lesson6 - Sc-im Modes 20 | 7. Lesson7 - Insert and Edit Mode 21 | 8. Lesson8 - Visual Mode 22 | 9. Lesson9 - Command Mode 23 | 10. Lesson10 - Configuration File 24 | 11. Lesson11 - Numeric Functions 25 | 12. Lesson12 - String Functions 26 | 13. Lesson13 - Date Functions 27 | 14. Lesson 14 - Conditional Function "if" 28 | -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | [] Add advanced tutorials/lessons. 2 | [] Add challenges. 3 | -------------------------------------------------------------------------------- /theme_file_old.sc: -------------------------------------------------------------------------------- 1 | #SC THEME 2 | color "type=HEADINGS fg=BLACK bg=WHITE bold=0" 3 | color "type=HEADINGS_ODD fg=BLACK bg=WHITE bold=0" 4 | color "type=CELL_SELECTION bg=BLACK fg=WHITE bold=0" 5 | color "type=CELL_SELECTION_SC bg=WHITE fg=BLACK bold=0" 6 | color "type=DEFAULT fg=WHITE bg=BLACK" 7 | color "type=INPUT fg=WHITE bg=BLACK" 8 | color "type=NORMAL fg=WHITE bg=BLACK" 9 | color "type=WELCOME fg=WHITE bg=BLACK bold=0" 10 | color "type=NUMB fg=WHITE bg=BLACK" 11 | color "type=STRG fg=WHITE bg=BLACK bold=0" 12 | color "type=DATEF fg=WHITE bg=BLACK" 13 | color "type=EXPRESSION fg=WHITE bg=BLACK" 14 | color "type=INFO_MSG fg=WHITE bg=BLACK" 15 | color "type=ERROR_MSG fg=WHITE bg=BLACK" 16 | color "type=MODE fg=WHITE bg=BLACK bold=0" 17 | color "type=CELL_ID fg=WHITE bg=BLACK bold=1" 18 | color "type=CELL_FORMAT fg=WHITE bg=BLACK bold=0" 19 | color "type=CELL_CONTENT fg=WHITE bg=BLACK bold=1" 20 | color "type=CELL_ERROR fg=WHITE bg=BLACK" 21 | color "type=CELL_NEGATIVE bg=BLACK fg=WHITE" 22 | --------------------------------------------------------------------------------