hns - 日記自動生成システム - Version 2.19.9

先月 2004年01月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年01月07日(水) 旧暦 [n年日記]

#1 [Emacs] 書体設定で起動しないこともある

ttype:makoto@harry  11:32:55/040107(~/cvs-work)> emacs
No fonts match `-adobe-courier-bold-o-normal--12-*-*-*-*-*-iso8859*'
Emacs.Fontset-2 の中に自分で設定しているものが X11 側に用意されていない ということらしい。

xlsfonts:

ttype:makoto@harry  11:34:59/040107(~/cvs-work)> xlsfonts
xlsfonts: pattern "*" unmatched
xrdb とかいろいろさわっていたので、 再起動したら直った。
とりあえず、再現する。
  • /etc/X11/fs/config に TrueType の行を加える
          /usr/X11R6/lib/X11/fonts/TrueType/,
    
  • /etc/rc.d/xfs restart
  • xlsfonts
    xlsfonts: pattern "*" unmatched
これでだめになる。 もしかして、XF.4.0.1 + patch では TrueType はだめとか ? fonts.scale がないのが問題 ?

XFree86 4.3.99.902 の機械で:

ttyp2:root@lets 12:15:33/040107(...X11/fs)# /etc/rc.d/xfs restart Stopping xfs.
Starting xfs.
/usr/X11R6/bin/xfs notice: ignoring font path element /usr/X11R6/lib/X11/fonts/CID/ (unreadable)
/usr/X11R6/bin/xfs notice: ignoring font path element /usr/X11R6/lib/X11/fonts/TrueType/ (unreadable)
ttyp2:root@lets 12:15:43/040107(...X11/fs)#
fslsfonts -server lets:7100
ってやるらしい。 /etc/X11/XF86Config には次の行はある。
   FontPath   "unix/:7100"
unreadable というのは fonts.dir が unreadable の意らしい。 ktrace /usr/X11R6/bin/xfs して見て分った。
fonts.scale mkfontscale で作っておいて fonts.dir に写せばいいらしい。 man mkfontdir

しかし kochi-mincho-subst.ttf を生かすと mozilla が起動しない:

(1.4)

mozilla 1.5.1:

gmake[4]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla/intl/unicharutil/public'
gmake[4]: Entering directory `/export/pkgsrc/www/mozilla/work/mozilla/intl/unicharutil/util'
gmake[4]: *** No rule to make target `export'.  Stop.
gmake[4]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla/intl/unicharutil/util'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla/intl/unicharutil'
gmake[2]: *** [export] Error 2
gmake[2]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla/intl'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/export/pkgsrc/www/mozilla/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
ttyp3:makoto@lets  13:28:31/040107(...unicharutil/util)> gmake export
gmake: *** No rule to make target `export'.  Stop.
ttyp3:makoto@lets  13:28:56/040107(...unicharutil/util)> ls -l Ma*
-rw-r--r--  1 makoto  wheel  1119 May  1  2003 Makefile.in

#2 [Emacs] きょうの .emacs browse-url-browser-function

;; /usr/pkg/share/emacs/21.3-emcws/lisp/net/.
;;      (setq browse-url-browser-function '(("^mailto:" . browse-url-mail)
;;      				    ("." . browse-url-netscape)))

(setq browse-url-browser-function '(("." . w3m)))
知らなかった。と思ったら customize の部分に何か書いてあるが、無視しよう
;;;###autoload
(defcustom browse-url-browser-function
...
ちなみに次の字は昔から書いてある
(global-set-key [next] 'browse-url-at-point)



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)