Hello, When I close a vim/vi window from the terminal, I get a screenful of blank screen and any previous terminal history is blanked out.
It seems to be a well-known issue as documented at http://www.shallowsky.com/linux/noaltscreen.html It is similar to what is described here, but, instead of viewing the files' contents, I get a blank screen. http://serverfault.com/questions/270103/gnu-screen-clearing-on-vim-less-etc-exit my terminal settings: infocmp -C rxvt-unicode-256color # Reconstructed via infocmp from file: /usr/share/terminfo/r/rxvt-unicode-256color # (untranslatable capabilities removed to fit entry within 1023 bytes) rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System):\ :am:bw:eo:hs:km:mi:ms:xn:xo:\ :co#80:it#8:li#24:lm#0:\ :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\ :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\ :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\ :dl=\E[M:do=^J:ds=\E]2;\007:ec=\E[%dX:ei=\E[4l:fs=^G:\ :ho=\E[H:i1=\E[!p:ic=\E[@:im=\E[4h:\ :is=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l:\ :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~:kD=\E[3~:\ :kI=\E[2~:kN=\E[6~:kP=\E[5~:kb=\177:kd=\E[B:ke=\E>:\ :kh=\E[7~:kl=\E[D:kr=\E[C:ks=\E=:ku=\E[A:le=^H:mb=\E[5m:\ :md=\E[1m:me=\E[0m: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[r\E[?1049l:ti=\E[?1049h:ts=\E]2;:ue=\E[24m:\ :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ :vs=\E[?25h: --(/tmp)---------------------------------------------------------------------------------------------------------------------(pts/3@master)-- echo $TERM rxvt-unicode-256color vim :set termcap shows the below: --- Terminal codes --- t_AL=^[[%p1%dL t_CS= t_fs=^G t_md=^[[1m t_RV=^[[>c t_us=^[[4m t_xs= t_al=^[[L t_CV= t_IE=^G t_me=^[[m t_se=^[[27m t_vb= t_ZH=^[[3m t_bc= t_ut=y t_IS=^[]1; t_mr=^[[7m t_so=^[[7m t_ve=^[[?25h t_ZR=^[[23m t_cd=^[[J t_da= t_ke=^[[?1l^[> t_ms=y t_sr=^[M t_vi=^[[?25l t_ce=^[[K t_db= t_ks=^[[?1h^[= t_nd=^[[C t_ts=^[]2; t_vs=^[[?25h t_cl=^[[H^[[2J t_DL=^[[%p1%dM t_le=^H t_op=^[[39;49m t_ti=^[[?1049h t_SI= t_Co=256 t_dl=^[[M t_mb=^[[5m t_RI=^[[%p1%dC t_ue=^[[m t_EI= t_AB=^[[48;5;%p1%dm t_AF=^[[38;5;%p1%dm t_cm=^[[%i%p1%d;%p2%dH t_cs=^[[%i%p1%d;%p2%dr t_Sb=%?%p1%{7}%>%t^[[48;5;%p1%dm%e^[[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%; t_Sf=%?%p1%{7}%>%t^[[38;5;%p1%dm%e^[[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%; t_te=^[[r^[[?1049l t_WP=^[[3;%p1%d;%p2%dt t_WS=^[[8;%p1%d;%p2%dt --- Terminal keys --- t_#2 <S-Home> ^[[7$ t_K4 <kEnd> ^[[4;*~ t_k4 <F4> ^[[14;*~ t_kP <PageUp> ^[[5;*~ <xF4> ^[O*S t_#4 <S-Left> ^[[d t_K5 <kPageDown> ^[Os t_k5 <F5> ^[[15;*~ t_kb <BS> ^? <xEnd> ^[O*F t_%1 <Help> ^[[28;*~ t_K6 <kPlus> ^[O*k t_k6 <F6> ^[[17;*~ t_kd <Down> ^[O*B <zEnd> ^[[8;*~ t_%i <S-Right> ^[[c t_K7 <kMinus> ^[O*m t_k7 <F7> ^[[18;*~ t_kh <Home> ^[[1;*H <xHome> ^[O*H t_&8 <Undo> ^[[26;*~ t_K8 <kDivide> ^[O*o t_k8 <F8> ^[[19;*~ t_kl <Left> ^[O*D <zHome> ^[[7;*~ t_*7 <S-End> ^[[8$ t_K9 <kMultiply> ^[O*j t_k9 <F9> ^[[20;*~ t_kr <Right> ^[O*C <xUp> ^[[1;*A t_@7 <End> ^[[1;*F t_KA <kEnter> ^[O*M t_k; <F10> ^[[21;*~ t_ku <Up> ^[O*A <xDown> ^[[1;*B t_F1 <F11> ^[[23;*~ t_KB <kPoint> ^[O*n t_kB <S-Tab> ^[[Z <Mouse> ^[[M <xLeft> ^[[1;*D t_F2 <F12> ^[[24;*~ t_k1 <F1> ^[[11;*~ t_kD <Del> ^[[3~ <xF1> ^[O*P <xRight> ^[[1;*C t_K1 <kHome> ^[[1;*~ t_k2 <F2> ^[[12;*~ t_kI <Insert> ^[[2;*~ <xF2> ^[O*Q <kDel> ^[[3;*~ t_K3 <kPageUp> ^[Oy t_k3 <F3> ^[[13;*~ t_kN <PageDown> ^[[6;*~ <xF3> ^[O*R vim version below :version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 28 2012 08:09:40) Included patches: 1-638 Compiled by root@master Huge version without GUI. Features included (+) or not (-): +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +mouse_urxvt +mouse_sgr +multi_byte +multi_lang -mzscheme +netbeans_intg +path_extra +perl +persistent_undo +postscript +printer +profile +python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup +X11 +xfontset -xim +xsmp_interact +xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -pipe -ftracer -fgcse-after-reload -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse 4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=generic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/include -D_LARGEFILE64_SOURCE=1 Linking: gcc -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12/linux -thread-multi/CORE -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o vim -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -lnsl -ldl -L/usr/lib -llua -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12/linux-thread-multi/CORE -fstack-protector -L/usr/ lib/perl5/5.12/linux-thread-multi/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib/python2.7/config -lpython2.7 -lpthread - ldl -lutil -lm -Xlinker -export-dynamic -L/usr/lib -ltcl8.5 -ldl -lieee -lm -Wl,-R -Wl,/usr/lib -L/usr/lib -lruby -lpthread -lrt -ldl -lcryp t -lm -L/usr/lib Any thoughts, please? Thanks Joe -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
