ChangeLog -*- text -*- :-> for FW-macros for THE, the Hessling Editor,
by Franz-Josef Wirtz

(if no extension is specified, '.the' is assumed)

> 30 December 1998
*** osspec
new

*** various
adopt usage of osspec-variables, rearranged fw.the accordingly

> 11 October 1998
*** quitfile exitfile key_enter
If only _one_ file remains which is _special_ macro will exit
THE. Thus, no undelete buffers or so should remain...

> 25.May 1998
*** fw fwmkrc
Introduced install procedure for first call of fw. Now only one script
is used to launch THE with fw-profile in various compatibility modes.

*** key_enter
For menu files: text after first linend char behind macro name is
passed to THE in a separate call.

*** various
Introduced THE-editv instead of REXX-value().

*** tex\usetex
Fixed definition of keys with nop when no AMLATEX feature is used.

*** *.hlp *.mnu
reorganized the help files

> 22.February 1998
*** qring
Fixed: empty ring.fw due to pending lineout

> 21.February 1998
*** goblock
Fixed missing definition of 'env'

> 18.February 1998
*** define_xxx wsprefix_x
Completed respect to THE_FW_FEATURES

*** prevpara
Fixed syntaxerror "(lastrc.1() <> ) 0"

*** extension
Use prefix area depending on fw_alike

*** std\usestd
Used fw_alike instead of compat.

*** color*
Show respect for fw_alike too.

*** tex\workdir
Fixed: could not find path of actual TeX-file

> 17.February 1998
*** fw.cmd xedit.cmd kedit.cmd thefw.cmd
Only fw.cmd does all the fancy configuration, xedit and alike call
fw.cmd.

*** tex\p.cmd tex\lp.cmd tex\print.mnu
Added support for dvispell.

> 28.January 1998
*** fw define_xxx define_xxx_yyy userstatus compatprf fw.cmd
Rewrote profile, so that only one single profile (fw.the) can be used
for all compatibility modes and for pure fw ore future
modes. compatprf is no longer necessary.

> 25.January 1998
*** fw.cmd thec.cmd
Support for automatical usage if client/server-package is installed.

> 07.December 1997
*** colorize color_X11 color_WIN32 color_OS2
New: Visual setup for colors.

> 17.November 1997
*** key_enter
Reorganization of the top level logic.

*** the/thekey key_esc extension uarrow darrow
Changed fname to filename, adopted to search in THE_help.txt instead
of the.qrf.

*** dirs dirf dirt dirn
Adopted four digit year.

> 16.November 1997
*** fileexists.the fileexists.bat test.bat test.cmd key_enter key_esc 
*** uarrow darrow fw emacs compatprf ldhlp extension exitring
Adopted uniq test for file existance.

*** color_WIN32 locale_WIN32 define_WIN32 fw.bat allx
New

> 15.November 1997
*** std/usestd cmd/usecmd the/usethe tex/usetex
Fixed fname -> filename. 
Use rexxhelp in _SYNTAX_EXIT only in OS/2.

*** locale_X11 locale_OS2
Replacement for german.the, can act like a compose key or dead key.

*** scrntop scrnbot
Since text scrolls no longer when reaching the top/bottom line macros
hit really the top/bottom screen line.

*** word_in_focus
Allows setting word into an environment variable for oses, which don't
support return values from rexx scripts.

> 14.November 1997
*** toggle wsprefix_o
Replaces toghexdisp, togwrap, togpre, can handle most toggle-set;
Included most toggle-settings in wsprefix_o.

