From : Lucio Chiappetti <email@example.com>
As suggested by Mark Hrssling on THELIST I add this here
He said "I'd probably implement this as:
SET RESERVED [AUTOscroll] location [colour] [text|OFF]"
I have a vague recall that old XEDIT had a "SET MASK"
command by which one could fill a blank line with a
I am trying to use SET RESERVED to emulate that, or at
least to achieve what follows.
I have a very wide text file (3000 records of 291
characters each), which is a sort of fixed format ASCII
dump of a database which I should supply
for ingestion into another system (please do not waste
your time saying there are other better interfaces, I
can't change this).
What I want to have is a one-line header with the
column names which always remains on the screen while I
scroll up and down. And it shall also remain on the
screen while I scroll LEFT and RIGHT.
Like SET SCALE does.
Or like "lock frames" in Excel.
I need to see the header while I inspect the file for
possible alignment or formatting errors.
In fact I wrote a 3-line macro which contains
'set reserved M+1 red Xseq._Xcatname..........'
'set scale on M+2'
'set prefix off'
In the example the text string on set reserved is
truncated with respect to what it should be (a 291
Now I have two problems :
- one is that THE crashes with THE terminated with
signal: 11 (this is THE 3.1 on Suse Linux 9.2)
when I execute the above full macro
it works if the string length is less than 260
- the second is that while the reserved line remains
on the screen together with the scale scrolling up and
... when I scroll left and right the reserved line
does not scroll (while the scale line does)
Log in to post a comment.