Session Manager: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
Line 13: Line 13:
* The text entered in both the Session Manager and Function Editor is colored according to its syntaxual contents.
* The text entered in both the Session Manager and Function Editor is colored according to its syntaxual contents.


==Keyboard Mapping==
==APL Font==


The mapping of APL characters to the keyboard is similar to that of APL+Win, although other keyboard mappings may be supported in the futureTo see a graphic display of the current keyboard, take a look at [http://www.sudleyplace.com/APL/Keyboard.ahtml NARS2000 Keyboard].
As NARS2000 is a Unicode-based program, you'll need an attractive Unicode APL font to display all the characters.  To that end, I've made an arrangement with Phil Chastney to bundle a version of his APL Unicode font '''SImPL''' called '''SImPL medium'''.  From the '''NARS2000.zip''' file, extract the '''SImPL-Medium.ttf''' file to your Windows fonts directory.  Note that this font is licensed for distribution with NARS2000 only.  See the Other APL Unicode fonts likely will work well as long as they contain all of the characters we use such as infinity (<apll>∞</apll>), zilde (<apll>⍬</apll>), circle-middle-dot (<apll>⊙</apll>), dieresis-jot (<apll>⍤</apll>), dieresis-tilde (<apll>⍨</apll>), etcAlso, in order to display the circled numbers on the left of each workspace tab, you'll need a font like '''Code2000''' which you can [http://www.code2000.net/code2000_page.htm download] from the 'net.


==Installing Uniscribe==
==Keyboard Mapping==
 
This facility is part of Windows and is needed to implement Font Fallback.  This latter feature substitutes a glyph from one font when the original font does not have that glyph.  For example, in NARS2000 '''Alt-f''' displays an [[Infinity]] symbol (<apll>{infinity}</apll>) only if you have Uniscribe installed; otherwise is shows an empty box to indicate that the glyph is missing in the chosen screen font.
 
To install Uniscribe, bring up the Control Panel, double-click on the "Regional and Language Options" icon, then click on the "Languages" tab to show something like
 
[[Image:RLO.png|Regional and Languages Options]]


Check the indicated box (you'll get a message box, click OK on it), then click OK again and dig out your OS install diskPoint to the '''System32''' directory on your OS install disk and finish the installation. Finally, reboot your system.
The mapping of APL characters to the keyboard is similar to that of APL+Win, although other keyboard mappings may be supported in the futureTo see a graphic display of the current keyboard, take a look at the [http://www.sudleyplace.com/APL/Keyboard.ahtml NARS2000 Keyboard].

Revision as of 17:47, 12 December 2008

The Session Manager is similar to the one in APL+Win (which was modeled after an old product of mine, TallScreen).

Features

  • The cursor may move about the screen changing text as desired. If you press Enter on a line, the original text of that line is restored, the changed line is copied to a new line at the bottom of the screen buffer and executed.
  • Text may be selected with the mouse and copied using Ctrl-C or Copy from the Context (right-click) or Edit menus.
  • Text may be pasted into the Session Manager from various formats. If the source text is all Unicode, Ctrl-V or Paste from the Context or Edit menus may be used. If the source text includes APL characters in a format different from Unicode, try one of the options in the Paste APL choice from the Context or Edit menus. Text coming from the ISO Extended APL Standard, APL+Win, APL2, and PC/3270 is supported. If you know of other systems that use a character mapping not covered by these choices, please let us know by sending a message on one of the forums.
  • Multiple workspaces may be open at the same time by used of tabs along the top of the Session Manager window. Click on a tab to bring the corresponding workspace to the forefront.
  • Workspaces are saved as plain text ASCII files with an extension of .ws.nars.
  • To invoke the function editor, type by itself, or followed by a name, or )EDIT by itself, or )EDIT followed by a name, or double-right-click on a function name in the session manager or function editor windows.
  • The function editor supports a multilevel Undo. That is, pressing Ctrl-Z reverts back to the previous text.
  • Each function's undo buffer is saved with the function for reuse the next time that function is edited.
  • All function's undo buffers are saved with the workspace for reuse on the next load.
  • The text entered in both the Session Manager and Function Editor is colored according to its syntaxual contents.

APL Font

As NARS2000 is a Unicode-based program, you'll need an attractive Unicode APL font to display all the characters. To that end, I've made an arrangement with Phil Chastney to bundle a version of his APL Unicode font SImPL called SImPL medium. From the NARS2000.zip file, extract the SImPL-Medium.ttf file to your Windows fonts directory. Note that this font is licensed for distribution with NARS2000 only. See the Other APL Unicode fonts likely will work well as long as they contain all of the characters we use such as infinity (), zilde (), circle-middle-dot (), dieresis-jot (), dieresis-tilde (), etc. Also, in order to display the circled numbers on the left of each workspace tab, you'll need a font like Code2000 which you can download from the 'net.

Keyboard Mapping

The mapping of APL characters to the keyboard is similar to that of APL+Win, although other keyboard mappings may be supported in the future. To see a graphic display of the current keyboard, take a look at the NARS2000 Keyboard.