|
|
|
|
#1 |
|
Registered User
Join Date: Apr 2006
Posts: 1
|
Ever since I got one of the new intel iMacs, I've been having an odd problems. I use a script that executes xhost +, then telnets me to the server (running CentOS 4.2) I need to use. Once on the remote server, I've got another script I run that sets my display and executes the xfce4 panel. That all works with out a problem.
But the problem comes when I try to VI a source file that has Line drawing characters in it. Code:
Ã
Ã
Ã
Ã
Ã
Ã
Ã
Ã
Ã
Ã
Ã
¶"},
{0,13,11,"º Driver-#/CoDriver³ / º"},
{0,14,11,"º Name³ º"},
{0,15,11,"º Arrived Home Date³ At º"},
{0,16,11,"º City³ º"},
{0,17,11,"º Comment³ 1325,3}, 14%
Code:
static struct DISPLAY_DATA driver_home_arrival_status_display_data[] = {
{0,10,11,"ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»"},
{0,11,11,"º Driver (CoDriver) Arrived Home º"},
{0,12,11,"ÇÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄĶ"},
{0,13,11,"º Driver-#/CoDriver³ / º"},
{0,14,11,"º Name³ º"},
{0,15,11,"º Arrived Home Date³ At º"},
{0,16,11,"º City³ º"},
{0,17,11,"º Comment³ º"},
{0,18,11,"º Due Back Out³ At º"},
{0,19,11,"ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÏÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ"},
{-1}
};
Any ideas on what I can do to help this problem? |
|
|
|
|
|
#2 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,939
|
This is probably a problem of having an incorrect/unsuitable TERM environment variable set in the remote terminal. The 'vi' program is very sensitive to the TERM value.
__________________
hayne.net/macosx.html |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Apr 2006
Posts: 1
|
I don't get any unknown terminal problems when I vi a file. If it were the term value, wouldn't the problem also show up when I install the terminal on the iMac and view the same file?
Also note: This didn't happen when I was using a PPC mini. |
|
|
|
|
|
#4 | ||||||||||||||||||||||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,939
|
I didn't say it was an "unknown" terminal, merely an inappropriate one for what you want to do (display unusual characters). The TERM value would be from the system you are logged in on, not the system you are displaying on.
That's an interesting data point. Strange. Maybe it is a bug in the X11 software for Intel Macs. You should perhaps report it to Apple: http://developer.apple.com/bugreporter/bugrptform.html
__________________
hayne.net/macosx.html |
||||||||||||||||||||||||||||||||||||||||||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|