Durham University Home
 
       

John's topas page

jedit overview

jedit installation

jedit examples

topas/jedit update

topas/jedit registration

topas tutorials

jedit macros

Alan Coelho's page

Bruker

Local topas help

 

Actions of INP-SETUP.BSH

The jedit macro inp-setup.bsh performs all the commands you need to make jedit a topas-friendly editor. The things it does are:

INP-SETUP.BSH copies the following files to jEdit directories.

INP.INSERT.XML to c:\documents and setting\USER\.jedit\xinsert\

DURHAM.INSERT.XML to c:\documents and setting\USER\.jedit\xinsert\

INP_MODE.XML to c:\documents and setting\USER\.jedit\modes\

INP.JEDIT-SCHEME to c:\documents and setting\USER\.jedit\schemes\

INP-SETUP.BSH edits the file

c:\documents and setting\USER\.jedit\modes\CATALOG

it adds the following line:

<MODE NAME="INP" FILE="inp_mode.xml" FILE_NAME_GLOB="*.{inp,inc,out,str,lam,log}" />

If the line already exits then it is first removed and then inserted.

INP-SETUP.BSH copies the following macros to c:\documents and setting\USER\.jedit\macros\.

o CopyLines.bsh
o CutLines.bsh
o Down_9.bsh
o PasteLines.bsh
o ShiftIns.bsh
o RS_off.bsh
o RS_on.bsh
o Up_9.bsh

The file Keyboard.txt is copied to the main Topas-Academic directory. It describes the recommended keyboard bindings. INP-SETUP.BSH offers the choice to change some of the default key bindings to recommended ones. If yes then INP-SETUP.BSH adds the following properties to the the file: c:\documents and setting\USER\.jedit\properties

o find.shortcut2=A+s
o split-horizontal.shortcut2=A+3
o split-vertical.shortcut2=A+2
o to-lower.shortcut=A+l
o Files/Buffer_Switcher.shortcut=A+b
o save.shortcut2=A+w
o prev-textarea.shortcut=A+q
o Files/Buffer_Switcher.shortcut2=A+DIVIDE
o Files/Buffer_Switcher.shortcut=A+b
o unsplit-current.shortcut2=A+1
o to-upper.shortcut=A+u
o undo.shortcut2=A+MULTIPLY
o join-lines.shortcut2=A+DELETE
o CopyLines.shortcut=A+ADD
o CutLines.shortcut=A+SUBTRACT
o PasteLines.shortcut=A+INSERT
o RS_on.shortcut=C+ADD
o RS_off.shortcut=C+SUBTRACT
o up_9.shortcut=C+UP
o down_9.shortcut=C+DOWN
o ShiftIns.shortcut=S+INSERT


Modified 30-Oct-2006 by John S.O. Evans. Pages checked for Netscape 7 and Internet Explorer 5.5.