I'm using vim 6.3.46 on RHEL and I'm having a weird problem displaying a given file.
If I am working directly on the machine, then everything is fine and the file correctly displays. Here's just an excerpt:
Code:
UPDATE kauf set busrname="DFÜ - "||busrname[1,29]
WHERE auftrnr = $1
AND vorgang = $3
AND subnr = $2
AND busrname[1,6] != "DFÜ - ";
If I'm logging from Windows on the machine with Putty per ssh, then the output is almost fine, just note the incorrect display of (what I think is) an UTF-8 character (DFÃ instead of DFÜ)
Code:
UPDATE kauf set busrname="DFÃ - "||busrname[1,29]
WHERE auftrnr = $1
AND vorgang = $3
AND subnr = $2
AND busrname[1,6] != "DFÃ - ";
But where things really go bad, is if I connect, still from windows on the machine with QVT/Term (from
http://www.qpc.com) per ssh:
Code:
- "||busrname[1,29]name="DFÃ
WHERE auftrnr = $1
AND vorgang = $3
AND subnr = $2
- ";busrname[1,6] != "DFÃ
Note that here the sign à causes all that follows to be displayed at the beginning of the line, overlapping with what is usually there.
First I thought it was a term problem, that's why I checked with the command ":set" and ":set term=xxxx".
Putty and normal shell:
Code:
backspace=2 hlsearch ttyfast t_Sb=^[[4%dm
helplang=en ruler ttymouse=xterm t_Sf=^[[3%dm
history=50 scroll=11 viminfo='20,"50
fileencoding=latin1
fileencodings=utf-8,latin1
formatoptions=tcql
QVT:
Code:
backspace=2 history=50 ruler ttyfast
helplang=en readonly scroll=11 viminfo='20,"50
fileencoding=latin1
fileencodings=utf-8,latin1
In all of them, the Available builtin terminals are:
Code:
builtin_riscos
builtin_amiga
builtin_beos-ansi
builtin_ansi
builtin_pcansi
builtin_win32
builtin_vt320
builtin_vt52
builtin_xterm
builtin_iris-ansi
builtin_debug
builtin_dumb
:!echo $TERM gives me xterm in putty and the shell, and vt220 in QVT. After changing it with export TERM=xterm the result was still horked. So I don't know if this is really the cause I have to investigate.
Is there anybody who can give me a hint wrt my problem? Thanks a lot in advance