*** color_X11, color_OS2, define_X11, define_OS2, fw
Handle things different for each OS :-(

> 09.November 1997
*** lot's of files
Replaced stream(somefile,"command","query exists") with general
approach. Renamed FW$ to FW so that no conflict should arise on
sh. Generalized	dirsep-usage.

*** tex\log
Now uses extract /ring/ instead of stepping through the ring
explicitly.

*** tex\cv, tex\lp.cmd tex\lv.cmd
New, replaces tex\compile, tex\view, tex\comp_view, tex\index and
tex\prtdrv.

*** backspace deletechar
Use 'spltjoin' instead of 'join' as a workaround.


> 27.October 1997
*** qdir, key_enter
Impoved for managing odd situations with dir files.

*** clearpaste
Removed code to return to text when using this from text, now 'the'
works well without.

*** goblock
Changed debug information from 'msg ...' to lineout ...

*** deleteblock
Corrected Name of variable for undelblock-key.

> 17.October 1997
*** key_enter
Now works within dir again (sos edit didn't do anything until sos
current). If 'sos edit' fails, no 'macro extension' is executed.

> 15.October 1997
Ported several macros to linux, packed them as 'thefwutil25.zip'

> 14.October 1997
Showed respect for change of fname.1() to filename.1().

> 31.August 1997
*** fw
Startup with arguments takes all stuff passed with -a, not only the 
first word.

> 04.July 1997
*** osenv
New

> 03.July 1997
*** fileexists
New

*** various
If env-variable TMP is not set, FW$-files are saved to current dir
instead of root

*** various
Write logfile only if flag is set

*** exitring
Can delete old entries (again).

> 29.May 1997
*** cmd/usecmd, tex/usetex std/usestd the/usethe
Corrected undefined variable, introduced adaption to various OSes.

*** keyword
Starts 'view' in separate task :-)

*** cmd/usecmd
Denotes preferred .inf-file for keyword lookup on CENTER to rexx.inf
instead of cmdref.inf.

> 23.May 1997
*** key_enter
Allows to call for help via thekey, ldhlp, help, keyword. the
prevw/nextw commands refuse changing to special files.
Retains cmdline after LOCATE and alike for next search.

*** thekey
Made code more straight, added more restrictive search in the.qrf.

*** deletechar
Now can delete within text of cmdline if in DIR. If cmdline is empty,
deletes file at curent line.

> 22.May 1997
*** fw
Changed color layout to white on black.

> 21.May 1997
*** extension
For Dir-files the root-directory should be handled correctly.

*** qdir
Now focuses file from where qdir has been called (if not from
dir-file). Now sets file evoked from (if not DIR) to be able to return
to that file with ESC.


> 09.May 1997
*** fw, wsprefix_q
C-PGUP, C-PGDN now different than C-F1, C-F2. Only C-F1, C-F2 will
sort the directory.

*** deleteline
Corrected cursor position in small files.

*** qring, extension, key_enter, key_esc, uarrow, darrow
Moved this feature from REXX.$$$ to a uniq RING.FW$.

*** quitfile
Adopted changes due to introduction of FW$-files

> 04.May 1997
*** cuttopaste, getpaste
Corrected cause for REXX-Error (oncommand instead of incommand).
Corrected cursor position.

*** many files
changed fw-special files like fw_paste.$$$, fw_line.$$$, fw_block.$$$
to files with extension .FW$.

*** exitfile key_enter
changed switch_to_previous_file by using 'prevwindow' if possible.

*** key_enter
Introduced a new special file RINGINFO instead of using REXX.$$$ for
selecting a distinct file from the ring.

> 02.May 1997
*** std/usestd, extension
Doesn't use 'set autosave' in pseudo files any longer.

*** key_enter
Doesn't crash THE when no files are left in the ring. 

Allows KEY$$$.$$$ to be shown (othe macros still will treat this file
as a file to be omitted!).

*** fw
Now calling THE with no argument, no pick.the and no target shows
DIR-file in correct appearance.

*** mainhelp.the
Now really envokes mainhelp when using enter on a helpmenu line
containing 'mainhelp'.

*** dirs, dirt, dirf, dirn
Resetting of alteration count. 'Dirt' restores the month as been before.

*** fw, nextpara, prevpara, compatprf, eof, bof
Shortened by using 'rexx' in key definition. finished. 'eof' and 'bof'
now obsolet.

> 27.Apr 1997  (thanks for the assistance of Mark)
*** prevpara nextpara
Make use of target BLANK

*** deletechar
Don't delete line in text if in cmdline and nothing remains at cmdline

*** fw
Now assured that calculation of location of current line returns integer
values.

