Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd X resources errors



On Tuesday, June 17, 2003, at 04:42 AM, Randy Ford wrote:

On Monday, June 16, 2003, at 01:47  PM, Finn Smith wrote:

It still looks to me like the newlines aren't what is expected. Try "od -xc .xinitrc" to see what they are. They should be just "\n" ("0a"). If they are "\r\n" ("0d0a"), they are in DOS format; If they are "\r" ("0d"), they are in old Mac format. I suspect they are DOS format. The "\r" is the carriage return character; on a printer, it sends the carriage back to the beginning of the same line. Your error messages are garbaled as follows:

    " is not definedWarning: Color name "black

I suspect the actual message is something like what follows:

some text ......Warning: Color name "black\r" is not defined

Randy --

You were right. My .Xresources file was in dos format, although I have no idea how it got that way... Probably something about the way I saved the initial example file I found on the interweb. I resaved with the correct newlines and everything worked perfectly.

Thanks very much for the help.

-F
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Odd X resources errors (From: Randy Ford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.