Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-21-2006, 02:14 PM   #1
wulfie180
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%
When I view the same file directly on my mac, it produces the proper characters.

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}
};
Also, if I use Slick Wide Editor to view the file on the remote server, it works just fine.

Any ideas on what I can do to help this problem?
wulfie180 is offline   Reply With Quote
Old 04-21-2006, 03:51 PM   #2
hayne
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
hayne is offline   Reply With Quote
Old 04-26-2006, 10:14 AM   #3
wulfie180
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.
wulfie180 is offline   Reply With Quote
Old 04-26-2006, 11:16 AM   #4
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,939
Quote:
Originally Posted by wulfie180
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?

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.

Quote:
Also note: This didn't happen when I was using a PPC mini.

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
hayne is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.