* --> Why won't my window resize correctly? <--
@ 1997-04-04 5:00 David White
0 siblings, 0 replies; only message in thread
From: David White @ 1997-04-04 5:00 UTC (permalink / raw)
For a while I've been using "pico" as my default editor. Though it
hasn't got many frills, it does have the nice feature of sizing
itself to your screen, no matter what size it is.
I've now switch to jpico, one of the modes of the "joe" editor, which
has a lot more power. I keep my TERM set to "vt100", but I've set
JOETERM to "xterm".
However, if I try to use the termcap entry for "xterm" that was
supplied with joe, which is:
xterm|iris-ansi|iris-ansi-net|X windows terminal emulator:\
:xn:\
:kb=\b:ks=\E=:ke=\E>:\
:k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~:k5=\E[15~:\
:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k0=\E[21~:\
:kh=\E[8~:\
:tc=decansi:
then joe comes back with this error:
Sorry, your terminal can't do absolute cursor positioning.
It's broken
I'm forced to use this entry for xterm, which comes from the
systemwide /etc/termcap:
vs|xterm|vs100|xterm terminal emulator (X window system):\
:do=^J: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=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:\
:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:xn:\
:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\
:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
:is=\E\E[m\E[?7h\E[?1;4l:cs=\E[%i%d;%dr:\
:rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:
which works EXCEPT for the fact that my screen dimensions must be
hardcoded into the termcap entry ("co" and "li"). If I resize my
screen, I must first quit joe, redit this xterm entry (copied into
~/.termcap) for the new screen size, then start joe again -
otherwise, Joe will attempt to size itself for the old screen
dimensions.
Am I doing something wrong? What I do I need to do in order to
convince Joe to size itself to whatever my screen currently is, the
way that pico can?
Thanks to anyone who can help!
(In case any of this is useful, I'm running DEC UNIX v4.0b, with the
fvwm window manager, and rxvt terminals)
--
=-=-= David =-=-=
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-04-04 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-04 5:00 --> Why won't my window resize correctly? <-- David White
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox