FilePro from Linux xterm or other terminal?
John Esak
john at valar.com
Wed Aug 11 20:09:12 PDT 2010
Bill,
I just generally use a "." for the GZ character... It gives me a period...
Which looks normal to me. On SCO's ansi termcap it is accomplished like
this:
:GZ=\E[10m.
If you put a , you'd get a comma, if a ~ you'd get a ~... If you put a k,
you'd get a k :-)
On Windows, filePro doesn't use a termcap except in a very old version that
I'm pretty certain no one would ever be using now. The built in environment
variable is PFEOF and it takes the hex value of whatever you want. No,
wait, it takes the decimal value and converts it to the hex value and then
displays that hex value converted. So
PFEOF=46
Is really a 2e which is a period and makes things on Windows look like my
Unix end of field markers. I absolutely hate the giant triangles laying on
their sides. Whever thought that one up has zero aesthetic
sensibilities.... :-) Watch, I'll find out it was Ken now. .... :-)
John
> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
> m] On Behalf Of Bill Campbell
> Sent: Wednesday, August 11, 2010 8:51 PM
> To: filepro-list at lists.celestial.com
> Subject: Re: FilePro from Linux xterm or other terminal?
>
> On Tue, Aug 10, 2010, John Esak wrote:
> >Hey, I like Bruce's Comments Inline Belov... We could
> shorten that to just
> >CIB at the top of anything that might be questionable.
> >
> >And since I'm at the top of a very long interspersed thing
> I'll just finish
> >my comments up here.
> >
> >1. I don't see how any setting for Putty xcould affext
> filePro alerting you
> >to changing a screen from mono to color (or vicce versa).
> That's just a
> >matter of reading the file and alerting one way or the other
> isan't it?
> >You'r not changing the screen files by the PUTty settings.
>
> Personally, I much prefer my terminals to be simple monochrome
> with generally light backgrounds and black text although on SCO
> consoles I generally did a ``setcolor yellow blue'' to use yellow
> text on a blue background which I found easy to read. When using
> the ``vim'' editor, I normally leave syntax off as I find the
> colors hard to read, only turning it on when looking for the
> elusive missing quotes.
>
> >2. On termdcaps for ansi, I've always set the EOF character
> to a period with
> >th3e GZ vcalue. I don't see how a ~ does this, but so be it.
> For those
> >locked into using Windows, there is a filePro variable
> called PFEOF to set
> >the character you want.
>
> The ``~'' character is the proper character for graphic line
> drawing characters that is used after the GS graphics start code.
> In that mode single ascii characters are mapped to the graphics
> for box corners, and other characters. I don't Do Windows, much
> less deal with Windows graphics, so don't know how that works.
>
> >3. Boy wouldn't this all be easier if Bob Rasmussen just did
> all the work he
> >did on Anziowin for a Linux desktop! :-) Like I say, I bet
> it is because
> >of the long standing penchant of the Linux community that
> everyything should
> >be free. In this case, it has come back to byte everybody.
> :-) (Sorry, you
> >know I can't resist. ...
>
> Generally my clients don't have a problem paying a reasonable
> price for things like terminal programs, but $150 for PowerTerm
> doesn't seem reasonable to me.
>
> There are a few termcap variables that I can't identify, and
> would like definitions for a termcap comparison script. Over the
> years I've found most of them going back to the Tandy Xenix codes
> used for Microsoft extensions used by MultiPlan and friends.
> These are the ones I don't know that are found in the FilePro
> termcaps for scoansi and xterm, and my xterm-linux
>
> CD scoansi xterm xterm-linux
> dn \E[B \E[B None
> LD F7 F7 Ctrl-E
> LZ Enter Enter RETURN
> GY \E[11m\031\E[10m None None
> LY Del Ctrl-C Ctrl-C
>
> ``LD'' is a FilePro label for something, but not being a FP
> developer or user, I haven't a clue what. It would have a
> related ``PD'' which is the code sent by the MultiPlan Page Down
> key according to my history.
>
> ``LZ'' label seems to be what one does going from field to
> field, but there's no corresponding ``PZ'' definition.
>
> ``GY'' looks like a graphic code of some kind, and looks sorta
> like ANSI code to highlight whatever the octal \031 character is
> on a SCO terminal.
>
> ``LY'' looks like it should be what FilePro uses to say press
> this key twice to exit/cancel a screen. This (a) seem to have
> any effect when I change it, and (b) isn't really a termcap
> thing, but is related to the ``stty intr'' interrupt setting.
>
> Here is a comparison of the termcap codes in the FilePro termcap
> for scoansi, xterm, and xterm-linux as I have it today. Termcap
> codes have padding characters removed to make it easier to
> compare the functional part of the strings. The xterm P0->P3
> codes for the FilePro xterms are the codes sent by old DEC and
> Wyse VT class terminal's PF1->PF4 keys, and are *NOT* the codes
> sent by any modern (e.g. non-SCO) xterm emulation I've seen.
> This gets wider than 80 columns as my termcap comparison script
> sets column widths to the minimum needed to display the data in
> that column.
>
> CD scoansi xterm-color xterm-linux Description
> al \E[L \E[L \E[L add
> (insert) blank line
> am True True True
> automatic margins
> bs True None True ^h does
> backspace
> cd \E[J \E[J \E[J clear
> to end of display
> ce \E[K \E[K \E[K clear
> to end of line
> CF None None \200 Tandy
> Xenix: Cursor Off
> cl \E[2J\E[H \E[2J\EH \E[2J\EH clear screen
> cm \E[%i%d;%dH \E[%i%d;%dH \E[%i%d;%dH cursor motion
> CN None None \200
> Multiplan sent by CANCEL key
> co 80 80 80 number
> of columns in a line
> dc \E[P \E[P None delete character
> dl \E[M \E[M \E[M delete line
> do None None \E[B down one line
> ei None end insert mode
> eo True True None can
> erase overstrikes with a blank
> G1 \277 k k Xenix
> Upper-Right Corner Character
> G2 \332 l l Xenix
> Upper-Left Corner Character
> G3 \300 m m Xenix
> Lower-Left Corner Character
> G4 \331 j j Xenix
> Lower-Right Corner Character
> GC \305 n n Xenix
> Center Graphics (+) Character
> GD \302 w w Xenix
> Down Tick Character
> GE \E(B \E(B Xenix
> Graphics Mode End
> GH \304 q q Xenix
> Horizontal bar Character
> GL \264 u u Xenix
> Left Tick Character
> GR \303 t t Xenix
> Right Tick Character
> GS \E(0 \E(0 Xenix
> Graphics Mode Start
> GU \301 v v Xenix
> Up-Tick Character
> GV \263 x x Xenix
> Vertical Bar Character
> GZ \376 ~
> FILEPRO-16 field end mark Character
> ho \E[H \E[H None home
> cursor (if not cm)
> ic \E[@ \E[@ None insert character
> im None insert
> mode (enter)
> is None None
> terminal initialization string
> kb ^h \177 None sent by
> backspace key
> ku \E[A \E[A \E[A sent by
> terminal up arrow key
> kd \E[B \E[B \E[B sent by
> terminal down arrow key
> kl \E[D \E[D \E[D sent by
> terminal left arrow key
> kr \E[C \E[C \E[C sent by
> terminal right arrow key
> ke None None \E[?1l\E> out of
> keypad-transmit mode
> kh \E[H \E[H \E[H sent by home key
> ks None None \E[?1h\E= put
> terminl in keypad-transmit mode
> L0 F1 F1 F1
> FILEPRO-16 insc Insert Character
> L1 F2 F2 F2
> FILEPRO-16 delc Delete Character
> L2 F3 F3 F3
> FILEPRO-16 insl Insert Line
> L3 F4 F4 F4
> FILEPRO-16 dell Delete Line
> L4 ESC ESC ESC ESC ESC ESC
> FILEPRO-16 save record [ESC] [ESC]
> L5 F5 F5 F5
> FILEPRO-16 dupl Duplicate Key
> L6 PgUp Pg Up PgUp
> FILEPRO-16 utab Up Tab
> L7 PgDn Pg Dn PgDn
> FILEPRO-16 dtab Down Tab
> L8 ShiftTAB ESC TAB ESC-TAB
> FILEPRO-16 ltab Left Tab
> L9 TAB TAB TAB
> FILEPRO-16 rtab Right Tab
> LA Ctrl-O Ctrl-O Ctrl-O
> FILEPRO-16 clef Clear End of Field
> LB F6 F6 Ctrl-F
> FILEPRO-16 dmap Display Fields
> LC Ctrl-L Ctrl-L Ctrl-L
> FILEPRO-16 Redraw,Multiplan PREVULK
> LE F8 F8 Ctrl-P
> FILEPRO-16 dprt Display Print Codes
> LG Ctrl-Z Ctrl-X Ctrl-Z
> FILEPRO-16 crup Up Arrow (DT-1)
> LH F9 F9 Ctrl-G
> FILEPRO-16 cdwn Down Arrow (DT-1)
> li 25 25 25 number
> of lines on screen or page
> LJ F10 F10 Ctrl-X
> FILEPRO-16 crgt Right Arrow (DT-1)
> ms True True None safe to
> move while in so and ul mode
> nd \E[C \E[C \E[C
> nondestructive space (cursor right)
> P0 \E[M \EOP \E[11~
> FILEPRO-16 insc Insert Character
> P1 \E[N \EOQ \E[12~
> FILEPRO-16 delc Delete Character
> P2 \E[O \EOR \E[13~
> FILEPRO-16 insl Insert Line
> P3 \E[P \EOS \E[14~
> FILEPRO-16 dell Delete Line
> P4 \E\E \E\E \E\E
> FILEPRO-16 save record [ESC] [ESC]
> P5 \E[Q \E[15~ \E[15~
> FILEPRO-16 dupl Duplicate Key
> P6 \E[I \E[5~ \E[5~
> FILEPRO-16 utab Up Tab
> P7 \E[G \E[6~ \E[6~
> FILEPRO-16 dtab Down Tab
> P8 \E[Z \E^I \E^I
> FILEPRO-16 ltab Left Tab
> P9 ^I ^I ^I
> FILEPRO-16 rtab Right Tab
> PA ^O ^O ^O
> FILEPRO-16 clef Clear End of Field
> PB \E[R \E[17~ ^F
> FILEPRO-16 dmap Display Fields
> PC ^L ^L ^L
> FILEPRO-16 Redraw,Multiplan PREVULK
> PD \E[S \E[18~ ^E
> Multiplan sent by PAGE DOWN key
> PE \E[T \E[19~ ^P
> FILEPRO-16 dprt Display Print Codes
> PG ^Z ^X ^Z
> FILEPRO-16 crup Up Arrow (DT-1)
> PH \E[U \E[20~ ^G
> FILEPRO-16 cdwn Down Arrow (DT-1)
> PJ \E[V \E[21~ ^X
> FILEPRO-16 crgt Right Arrow (DT-1)
> PN \E[5i None None Tandy
> Xenix: enable printer port
> PS \E[4i None None Tandy
> Xenix: disable printer port
> pt True True True has
> hardware tabs
> RT None ^J None
> Multiplan sent by RETURN Key
> se \E[m \E[m \E[m end
> stand out mode
> so \E[7m \E[7m \E[7m begin
> stand out mode
> sr None None \EM scroll
> reverse (backwards)
> tc None linux None goto
> terminal - must be last
> te None None \E[?1l string
> to end programs that use cm
> ti None None \E>\E[?5l\E[?7h\E[?8h string
> to begin progs that use cm
> ue \E[m \E[m \E[m end
> underscore mode
> up \E[A \E[A \E[A upline
> (cursor up)
> us \E[4m \E[4m \E[4m start
> underscore mode
> dn \E[B \E[B None unknown
> LD F7 F7 Ctrl-E unknown
> LZ Enter Enter RETURN unknown
> GY \E[11m\031\E[10m None None unknown
> LY Del Ctrl-C Ctrl-C unknown
>
> Bill
> --
> INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC
> URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
> Voice: (206) 236-1676 Mercer Island, WA 98040-0820
> Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792
>
> The most serious doubt that has been thrown on the authenticity of the
> biblical miracles is the fact that most of the witnesses in regard to
> them were fishermen. -- Arthur Binstead
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list