Bugs item #1058706, was opened at 2004-11-02 04:08
Message generated for change (Comment added) made by jhuwaldt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1058706&group_id=11005

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Prebuilds
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nik Piskunov (piskunov)
Assigned to: Nobody/Anonymous (nobody)
Summary: Filter error in Open File menu

Initial Comment:
Any attempt opening/including a file using  File:Open or File:
Include File fails on Mac OS X. The parent xterm shows the 
following error messages:
 
    Name: FilterText
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.


    Name: Text
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.


    Name: FilterText
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.


    Name: Text
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.


    Name: FilterText
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.


    Name: Text
    Class: XmTextField
    Character '\57' not supported in font.  Discarded.

and the filter string has no starting / which seems to be the reason 
for the problem. Also any attempt to change directory using the 
directory list duplicates the filter string. Example:
    Action                     Filter string
File:Open                 Users/piskunov/RT_3D/*
click on ..                Users/piskunov/Users/piskunov/RT_3D/*

etc.

=======================================
NEdit 5.5
Sep 30, 2004

     Built on: MacOS X, PowerPC, GNU C
     Built at: Oct  6 2004, 15:10:04
   With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
       Server: The XFree86 Project, Inc 40300000
       Visual: 24-bit TrueColor (ID 0x22, Default)
       Locale: sv_SE

  Machine Model:        Power Mac G5
  CPU Type:     PowerPC 970  (2.2)
  Number Of CPUs:       2
  CPU Speed:    2 GHz
  L2 Cache (per CPU):   512 KB
  Memory:       4 GB
  Bus Speed:    1 GHz
  Boot ROM Version:     5.1.4f0

  System Version:       Mac OS X 10.3.5 (7M34)
  Kernel Version:       Darwin 7.5.0
  Boot Volume:  Macintosh HD


----------------------------------------------------------------------

Comment By: Joseph A. Huwaldt (jhuwaldt)
Date: 2010-01-28 08:28

Message:
This issue still exists for MacOS X 10.6 and nedit installed from MacPorts
(at least).

I found a work-around that may help someone smarter than me figure out why
this isn't working. This involves two steps: change the character encoding
for the MacOS Terminal window to something nedit can handle and change the
default text font in nedit to something compatible with the system.

1) Bring up a MacOS X Terminal window. Then go to the "Terminal" menu a
the top of the screen and choose Preferences... Click on the “Settings”
tab and then pick “Western (ISO Latin 1)” from the Character encoding
menu (this is the ISO8859-1 encoding). Close the Preferences window.  You
may have to create a new terminal window for the changes to take place, I'm
not sure.  I did.

2) This step may not be necessary, I did this first and then did step #1
when this didn't solve the problem. Edit the ~/.nedit/nedit.rc file using
vi or something and change the nedit.textFont properties as follows:

nedit.textFont:
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
nedit.boldHighlightFont:
-adobe-courier-bold-r-normal--12-120-75-75-m-70-iso8859-1
nedit.italicHighlightFont:
-adobe-courier-medium-o-normal--12-120-75-75-m-70-iso8859-1
nedit.boldItalicHighlightFont:
-adobe-courier-bold-o-normal--12-120-75-75-m-70-iso8859-1

You can also change this font from inside nedit in it's Text Font
Preference (make sure to Save Defaults when you are done setting it!).

This seems to have solved this problem for me.

----------------------------------------------------------------------

Comment By: Nik Piskunov (piskunov)
Date: 2004-11-08 08:43

Message:
Logged In: YES 
user_id=1149746

Dear n8gray,
As in the example I attached, my current directory was
/Users/piskunov/RT_3D and tried to get one level up by selecting ..
No special characters were involved at any stage. Even if I try to
select a file from a current directory, it fails as the the leading
slash is missing. I did a bit of tracking: the problem seems to be
connected to the interface with MOTIF library (this where the error 
message comes from). What really puzzles me is that it complains about 
\57 which is "/".

----------------------------------------------------------------------

Comment By: Nathan Gray (n8gray)
Date: 2004-11-05 14:16

Message:
Logged In: YES 
user_id=121553

Thanks for the report.  I've never seen this problem but I'm an American 
English user so I know 
very little about character set issues.  I would try experimenting with 
changing the LOCALE env. var. to see if that is the problem.  Also, does 
the directory you're trying to change to (or one in the filter path) have

non-ascii characters?  Does it work if there are no non-ascii characters 
involved?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1058706&group_id=11005
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to