RE: Termcap/emulation problem
Posted in 1999
Hi, have you tried on the command line
stty intr=^H
(ie intr=DEL key)
it might work.
-----Original Message-----
From: Steven L Cooper [mailto:scooper@thecompounders.com]
Sent: Monday, October 18, 1999 2:31 PM
To: informix-list@iiug.org
Subject: Re: Termcap/emulation problem
What happens if you redefine your intr key to something else?
What is the output from stty -a?
Make sure your emulator sends DEL instead of backspace...
Here is mine (We use control-C as the "DEL" command because we have a few
Wyse60 terminals)
$ stty -a
speed 38400 baud; ispeed 38400 baud; ospeed 38400 baud; line = 0(tty);
rows = 25; columns = 80; ypixels = 0; xpixels = 0;
intr = ^C; quit = ^\\; erase = ^H; kill = ^U; eof = ^D; eol = ^@;
swtch = <undef>; susp = <undef>; start = ^Q; stop = ^S;-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk
-ortsfl -ctsflow -rtsflow
-ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc
ixon ixany -ixoff
isig icanon -xcase echo -echoe echok -echonl -noflsh
-iexten -tostop -xclude
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel
-isscancode
--
Steven L Cooper
Manager, Systems Engineering
---------------------------------------
Please reply to NG only, so others may be enlightened...
The views expressed here are mine and
you can't have them...unless you agree!
Steve McIntosh wrote in message
<01bf1619$f51d6100$69010181@W95PC_MCINTSTE2>...
>Hi,
>
>I have just installed online 7.3 and 4gl on a sco 5.05 server. When running
>a recompiled 4gl program the delete key is not acting as expected - cancel.
> All I seem to be getting is [24;1H displayed. I have looked on IIUG and
>4gl manual appendices for suggestions but to no avail.
>
>Has any one got any clues as to how I fix this problem?
>
>TERM=ansi and TERMCAP=/u/informix/etc/termcap.
>
>The termcap file entry is: (I added the gb line get graphics!). My terminal
>emulator is ttwin by turbosoft running sco ansi emulation.
>
>li|ansi|Ansi standard crt:\\
> :al=\\E[L:am:bs:cd=\\E[J:ce=\\E[K:cl=\\E[2J\\E[H:cm=\\E[%i%d;%dH:co#80:\\
> :dc=\\E[P:dl=\\E[M:dn=\\E[B:ei=:ho=\\E[H:ic=\\E[@:im=:li#25:\\
> :nd=\\E[C:ms:pt:so=\\E[7m:se=\\E[m:us=\\E[4m:ue=\\E[m:up=\\E[A:\\
> :kb=^h:ku=\\E[A:kd=\\E[B:kl=\\E[D:kr=\\E[C:eo:\\
> :kn=36:k0=\\E[M:k1=\\E[N:k2=\\E[O:k3=\\E[P:k4=\\E[Q:k5=\\E[R:k6=\\E[S:\\
> :k7=\\E[T:k8=\\E[U:k9=\\E[V:kA=\\E[W:kB=\\E[X:kC=\\E[Y:kD=\\E[Z:kE=\\E[a:\\
> :kF=\\E[b:kG=\\E[c:kH=\\E[d:kI=\\E[e:kJ=\\E[f:kK=\\E[g:kL=\\E[h:kM=\\E[i:\\
> :kN=\\E[j:kO=\\E[k:kP=\\E[l:kQ=\\E[m:kR=\\E[n:kS=\\E[o:kT=\\E[p:kU=\\E[q:\\
> :kV=\\E[r:kW=\\E[s:kX=\\E[t:kY=\\E[u:kZ=\\E[v:\\
> :GS=\\E[12m:GE=\\E[10m:GV=\\63:GH=D:\\
> :gb=\\332\\300\\277\\331\\304\\263:\\
> :G1=?:G2=Z:G3=@:G4=Y:\\
> :GU=A:GD=B:GC=E:GL=C:GR=\\64:RT=^J:\\
>
>:ZA=\\E[%?%p1%{0}%=%t0m\\E[37%e%p1%{1}%=%t33%e%p1%{2}%=%t35%e%p1%{3}%=%t31
>%e%p1%{4}%=%t36%e%p1%{5}%=%t32%e%p1%{6}%=%t34%e%p1%{7}%=%t30%;m\\E[40m%?%p2%
t
>\\E[7
>
>