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

先月 2003年12月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2003年12月25日(木) 旧暦 [n年日記]

#1 [pkgsrc][TeX] dvi2tty で行が重なってしまう

(converters/ja-dvi2tty)
単純な再現事例を用意しないことには先に進まないかな。
とい
うことで

問題のない方:

00000180  e2 84 81 24 48 93 81 24  24 8e a1 8d 91 23 00 00  |...$H..$$....#..|
                   と          い                 ========
00000190  81 24 26 95 ce 80 81 24  33 93 81 24 48 93 81 24  |.$&....$3..$H..$|
             う             こ              と

問題のある方:

00097860  e8 85 81 24 48 93 81 24  24 8e a1 8d 91 dd db 52  |...$H..$$......R|
                   と          い                 ========
00097870  81 24 26 95 cf ca 81 24  33 93 81 24 48 93 81 24  |.$&....$3..$H..$|
             う             こ              と  
8e  136  PUT4
a1  161  Y0      move down by |y|
8d  135  PUT3
91  145  RIGHT3  後の 3 bytes 分移動 ?
dd  221  
db  219  
52
どうも、そういう問題ではなくて、dvi2tty 用に作った macros がおかしいということ らしい(自分の所為)。でも vfxdvi で見ると、特におかしくない (?)
dvi2tty に disdvi というのが付いている。16 進も表示するように変更して、
000394:  a1 Y0
000395:  8d PUSH
000396:  91 RIGHT3:   2293760
000400:  81 SET2:    9254
やはり Y0 の移動が足りないのかな。
--- dvistuff.c~ Thu Dec 25 13:17:24 2003
+++ dvistuff.c  Thu Dec 25 13:28:07 2003
@@ -38,7 +38,7 @@
 #endif
 
 #define VERSIONID            2 /* dvi version number that pgm handles      */
-#define VERTICALEPSILON 400000L /* crlf when increasing v more than this   */
+#define VERTICALEPSILON 97000L /* crlf when increasing v more than this   */
 
 #define rightmargin     152    /* nr of columns allowed to the right of h=0*/
 #define leftmargin      -50    /* give some room for negative h-coordinate */
これでかなり幸せになる。

#2 [build.sh][NetBSD][macppc] 再度挑戦

ttyp1:root@quick 16:56:54/031225(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-1
9679.992u 2922.291s 3:27:15.56 101.3% 0+0k 16505+413771io 19100pf+0w
/export/nandra-20031220b/checkout/src/sys/arch/macppc/macppc/autoconf.c: In function `device_register':
/export/nandra-20031220b/checkout/src/sys/arch/macppc/macppc/autoconf.c:273: error: dereferencing pointer to incomplete type
src/sys/dev/ata/atavar.h を 1.36 に入替え

途中から再開するには::

env TOOLDIR=`pwd`/tooldir.NetBSD-1.6ZG-powerpc BUILD_DONE=1 NETBSDSRCDIR=`pwd` ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-4
しかし ata まわりが混乱しているので、これにて今回は中止。



最近の日記
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)