[MacPorts] #28785: Blackbox @0.70.1 crashes in XQuartz 2.6.1 (xorg-server 1.9.3.902) when LC_CTYPE or LANG is set to some UTF8 value

MacPorts noreply at macports.org
Mon Mar 14 16:53:36 PDT 2011


#28785: Blackbox @0.70.1 crashes in XQuartz 2.6.1 (xorg-server 1.9.3.902) when
LC_CTYPE or LANG is set to some UTF8 value
--------------------------------------+-------------------------------------
 Reporter:  Peter_Dyballa@…           |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.9.2                                
 Keywords:                            |        Port:  blackbox                             
--------------------------------------+-------------------------------------
 The processes created by the X.org Server, for example X clients mentioned
 in ~/.xinitrc.d/50-clients.sh, inherit only a minimal environment. This is
 a rather uncomfortable situation since GNU Emacsen need LC_CTYPE or LANG
 set to some UTF8 value to function correctly. When I add to that script
 lines like

 {{{
 export LANG=$(defaults read "${HOME}/.MacOSX/environment" LANG)
 export LC_CTYPE=$(defaults read "${HOME}/.MacOSX/environment" LC_CTYPE)
 }}}

 it makes blackbox crash, which is launched from
 ~/.xinitrc.d/98-blackbox.sh:

 {{{
 echo "98-Blackbox WM"
 [[ -x /opt/local/bin/blackbox ]] && exec /opt/local/bin/blackbox
 [[ -x /sw/bin/blackbox ]] && exec /sw/bin/blackbox
 [[ -x ~/Quellen/blackbox-0.70.1/src/blackbox ]] && exec
 ~/Quellen/blackbox-0.70.1/src/blackbox
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28785>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list