*** key_enter
Corrected behaviour on splitted screens, cursor in cmdline remained
somewhere in the cmdline.

> 23.Dec 1996
*** backspace
Fixed bug of removing linebreak, if text had been scrolled to the left and
cursor reached leftmost window column.

*** wordleft
Fixed (?) problem with scrolled screens.

*** qlocal
Added select info, changed focus/current display.

> 19.Dec 1996
*** scrolldn scrollup
In special files this (usually assigned A-CURU/A-CURD) will retrieve
cmdbuffer (so, in this special files the keys CURU and A-CURU are
swapped).


*** key_enter the\thekey
If an error occurs, there is a suggestion to use the help key and the
content of the line is not cleared.

*** keyword the\usethe
Allows keyword to lookup as second argument. Differentiated calling
depending on library passed.

*** mainhelp
Can give some brief help if something is on the cmdline.

> 18.Dec 1996
*** key_enter
Fixed unwanted clearing of cmdline after commands, which place some stuff to
the cmdline (like 'modify', '?'). Note: if content is not changed, but
only redisplayed, the clearing may take place anyway :-(

*** qpoint
Fixed display of points

> 16.Dec 1996
*** extension
Simplified for adding userspecific extension systems.

*** extension and lots of other files
Added '.man' and '.qrf' beeing recognized as help files.

*** ldhlp
Extended to look also in THE_HOME_DIR and THE_FW_HOME for specified name (then
extension must be given).

*** scrollleft/right
Extended so that it operates ok too if cursor is in cmdline.

> 15.Nov 1996
*** key_enter
Fixed bug preventing to enter dir located in root.

*** mainhelp
For menu files giving help for items ESC will return to this menu page
instead of returning to text.

*** uarrow darrow extension
Omits 'nop' lines in mnu-files
Respects definitions for reserved lines launch files for each menu
(must be named 'more_reserved_MENUNAME.the')

> 17.Oct 1996
*** qdir
Now allows for arguments passed to switch to that directory

*** shiftblockl/r replaced by shiftblock
Works ok for all blocks (stream not allowed)

*** markxxx
Introduced workaround for problem of incomplete reset of block. Now
the marking after a reset really starts a new block.

> 10.Oct 1996
*** deleteline deleteeol
Introduced workaround for problem of incomplete reset of block. Now
only one line is deleted.

*** key_enter
Now omits special files (except dir) after executing a command which
changes the file, eventually cancels the whole ring (of special
files). Disadvantage: can't switch to a special file via cmdline.

> 20.Sep 1996
*** uarrow
Now jumps over empty lines in menu files

*** key_enter
Now supports OS-commands in menu files, introduced by OS, OSQ or alike

> 17.Sep 1996
*** markstream togenv markline fw
Handle line and column block with same key, toggle type with another key

> 16.Sep 1996
*** savering.the
Now restores cursor position in text window (work around).

*** various, like deleteline
tried to work around error in 'block reset'

> 7.Aug 1996
*** Key_enter key_esc extension
Introduced a feature for setting reserved lines within menu files for
different filetypes, which have their own menu system and therefor an
own subdirectory beneath the FW_HOME_DIR. The file must be named
'more_reserved.the'. See example for TeX.

> 5.Aug 1996
*** key_enter
changed so that commands issued, which won't leave any file in the
ring won't harm

*** lots of macros
Changed place for $$$-files to the TMP-directory instead of
root. $$$-files are now saved after changing access, so that quitting
the ring also quits these files.

> 22.May 1996
*** nextinring
make use of 'query ring' information

*** exitring
reorganized, pick file is in the directory started from, not in the
one of the file actually in

*** key_enter
rereads directory after execution of command

> 21.May 1996
*** key_enter
adjusts settings if file changes after execution of a command, so that
commands like 'dir' will give more consistent results
no need any longer to use ALT-enter in dir/mnu/hlp...-files to execute commands

*** key_esc ldhlp
returns from hlp-file to menu if called from there, hlp-file not
quitted any more, but hold in ring

*** key_esc darrow uarrow ldhlp extension
corrections to allow adjustment of settings in a right way

*** qring key_esc
step through ring with 'query ring'-information

> 18.March 1996
*** getblock
Make use of overlaybox when insert mode is off and block type is box

> 6.March 1996
*** wordleft boblock eoblock goblock
Fixed bugs concerning (auto-)scrolled text. goblock replaces [be]oblock

> 26.Feb 1996
*** key_enter
Chopps off cmdline content beyond cursor only, when called with 'cut'
argument (now assigned to C-ENTER)

> 7.Feb	1996
*** wsprefix_j qfiles qlocal
New

*** scrollxxx
Changed	to work	better

*** fw qring extension
Minor changes
 
> 21.Jan 1996
*** tex\main key_esc qring mainhelp qdir
Changed	mechanism of findiing back to previous text file

> 17.Jan 1996
*** key_enter
Updated	with new features from THE so that commands can	be executed
and go to the command ring, prefix execution in	XEDIT compatibility
mode added

*** xxx\usexxx xedit
Recognize different compatibility modes	as far as possible

> 16.Jan 1996
*** deleteblock
After deletion,	cursor stays at	'beginning' of previous	block

*** dirf
new: sorts directory by	extension (ftype)

> 15.Jan 1996
*** german prefix_k fw xxx\usexxx
changed	the way	of operation: used agustins concept of msgline menus
and readv for realizing	keystroke combinations,	rearranged key assignments

*** tex\amxxx tex\latexenv tex\embrace
Integrated lots	of macros from Agustin Martin Domingo

> 13.Jan 1996
*** scrolldn, scrollup
Introduced prevention from jumping to current line, when reaching the
top of the screen.

> 12.Jan 1996
*** xxx\usexxx,	german,	fw, xedit
Introduced XEDIT.THE and XEDIT.CMD to have FW macros with a XEDIT
feeling.

Changed	in a way to allow different modifyers user reserved key	for FW
like or	XEDIT like key assignment. With	FW user	defined	keys should use
ALT, with XEDIT	they should use	CONTROL.

> 08.Jan 1996
*** fw
added key assignement for ALT-8	(toggle	scale/tabline),	SLASH (screen
split vertical), STAR (single screen), MINUS (screen split
horizontal), moved toggle prefix to Control-STAR, added	setting	for scaleline

*** togtab
new, assigned ALT-8

*** key_esc
Corrected action on loading a new (empty) file

> 06.Jan 1996
*** mainhelp ldhlp extension
Corrected action of adjusting file after loading at first time

*** markbox
Corrected type of block	on initial use

*** getblock
added WORD type

> 21.Dec 1995
*** quitfile
Now leaves special files all at	once, if no normal file	remained in
the ring.

> 20.Dec 1995
*** tex\p.cmd, tex\prtdrv tex\view, tex\comp_view tex\v.cmd
    tex\log tex\compile
Change in procedure gettheenv, rxfuncadd/rxfuncquery added, adopted to
new configuration, added makecur after locating	targets	to have	the cursor and
the currentline	congruent
 
> 12.Dec 1995
*** exitring, qdir, dirt, locring, key_enter, chmonth, tex\workdir,
    tex\compiler tex\source tex\texformat tex\setenv 
Adoption to new	style of function 'vaild_target' and 'add'/'replace'
and some minor corrections

> 11.Dec 1995
*** exitring, ldhlp, fw, tex\workdir, tex\log, tex\source...
Loading	of nonstandard rexx-functions only when	not yet	loaded
(rxfuncadd/rxfuncquery)	

> Feb-May 1995
*** lots of files
Adoption to replacement	of command() by	incommand() and	changes	in
block-macros caused by changed behaviour of add/replace, use of	new
column positioning functions

> 14.Dec 1994
*** key_enter
fixed problem with miscellaneous contents of commandline preventing that enter 
works as usual in DIR or MNU or	REXX files

> 26.Nov 1994
*** fw.the
Changend linend	character to # to prevent problems when	using files like
block.$$$

> 25.Nov 1994
*** format.the,	tex\format.the tex\format.mnu
Renamed	to fill.the, tex\texformat.the and tex\texformat.mnu since there
is a REXX-command with the same	name (on OS/2 only)

> 7.May	1994

*** v.cmd, comp_view, view
Changed	to use auto-reload-feature from	DVIPM (v 1.5): now DVIPM is
only started once and you don't	have to	close it for recompile/view. A
semaphore is created in	%THE_FW_HOME%\tex. The dvi-file	no longer gets
copied to this dir.  The tests for presence of a file have been
changed	to stream(...query exists).

> 24. April 1994

*** deleteline
Changed	to write to the	line undelete buffer \line.$$$.

*** deleteeol:
New macro replaces single 'sos delend' in profile. Uses	\line.$$$ as undelete 
buffer.	Assigned to F8.

*** undelline:
New macro for undeleting line (for use with deleteline/deleteeol).
Subsequent evocation inserts the same buffer-content several times (which is 
different to 'recover'/'recoverline').
The insertion is at cursor position.
Assigned to C-F6.

*** markword:
Improved so that it does what would be expected.

*** wordleft:
Improved to work even if leftmost window column	is not leftmost	file column.

*** scrollleft:
Corrected maximum rightmost column to be the column set	with the 
width-parameter	on commandline.

*** bol:
Now correct operation if eol is	at the leftmost	window column.

*** fw,	emacs:
Assigned 'recover' to C-INS.

*** *.hlp: Updated to final THE	version	1.5

> April	1994
*** emacs:
Another	profile	which changes some basic keybindings to	usual emacs-like bindings

(I don't want to make THE like emacs, since this is quite impossible, but have 
at least some aid in using both	editors	side by	side without major changes to 
habits.)

  Some C-X or M- prefixed bindings have	been cut:

    C-X	C-S = A-K <savefile>
    C-X	C-K = A-Q <quitfile>
    C-X	C-C = C-C <exitring>
    C-X	B   = C-B <nextinring>
    M->	    = A-. <gotoeof>
    M-<	    = A-, <gototof>
    M-X	    = ESC
    
> 12.Feb. 1994
*** qring, theset.hlp:
Moved tabsin/out from query on each file to one	query in global	list.

       tabsin tabsout
usestd ON     ON
usecmd ON     OFF
usethe ON     OFF
usetex ON     OFF

*** recoverline:
New macro assigned to C-F6: now	stays on line on recovering, so	succesive
recovering will	restore	the original order of previous deleted lines.

> Jan. 1994
Changed	to EmTeXB11-notation for environment variables.

> 19.Dec.1993
*** format fw, usexxx: New macro for formatting	paragraphs.

*** shiftblockl/r: Now also for	box block (could be done better).

*** key_enter: Corrected error on tof/eof.

*** deletechar:	Corrected delete in cmdline if focus at	eof/tof.

*** german, umlaut, togcaps: Allow upper/lower case insertion of german	umlauts.

*** inserttext:	Now recognizes previously stacked text.

> 30.Nov.1993
*** exitring: Corrected	error with 'signal on last_exit'.

*** appendtopaste, clearpaste, cuttopaste, deleteblock,	undeleteblock, exitring...:
Corrected missing 'set msgmode on'.

*** texsetdrv.mnu new

*** texsetenv:
 o corrected replacing of last entry to	texenv.cmd to insert new entry
 o corrected display of	full envvalue instead of first word on change
 o corrected blanks in envvalue	to be stripped of

*** texlog, texlogdvidrv.mnu: some extensions for dvidrv-log files

*** key_enter: prevent editing (some) executable or binary files if in DIR

*** exitring:
Corrected error	not leaving if pick.$$$	or pick.the was	presently in
ring or	on disk.  Reorganized pick.the to hold newly used files	at the top.

*** tex\*.*, key_enter,	key_esc, fw.cmd:
major reorganisation of	filenames and directories to make menu system work 
in a more simple way with less environment variables.

*** key_esc: returns to	menu file if in	context	help file

*** fw_help: allows context help if in menu file

*** deleteline:	del in cmdline now without macro but with do loop

*** deletechar:	del of file in DIR now only placed to cmdline

*** key_enter/extension/o/ldhlp:
  load extension specific settings on loading file to ring

*** deletechar:	delline	if at eof, don't del eof/tof

*** tex\source,	tex\workdir: now hold current setting on top of	the list

> 22.Oct 1993

*** *.hlp: made	some editing for clarifying, updating to new beta version
kedhelp, key_esc: 
 o small change	in curline setting, ESC	now holds hlp-file and
   line	position in ring.
 o this	needed to sacrify falling back to edit file started from.

*** qdir, key_enter, key_esc, extension:
 improved: 
 o hold	old dir-pos, 
 o prevent creating a file named '\..'
 o sort	directories/files separately
 o stay	on parent dir if entering new dir
 o 2nd S-F10 rereads dir if old	dirfile	has been opened
 ? in some occasion ENTER can't	edit the file ("use Alt-Enter to execute...")

*** eof, tof, nextpara,	prevpara (C-F1..4): now	sorting	dir if in dir.

*** usetex, key_enter, key_esc,	darrow,	uarrow:
  created a menu system	(see tex.doc)
  could	be used	in a similar way for other compilers or	purposes.

*** usexxx, qring: adopted the new tabkey and case-syntax

*** qring, key_enter, key_esc, uarrow, darrow:
 o now treat REXX.$$$ as a special file.
 o corrected error if block wasn't in view.

*** key_enter:
 o now gives a warning,	if commandline holds commands in special files
 o now able to execute commands	(thanks, Mark),	but unable to store it in 
   retrieve buffer
 o corrected surplus blank insertion if	break is done on blank before a	word, 
   now:	cursor adjust to previous line
 o corrected behavior if INSMODE has been turned off

*** ked:
 o changed linend char to &.
 o reintroduced	deleteblock/undelblock (corrected error	which terminated process).
 o if no file has been specified in command line, the pick list	will be	loaded
   (you	still have to switch to	the first file,	because	I don't	know how to 
   leave the DIR-file with profile commands)

*** exitring:
 o corrected error if there was	a changed help-file in the ring	(infinit
   beeping loop)
 o wrote a pick-makro, which holds names and focus-position of all (non-special)
   files in ring (access after starting	THE with ".\pick")
 ? in some cases a first use doesn't leave the ring

*** wordright: corrected error:	at end of the line the next word had been omitted.

*** deletechar:	now somewhat safer on trying to	delete a file in a DIR-file.

*** deleteword:
   Corrected error if last word	has been deleted, so that spaces
   remained behind the new last	word. On trying	to delete this word, an	infinit	
   loop	was entered.

*** markline, getblock:
line block marking more	like WordStar:
 o focus line not included in block
 o block inserts *before* focus	line

*** stackword, locring:
 o stack word on focus or marked box block to command line

> 8.Oct	1993

*** ked:
 o redefined S-F8/C-F8 not to use the macros delete-/undeleteblock
 o redefined C-J to 'show'

*** eol/bol: ignore verify settings

*** quitfile, exitfile,	key_esc, nextinring:
Maintain curline-setting (1) if	remaining file type = DIR.

*** quitfile, exitfile,	key_esc: Corrected error if file wasn't	quitted/left.

*** scrolleft/right: Argument =	shiftwidth allowed.

*** inserttext:	New macro for inserting	text in	tables,	assigned to A-INS.

*** usestd:
 o 'set	case mixed ignore ignore' as default
 o A-CURR/CURL defined with 'macro scrollleft/right 15'

*** usexxx:
 o A-CURU set to nop (impossible to use	it with	'?+')
 o A-INS used for macro	inserttext
 o added usecmd	with quite the same as usestd, except that no baks are made.
   This	way after the editing of an cmd-file, wich is used as a	program	objet
   in the wps, the file	is referred to	correctly.

*** ked, printpaste: Corrected name to \paste.$$$.

*** key_enter: Corrected 'cmdline on top' if subdir was	entered	in dir-file.

*** kedset.hlp:
 o dropped all the redundant '[SET]'
 o corrected the error from theos2.man (Zone first [last])
