{"id":51,"date":"2016-12-07T22:21:51","date_gmt":"2016-12-07T19:21:51","guid":{"rendered":"http:\/\/sanana.kiev.ua\/?p=51"},"modified":"2016-12-31T13:36:17","modified_gmt":"2016-12-31T10:36:17","slug":"51","status":"publish","type":"post","link":"https:\/\/sanana.kiev.ua\/index.php\/archives\/51","title":{"rendered":"Read \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 FVWM"},"content":{"rendered":"<p>\u0432 <code>man fvwm<\/code> \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Read \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 &#8211; <em><strong>This looks for file config in $FVWM_USERDIR and $FVWM_DATADIR directories, as described in Read.<\/strong><\/em><\/p>\n<p>\u043d\u043e \u0432\u043e\u0442 \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0442\u0430\u043a\u0438 $FVWM_DATADIR, \u0442.\u0435. \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u0430 \u043d\u0435 FVWM_DATADIR, \u0442.\u0435. \u043c\u0430\u043a\u0440\u043e\u0441 m4, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 compile-time, \u043d\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0439 \u0432 runtime, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0430\u043a\u0438 \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u0447\u0430\u0442\u044c.<\/p>\n<p>\u043d\u0430\u0434\u0444\u0438\u043b\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439<\/p>\n<pre style=\"color:#d0d0d0; background-color:#1c1c1c; font-size:10pt; font-family:'Courier New',monospace;\"><span style=\"color:#87de8c\">--- fvwm-2.6.7\/fvwm\/read.c.orig   2016-12-07 14:12:09.000000000 +0200<\/span>\r\n<span style=\"color:#87afdf\">+++ fvwm-2.6.7\/fvwm\/read.c  2016-12-07 14:19:43.728814143 +0200<\/span>\r\n<span style=\"color:#de87da\">&#64;&#64; -239,8 +239,14 &#64;&#64;<\/span>\r\n \r\n                if((f = fopen(full_filename, &quot;r&quot;)) == NULL)\r\n                {\r\n<span style=\"color:#87de8c\">-                   full_filename = CatString3(<\/span>\r\n<span style=\"color:#87de8c\">-                                   FVWM_DATADIR, &quot;\/&quot;, filename);<\/span>\r\n<span style=\"color:#87afdf\">+                   char *datadir = getenv (&quot;FVWM_DATADIR&quot;);<\/span>\r\n<span style=\"color:#87afdf\">+                   <\/span>\r\n<span style=\"color:#87afdf\">+                   if (datadir)<\/span>\r\n<span style=\"color:#87afdf\">+                           full_filename = CatString3(<\/span>\r\n<span style=\"color:#87afdf\">+                                           datadir, &quot;\/&quot;, filename);<\/span>\r\n<span style=\"color:#87afdf\">+                   else<\/span>\r\n<span style=\"color:#87afdf\">+                           full_filename = CatString3(<\/span>\r\n<span style=\"color:#87afdf\">+                                           FVWM_DATADIR, &quot;\/&quot;, filename);<\/span>\r\n                        f = fopen(full_filename, &quot;r&quot;);\r\n                }\r\n        }\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0432 man fvwm \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u044b Read \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 &#8211; This looks for file config in $FVWM_USERDIR and $FVWM_DATADIR directories, as described in Read. \u043d\u043e \u0432\u043e\u0442 \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u0442\u0430\u043a\u0438 $FVWM_DATADIR, \u0442.\u0435. \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u0430 \u043d\u0435 FVWM_DATADIR, \u0442.\u0435. \u043c\u0430\u043a\u0440\u043e\u0441 m4, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c\u044b\u0439 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0439 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 compile-time, \u043d\u0435 \u043d\u0435\u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0439 \u0432 runtime, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0430\u043a\u0438 \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u0447\u0430\u0442\u044c. \u043d\u0430\u0434\u0444\u0438\u043b\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 &#8212; &hellip; <a href=\"https:\/\/sanana.kiev.ua\/index.php\/archives\/51\" class=\"more-link\">\u041f\u0440\u043e\u0434\u043e\u0432\u0436\u0438\u0442\u0438 \u0447\u0438\u0442\u0430\u043d\u043d\u044f<span class=\"screen-reader-text\"> &#8220;Read \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 FVWM&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[8],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-desktop","tag-fvwm"],"_links":{"self":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":6,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/posts\/51\/revisions\/57"}],"wp:attachment":[{"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanana.kiev.ua\/index.php\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}