I've been porting a Lua/IUP application written for Windows and Linux to 
Solaris 5.8. I puzzled for quite a long time over the fact that the 
program crashed (with a segmentation violation) shortly after the window 
started to be drawn. Eventually I tracked the problem down to the use of 
the newline character '\n' in a button title. I find that a similar crash 
will occur if '\n' is used in a tab's TABTITLE attribute. With the newline 
character removed. both button and tab control work as expected.

My environment is Solaris 5.8, Motif 2.1.0, and IUP 3.6 built from recent 
CVS sources.

If this is an inherent limitation of the old Solaris or Motif version, it 
would probably be good to document the exception; the description of the 
button TITLE attribute presently says "The '\n' character is accepted for 
line change", and the description of the generic TITLE attribute says "The 
'\n' character usually is accepted..."

Dave Atkinson 
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to