R4GL and fgldb don't understand my termcap
Posted in 2008
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
I am using putty to connect to a Linux box running the latest 7.32, version of r4gl and fgldb. I have included my xterm termcap entry. My problem is that r4gl and fgldb don't know where the bottom of the sceen seems to be. When r4gl lists all my modules the list goes past the end of the screen. In fgldb the program seems to think the command window is 5 lines longer than it is. It overwrites the bottom line 5 times. This is a sample of the bottom line on screen with fgldb: └$ommand lines 30 ──────────────────────────────────┘ vs|xterm|vs100|xterm terminal emulator (X window system):\\ :cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\\E[H:\\ :co#80:li#65:cl=\\E[H\\E[2J:bs:am:cm=\\E[%i%d;%dH:nd=\\E[C:up=\\E[A: \\ :ce=\\E[K:cd=\\E[J:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:\\ :md=\\E[1m:mr=\\E[7m:me=\\E[m:\\ :ku=\\E[A:kd=\\E[B:kr=\\E[C:kl=\\E[D:kb=^H:\\ :k0=\\E[11~:k1=\\E[12~:k2=\\E[13~:k3=\\E[14~:k4=\\E[15~:\\ :k5=\\E[17~:k6=\\E[18~:k7=\\E[19~:k8=\\E[20~:k9=\\E[21~:\\ :kf=\\E[6~:kg=\\E[5~:\\ :kY=\\E[216z:kZ=\\E[222z:\\ :ta=^I:pt:sf=\\n:sr=\\EM:\\ :al=\\E[L:dl=\\E[M:ic=\\E[@:dc=\\E[P:\\ :MT:ke=\\E[?1l\\E>:\\ :is=\\E[r\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:\\ :rs=\\E[r\\E<\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:xn:\\ :AL=\\E[%dL:DL=\\E[%dM:IC=\\E[%d@:DC=\\E[%dP:\\ :ti=\\E7\\E[?47h\\E(B\\E)0:te=\\E[2J\\E[?47l\\E8:\\ :hs:ts=\\E[?E\\E[?%i%dT:fs=\\E[?F:es:ds=\\E[?E:\\ :gs=^n:ge=^o:gb=lmkjqx:
Those characters didn't make it through the post There is a left corner then $ommand lines 30 then the horz lines for the rest of the bottom of the box and are right corner. Basically showing that it drew the bottom of the page, over write it with "command lines 30 " and then overwrote that with the new prompt $. On May 2, 4:35 pm, JaxenT <jax...@gmail.com> wrote: > > „$ommand lines 30 > €€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€… >
JaxenT wrote: > I am using putty to connect to a Linux box running the latest 7.32, > version of r4gl and fgldb. I have included my xterm termcap entry. > My problem is that r4gl and fgldb don't know where the bottom of the > sceen seems to be. When r4gl lists all my modules the list goes past > the end of the screen. In fgldb the program seems to think the > command window is 5 lines longer than it is. It overwrites the bottom > line 5 times. > > This is a sample of the bottom line on screen with fgldb: > > О©╫$ommand lines 30 > О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫О©╫ > > > > vs|xterm|vs100|xterm terminal emulator (X window system):\\ > :cr=^M:do=^J:nl=^J:bl=^G:le=^H:ho=\\E[H:\\ > :co#80:li#65:cl=\\E[H\\E[2J:bs:am:cm=\\E[%i%d;%dH:nd=\\E[C:up=\\E[A: > \\ This line says your terminal is 65 lines long -- is it? > :ce=\\E[K:cd=\\E[J:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:\\ > :md=\\E[1m:mr=\\E[7m:me=\\E[m:\\ > :ku=\\E[A:kd=\\E[B:kr=\\E[C:kl=\\E[D:kb=^H:\\ > :k0=\\E[11~:k1=\\E[12~:k2=\\E[13~:k3=\\E[14~:k4=\\E[15~:\\ > :k5=\\E[17~:k6=\\E[18~:k7=\\E[19~:k8=\\E[20~:k9=\\E[21~:\\ > :kf=\\E[6~:kg=\\E[5~:\\ > :kY=\\E[216z:kZ=\\E[222z:\\ > :ta=^I:pt:sf=\\n:sr=\\EM:\\ > :al=\\E[L:dl=\\E[M:ic=\\E[@:dc=\\E[P:\\ > :MT:ke=\\E[?1l\\E>:\\ > :is=\\E[r\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:\\ > :rs=\\E[r\\E<\\E[m\\E[2J\\E[H\\E[?7h\\E[?1;3;4;6l:xn:\\ > :AL=\\E[%dL:DL=\\E[%dM:IC=\\E[%d@:DC=\\E[%dP:\\ > :ti=\\E7\\E[?47h\\E(B\\E)0:te=\\E[2J\\E[?47l\\E8:\\ > :hs:ts=\\E[?E\\E[?%i%dT:fs=\\E[?F:es:ds=\\E[?E:\\ > :gs=^n:ge=^o:gb=lmkjqx: -- Jonathan Leffler #include <disclaimer.h> Email: jleffler@earthlink.net, jleffler@us.ibm.com Guardian of DBD::Informix v2008.0229 -- http://dbi.perl.org/ -- publictimestamp.org/ptb/PTB-3150 ripemd256 2008-05-03 06:00:05 D66840827145E782DC38496BC7867F7133FEF695F685F00EFA74748DC81F4119
Doh, that was it. Is there a way for these tools to understand window resizing? On May 3, 2:09 am, Jonathan Leffler <jleff...@earthlink.net> wrote: > > :co#80:li#65:cl=\\E[H\\E[2J:bs:am:cm=\\E[%i%d;%dH:nd=\\E[C:up=\\E[A: > > \\ > > This line says your terminal is 65 lines long -- is it? > > > > -- > Jonathan Leffler #include <disclaimer.h> > Email: jleff...@earthlink.net, jleff...@us.ibm.com > Guardian of DBD::Informix v2008.0229 --http://dbi.perl.org/ > > -- > publictimestamp.org/ptb/PTB-3150 ripemd256 2008-05-03 06:00:05 > D66840827145E782DC38496BC7867F7133FEF695F685F00EFA74748DC81F4119