T24 JED Editor Navigation and Quick Reference


JED Editor is Terminal based Text Editor tool. Can be mainly used to Edit files, T24 Database Records and Write T24 Info Basic Programs


Creation of Record or File Using JED


Syntax:

JED <Table Name> <Record ID>
JED <Folder Name> <File Name>
JED <File Name>

-R argument will open the record in Read Only mode. Which will be very useful white you just want to view record from Database Tables.

Example: JED -R F.SPF SYSTEM

There are two types of editor commands available in JED.
  1. On the Command Line
  2. On the Text Line


<Esc> Key Toggles between the Command Line and the Text Line.

Command Line – Commands



Command

Purpose
EX or
EXIT or
Ctrl X
Exit the File\Record without Saving
EXK Exit from a group of files\records (eg: select list)
FI Save the Current Record\File and Exit
FS Save the changes to the Current Record\File
1 Move the Cursor to Line 1
999 Move the Cursor to Line 999, if line not exist it moves to Last Line
DE Deletes Current Line
DE3 Deletes Next 3 Lines
R/Old/New Replace first occurrence of Old to New on the Current Line
R/old/new/3 Changes first 3 occurrences of “old” to “new” on current line
RU/old/new Changes all occurrences of “old” to “new” on current line
R3/old/new Changes first occurrence “old” to “new” on next 3 lines
RU3/old/newChanges all occurrences of “old” to “new” on next 3 lines
L charsLocate chars
Ln charsRestricts the locate to the next n lines
Cntrl nRepeats the locate
!commandExecutes jBASE command within editor
BIFormat BASIC code
CACopies block after current line
CBCopies block before current line
MAMoves block after current line
MBMove block before current line
DBDeletes block
CA<n>Copy marked block after current line <n> times
CB<n>Copy marked block before current line <n> times

Text Line – Commands

Arrow keys, page up & page down keys Can be used to move around within the text.


Command
Purpose
Ctrl A Move to start of current line
Ctrl E Move to end of current line
Ctrl W Delete word
Ctrl K Deletes to the end of line or join.
Ctrl D Delete current line
Ctrl L Insert line below current line
Ctrl N Locate next occurrence
Ctrl O Toggles between Insert and Overwrite modes
Ctrl R Re-display screen
Ctrl T Copy the character from the corresponding cursor position on the line above
Ctrl V Format\Indent BASIC code
Ctrl G Position on text line and use Ctrl G for start of block, end of block, or to remove block
Ctrl X Exit the File\Record
<ENTER> New line / breaks current line

T24 Classic Navigation Keys

Below are the keys used for Navigation in T24 Classic.



Key CombinationPurpose
Ctrl-U<Enter>
(or)
Ctrl-K<Enter>
Goto previous screen
Ctrl-B<Enter>Goto Previous Page or Previous Field
Ctrl-F<Enter>Goto Next Page or Next Field
Ctrl-E<Enter>Goto End\Last Page
Goto Command line from Field Input
Ctrl-V<Enter>
(or)
Ctrl-VV<Enter>
(or)
Ctrl-R<Enter>
Commit\Execute\Verify
Ctrl-W<Enter>Commit and Open the next record
Ctrl-T<Enter>Text Modification in a field, works like the insert key functionality in Word document.

Best Emulator for T24 Classic

As a developer I went through and tried many emulator software's for using T24 Classic. Below were the best ones.

The things considered for evaluation are:
  • Multi-Tab InterfaceWhich will be very helpful when you have to work on multiple environments and multiple sessions
  • Auto Login for SSH and TelnetRemembering username & passwords is very hard and also can't save in excel or notepad for security reasons. So storing & maintaining login details at the emulator is very efficient and time saving.
  • Key code mapping & modifications: Developers like to map F1, F2 ..F5 keys to Ctrl+U <Enter> etc, for easier & faster usage of T24 Classic
  • Font Customization: Change Font color of Text.


Pros:
  • Multi-Tab Interface
  • Auto Login for SSH and Telnet
  • Key modifications
  • Font Customization
Cons:
  • Not a Freeware

Key Mappings:

Open session properties, and goto Terminal>Emulation>Mapped keys. Map each key using below codes.

  • F1 -> \025\r
  • F2 -> \002\r
  • F3 -> \006\r
  • F4 -> \005\r
  • F5 -> \026\r



Pros:
  • Multi-Tab Interface
  • Auto Login for SSH and Telnet 
  • Font Customization
  • Free version Available
Cons:
  • Xterm value is auto-typed while classic login, No option to remove this.

Key Mappings
Can be done using Macros, below is sample mapping for F1 key





3. XShell

Pros:
  • Multi-Tab Interface
  • Auto Login for SSH and Telnet 
  • Font Customization
  • Free version Available
Cons:
  • Not a Freeware
Key Mappings
Goto Tools->Key Mapping and Map each key using below codes
  • F1 -> \025\r
  • F2 -> \002\r
  • F3 -> \006\r
  • F4 -> \005\r
  • F5 -> \026\r


4. ZOC

Pros:
  • Multi-Tab Interface
  • Auto Login for SSH
  • Font Customization
  • Free version Available
  • Key Mappings is possible
Cons:
  • Auto Login not available for Telnet Sessions

Key Mappings:

Modify the C:\Users\demo\Documents\ZOC7 Files\Options\Standard.zky file by adding below keys


  • 3B|44|-1|-1|0|0|^U^M
  • 3C|44|-1|-1|0|0|^B^M
  • 3D|44|-1|-1|0|0|^F^M
  • 3E|44|-1|-1|0|0|^E^M
  • 3F|44|-1|-1|0|0|^V^M



Pros:
  • Key modifications allowed
  • Font Customization possible
  • for SSH, Auto Login can be done using ttpmenu.exe utility and for telnet macros can be written
  • Freeware
Cons:
  • Multi-tabbed interface not available

Key Mappings:

Edit the KEYBOARD.CNF file and add below keys under [User Keys] section. Key mappings for F1, F2, F3, F4, F5, Home & End keys. You can use keycode.exe utility for finding the keycode.

  • User1=59,0,$15$0D
  • User2=60,0,$02$0D
  • User3=61,0,$06$0D
  • User4=62,0,$05$0D
  • User5=63,0,$16$0D
  • User6=327,0,$01
  • User7=335,0,$05


6. Putty

Pros:
  • Free
  • Very Lite and Fast
  • Font customization is possible
Cons:
  • No Tabbed Interface
  • No Auto Login 
  • No Key Modification\mappings possible

Key Mappings: N/A