From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,92b1955512d8df68,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: 103734,92b1955512d8df68,start X-Google-Attributes: gid103734,public X-Google-Thread: f72b0,92b1955512d8df68,start X-Google-Attributes: gidf72b0,public X-Google-Thread: f678f,92b1955512d8df68,start X-Google-Attributes: gidf678f,public X-Google-Thread: 1078e5,92b1955512d8df68,start X-Google-Attributes: gid1078e5,public X-Google-Thread: fee84,92b1955512d8df68,start X-Google-Attributes: gidfee84,public From: dswhite@gibbs.oit.unc.edu (David White) Subject: --> Why won't my window resize correctly? <-- Date: 1997/04/04 Message-ID: <5i39ip$jnt$1@newz.oit.unc.edu>#1/1 X-Deja-AN: 230696113 Followup-To: poster Organization: The University of North Carolina at Chapel Hill Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc,comp.unix.questions,comp.unix.misc,comp.windows.x,comp.windows.x.apps 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 =-=-=