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

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

2001年10月03日(水) 旧暦 [n年日記]

#1 [Emacs] Emacs/w3 nbsp が \240 となる件

  と書いてあると、それが \240 に表示されるのは iso-8859-1 の世界ではいいらしいが、日本語の画面ではうまくない。 正しい変更だとは思えないが、w3-vars.el の中を次のように変更すると、 一応僕にとってはうれしい画面になる。
    (nbsp        . 160)
                    ↓
    (nbsp        .  32)

訳者一覧が「 訳儒一逞」となるのは ?:

何故かまだ分らない。
(JIS)
訳者一覧 1b 24 42 4c 75 3c 54 30 6c 4d 77 1b 28 42 0a 
訳儒一逞 1b 24 42 4c 75 3c 74 30 6c 6d 77 1b 28 42 0a
                           ==       ==
meta http-equiv="content-type" content="text/html;charset=iso-2022-jp"
の行を消しておくと起きない。

#2 [hns]   と書きたい時は、

  と書きたい時は、  と書く必要がある ?
と書いたが、閲覧系に依る問題のよう。
  • Emacs/w3  
  • Mozilla 5  
つまり hnf は何も関係ない。というか単に Emacs/w3 の問題 ?

#3 [機械] rsync -a と symbolic link

-a を入れると -rlptgoD と同じ。 -l は symbolic link があると (link を作るのではなく)中身を写してしまう。
そうして写してしまったものは root の所有になってしまっているので、 書けなくて気が付いた。
僕の場合、rsync -rLptgoD --delete とする必要がありそう。 slash を付けるか付けないかで意味が違うので注意と書いてある。
A trailing / on a source name means "copy the contents of this directory". Without a trailing slash it means "copy the directory". This dif- ference becomes particularly important when using the --delete option.

/usr/pkgsrc/network/rsync から入れたら IPv6 対応の気がする:


#4 [postgreSQL] 何故か initdb (p36) が正常終了

何を変更したのか分らないが今回は大丈夫 createuser (p54) もいい。
postgres@u  13:36:41/011003(~)> createuser makoto
Shall the new user be allowed to create databases? (y/n) 
Shall the new user be allowed to create more new users? (y/n) 
CREATE USER
postgres@u  13:36:49/011003(~)> 

createdb:

postgres@u  13:41:09/011003(~)> createdb practice
CREATE DATABASE

CREATE TABLE:

makoto@u ■13:41:25/011003(~)> psql practice
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

practice=> CREATE TABLE item (name TEXT, price INTEGER);
ERROR:  Cannot insert a duplicate key into 
                       unique index pg_class_oid_index
practice=> CREATE TABLE kind (name TEXT, price INTEGER);
CREATE



最近の日記
2025年02月13日
dvipdfmx ICC profile format spec. version 4.3.0
2025年01月29日
ham/wsjtx
2025年01月27日
wip/wsjtx 5.4.2
2025年01月25日
ham/wsjtx
2025年01月15日
今更 advent calendar
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)