tomoさんのブログ

tomoさんのブログ

ブログの説明を入力します。

Amebaでブログを始めよう!

 

こんなところに行ってきました。

エディンバラ空港からはtramというのに乗ると良い様です。

何故かユニクロの広告が。

かの有名な物理学者の故郷です。

普通の住宅街ですね。

若き日はここで学んだそう。

そして、像!

その後、あちこちまわりました。

ここはまだ営業再会していない様で少し残念ですね。

meadowというところ、散歩しました。

自然は良いですね。

近くの高い丘を登ったところ。

移動日にはInternational Edinburgh Festivalのピアノを聴いてからthe Lake Districtに行く。

ホテルからバスでthe Queen's Hallというところに行く。

バス内には次のバス停が表示される機能は無かった。

上の画像みたいに、インターネット上にリアルタイムでバスの位置が表示される。

まだ、Bernard Terrace stationじゃないなと思っていたら、the Queen's Hallがバスの右手に見えて、あれっ。

慌てて一つ先のバスで降りる。

ネット上のバスの位置は正確とは限らないのですね。

次は、the Lake Districtに行く。

なんか、電車到着遅れていて駅員さんがplatform 10に変更とか言っているから慌ててplatform 10に行く。

そして、今度は設備の故障とかで途中の駅で止まる。

確か、Carlisleだったかな。

そして、Windermereへ。

近くのOrrest Headというところに登る。

いい見晴らし。

そして、湖。

近くにピーターラビットのショップもあった。

帰りの飛行機はアクシデントで大変だったんだけど、何とか帰国出来ましたよ。

 

そういえば一度もチップ使わなかった。

National Galleryのとこのレストランでは、「うちは値段に含まれている」言われるし、ホテルでは1ポンド硬貨をベッドに置いていても机の上にそのまま置かれるし。

最近はあまり無いのだろうか。

なんか、悲しい。

I mounted a GUID partitioned external hard disk with NTFS file system.

I've already used the disk from other opeartion systems.

"mount_ntfs" is not safe, because the write support has a bug.

So it is required to use ntfs-3g package.

And the package requires "puffs".

 

# uname -rs
NetBSD 9.2

# pkgin install fuse-ntfs-3g perfuse

# ed /etc/mk.conf
a
MKPUFFS=yes
.
w
q

# dmesg|grep -i hdd
[     6.393393] sd0 at scsibus0 target 0 lun 0: <BUFFALO, External HDD, 0000> disk fixed
# dkctl sd0

...(several lines omitted)

listwedges:
/dev/rsd0: 1 wedge:
dk5: Basic data partition, 5860530176 blocks at 2048, type: ntfs

# mkdir /mydisk

# env PERFUSE_BUFSIZE=$((132 * 1024)) ntfs-3g /dev/dk5 /mydisk

# df -h

...(several line omitted)

/dev/dk5           2.7T       2.6T       174G  93% /mydisk

 

Using multiple E-mail accounts by fetchmail and procmail.

This time I won't write about muttrc.

 

~/.fetchmailrc

# Run in the background, waking up every 60 seconds
set daemon 60
set logfile .mail/fetchmail.log

defaults protocol POP3
  # set 5 minute timeout on response from a server
  timeout 600
  uidl # download only new mails
  # don't keep mail on the server, retrieve it all once
  no fetchall
  # go directly to procmail, rather than delviering through the SMTP server locally
  mda procmail
  # keep mail
  keep

# for each account
poll my.pop.server.1 protocol pop3 username my_user1 password my_password1 mda "/usr/bin/procmail -m ACCOUNT=my_account1 .procmailrc" ssl
poll my.pop.server.2 protocol pop3 username my_user2 password my_password2 mda "/usr/bin/procmail -m ACCOUNT=my_account2 .procmailrc" ssl
poll my.pop.server.3 protocol pop3 username my_user3 password my_password3 mda "/usr/bin/procmail -m ACCOUNT=my_account3 .procmailrc" ssl

~/.procmailrc

PATH=/bin:/usr/bin
SHELL=/bin/sh
MAILDIR=$HOME/.mail
DEFAULT=$MAILDIR/my_user1/.

LOGFILE=$MAILDIR/procmail.log
#VERBOSE=on

# line number display
:0    
* ! ^Lines:
{  
  # Count number of lines
  :0B 
  * 1^1 ^.*$
  { } 
  LINES = $=

  # Add Lines: header  
  :0 fhw  
  | formail -a "Lines: $LINES"
}

# addition of a header
:0 fhw 
* ACCOUNT ?? .
| formail -i "X-ACCOUNT: $ACCOUNT"

# my_account1
:0 
* ^X-ACCOUNT: my_account1
my_user1/inbox

# my_account2
:0 
* ^X-ACCOUNT: my_account2
my_user2/inbox

# my_account3
:0 
* ^X-ACCOUNT: my_account3
my_user3/inbox

# all mails
:0:
backup/inbox