marens Apprentice
Joined: 05 Aug 2004 Posts: 173
|
Posted: Mon Mar 06, 2006 9:33 pm Post subject: [SOLVED :-( ] GVim :shell --> incorrect display |
|
|
I have several display problems in gvim as shown in the picture. http://www.marenz.info/linux/gvim.jpg
as you can see:
* no colors in the gvim-shell
* ls -l --color=none results in a correct listing
* ls -l results in a incorrect display
* <UP><UP> results in " $ k ku ku ku ku kl"
some additional info:
all points work perfectly in vim just not in gvim
from the shell in gvim:
marenz@MARENZ-NTBK ~/c++lernen/kap06/kap06_ü01 $ echo $TERM
dumb
from the shell in vim:
marenz@MARENZ-NTBK ~ $ echo $TERM
rxvt-unicode
and i already tried to :set term=rxvt-unicode in gvim
didn't work
gvimrc here http://www.marenz.info/linux/gvimrc
.bashrc
Code: | marenz@MARENZ-NTBK ~ $ cat .bashrc
# /etc/skel/.bashrc:
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/files/dot-bashrc,v 1.3 2005/07/06 22:10:22 vapier Exp $
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output.
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
# Shell is non-interactive. Be done now
return
fi
# Shell is interactive. It is okay to produce output at this point,
# though this example doesn't produce any. Do setup for
# command-line interactivity.
# colors for ls, etc. Prefer ~/.dir_colors #64489
if [[ -f ~/.dir_colors ]]; then
eval `dircolors -b ~/.dir_colors`
else
eval `dircolors -b /etc/DIR_COLORS`
fi
alias halt="sudo halt"
alias ll="ls -l --color=auto"
alias ls="ls --color=auto"
alias cdcopy="cdrdao copy --datafile /tmp/burner.bin --eject"
alias doc='cd /home/marenz/eclipse/workspaces/workspace_pgvoip/doc/handbuch'
alias startx="ssh-agent startx"
# Change the window title of X terminals
case $TERM in
xterm*|rxvt*|Eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac
# uncomment the following to activate bash-completion:
[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
source .gentoo/java
pal -r 60 |
output from emerge info:
Code: | marenz@MARENZ-NTBK ~ $ emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cscope cups curl divx4linux doc dvd dvdread eds emboss encode esd ethereal exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 java jikes jpeg junit lcms ldap libg++ libwww mad mhash mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdflib perl pic png postgres ppds python qt quicktime readline recode samba sdl snmp spell sse ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vorbis xine xml2 xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LINGUAS |
hope someone can help
greetings, marenz
EDIT1:
got an answer from the mailinglist. seems vim can't display it correctly
Quote: | this is by design: :he design-not
gvim does not provide terminal emulation for subshell.
in case of character-based vim, terminal emulation for
subshell is provided by the terminal emulator
and works without efforts from vim |
EDIT2:
helps a bit : set noguipty
http://www.vim.org/htmldoc/options.html#'guipty' _________________ If English was good enough for Jesus, then it's good enough for you! |
|