You are not logged in.
Hello
I have an irritating problem using the terminal under xfce4
Resizing the terminal (xterm) and (terminal) running nano results in a blank terminal. All the text disapears.
Resizing the terminal running top results in the window gets bigger but the text doesn't update all the way down. allthough there are more processes running.
If I resize the window before running the programs all is well.
Do I have to provide more information??
Can someone please advice me how to correct the problem.
//Clanman
Offline
Hmm this is a problem with those types of programs... vim will do it too... i don't think there's any "fix", you just gotta kinda deal with it...
Offline
No I don't think it is the program. Rebooted into Mepis linux and run a terminal with top.
I resized without problem
I think it has something to do with fonts......
//Clanman
Offline
did you try the terminal with the same program? why are you comparing to how top works to how nano works? top redraws itself every few seconds...
Offline
No I know that nano and top are two different progs. (editor and process viewer)
The problem is
I open a terminal (it opens in a relativ small window)
I start top (the program runs and displays like 10 processes)
I want to view all processes. So I click on the maximize button and voila. The window resizes but top only prints out the same information. 10 processes.
Same but different with nano. but here all text dissapers
Above is under arch linux xfce xterm
Did the same under Mepis linux. and top works the way I want it to it resizes and shows 20-30 processes
//clanman
Offline
using the same window manager?
check the differences in... hmmm termcap and terminfo?
Offline
No not the same window manager. xfce under Arch and KDE under Mepis. I will check the files and report back. Does your terminal behave in the same way?
//Clanman
Offline
yeah it does, but I maximize it on startup... so it doesn't affect me...
Offline
Hmmm
In mepis I have a termcap file in /etc
In arch I have a termcap library under /usr/share/vte/ and it contains a file called xterm no other termcap found
the file called xterm under arch is short compaird to the one in mepis
Where should the termcapfile be lokated? can I copy the one from Mepis to arch
In arch I have two librarys called terminfo one under /usr/lib containing altot of catalogs 1-9 and a-z
and one under /usr/share having the same catalogs no file called terminfo found
Under Mepsi i have the same but also under /etc. and there are fiewer catalogs under mepis. no file called terminfo
Thanks for taking your time and helping me
//clanman
Offline
Resizing with nano doesn't work with pure aterm but it works if you run nano inside screen inside aterm :-)
Offline
I think I am beginning to understand the termcapfile
Is $TERM = xterm in arch (It is in Mepis)
ARCH
the xterm termcap in arch says
xterm|X11 terminal emulator:
:tc=xterm-redhat: # this means that read under xterm-redhat
xterm-redhat|Red Hat xterm (backspace and delete changed):
:kD=E[3~:kb=177 # this changes delete and backspace to somting I dont understand
:tc=xterm-xfree86: # this means read under xterm-xfree86
xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):
:am:km:mi:ms:xn:
:co#80:it#8:li#24:
:AL=E[%dL:DC=E[%dP:DL=E[%dM:DO=E[%dB:IC=E[%d@:
:LE=E[%dD:
:RI=E[%dC:UP=E[%dA:ae=^O:al=E[L:as=^N:bl=^G:bt=E[Z:
:cd=E[J:ce=E[K:cl=E[HE[2J:cm=E[%i%d;%dH:cr=^M:
:cs=E[%i%d;%dr:ct=E[3g:dc=E[P:dl=E[M:do=^J:ec=E[%dX:
:ei=E[4l:ho=E[H:im=E[4h:is=E[!pE[?3;4lE[4lE>:
:kD=177:
:kb=^H:ke=E[?1lE>:
:ks=E[?1hE=:le=^H:mb=E[5m:md=E[1m:
:me=E[m17:mr=E[7m:nd=E[C:rc=E8:sc=E7:se=E[27m:
:sf=^J:so=E[7m:sr=EM:st=EH:ta=^I:te=E[?1047lE[?1048l:
:ti=E[?1048hE[?1047h:ue=E[24m:up=E[A:us=E[4m:
:vb=E[?5hE[?5l:ve=E[?25h:vi=E[?25l:vs=E[?25h:
#other setting that I dont understand
MEPIS
xterm|X11 terminal emulator:
:tc=xterm-debian:
# xterm-debian is identical to xterm-xfree86 with the addition of a small
# VT220-ism regarding the backspace and delete keys; this is mandated by
# the keyboard configuration section of the Debian Policy Manual.
xterm-debian|Debian xterm (backspace, delete changed):
:kb=^?:kD=E[3~:
:tc=xterm-xfree86:
### Begin Debian modifications ###
xterm-xfree86|XFree86 xterm:
:is=E[!pE[?3;4lE[4lE>:
:rs=E[!pE[?3;4lE[4lE>:
:AL=E[%dL:DL=E[%dM:DC=E[%dP:DO=E[%dB:UP=E[%dA:
:LE=E[%dD:RI=E[%dC:
:al=E[L:am:bl=^G:
:cd=E[J:ce=E[K:cl=E[HE[2J:cm=E[%i%d;%dH:co#80:
:cs=E[%i%d;%dr:ct=E[3g:
:dc=E[P:dl=E[M:ho=E[H:
:im=E[4h:ei=E[4l:mi:
:ks=E[?1hE=:ke=E[?1lE>:
:k1=EOP:k2=EOQ:k3=EOR:k4=EOS:
:k5=E[15~:k6=E[17~:k7=E[18~:k8=E[19~:k9=E[20~:
:k;=E[21~:F1=E[23~:F2=E[24~:
:kn#12:
:kH=E[4~::@7=E[4~:kh=E[1~:
:@0=E[1~:kI=E[2~:kD=^?:
:*6=E[4~:kP=E[5~:kN=E[6~:
:km:
:kb=^H:ku=EOA:kd=EOB:kr=EOC:kl=EOD:
:li#24:md=E[1m:me=E[m^O:mr=E[7m:ms:nd=E[C:
:eA=E)0:as=^N:ae=^O:ml=El:mu=Em:
:sc=E7:rc=E8:sf=n:so=E[7m:se=E[27m:sr=EM:st=EH:
:ti=E7E[?47h:te=E[2JE[?47lE8:
:vi=E[?25l:ve=E[?25h:
:up=E[A:us=E[4m:ue=E[24m:xn:
:ut:Co#8:op=E[39;49m:AB=E[4%dm:AF=E[3%dm:
:pa#64:Sf=E[3%dm:Sb=E[4%dm:
//Clanman
Offline
leave it to debian to put a smiley face in there..
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Resizing with nano doesn't work with pure aterm but it works if you run nano inside screen inside aterm :-)
I installed nano under Mepis and it resizes just fine. Alllthough this is with xterm if that matters???
//Clanman
Offline
leave it to debian to put a smiley face in there..
Yeah I saw that it is ":ut:Co#8:op=E[39;49m:AB=E[4%dm:AF=E[3%dm:"
It is the forum smilie detector that did it
(turned it of to show the correct line)
//Clanman
Offline
I had the same problem. I ended up removing loginShell: true in my .Xdefaults to fix it. I don't know if there is something in one of my ~/.bash* scripts that is at fault -- maybe it doesn't like one of the escape sequences for my prompt... :?
Offline
That is amazing, I have used xfce for ages & never ever knew this happened. Try rxvt, it resizes perfectly. xterm misbehaves for me too.
--(*(cs25x--));
Offline
Thanks for the tip. rxvt works fine. Now I must figure out howto configure rxvt
//Clanman
Offline