我想有在收信的網友們應該對 "winmail.dat" 檔案不陌生吧?當對方是使用outlook寄信時,往往會收到這個附加檔案,但是這個檔案應該怎麼轉換成Linux能處理的檔案類型呢?Linux裡面有一隻小程式名叫 "tnef",利用這隻小程式就可以把原始的附加檔案給還原回來了。
authoritative;
ddns-update-style none;
option time-offset 28800;
option domain-name-servers 140.127.198.1;
#Define Space
option space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address code 43 = string;
class "Vendor-Identifier" {
match option vendor-class-identifier;
}
subnet 172.17.0.0 netmask 255.255.255.0 {
option routers 172.17.0.254;
option subnet-mask 255.255.255.0;
option domain-name "AP.Example.com";
option broadcast-address 172.17.0.255;
#Wireless Controler IP Address Configure Option
subclass "Vendor-Identifier" "Airespace.AP1200" {
option vendor-class-identifier "Airespace 1200";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.1";
}
subclass "Vendor-Identifier" "Cisco AP c1500" {
option vendor-class-identifier "Cisco AP c1500";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.2";
}
subclass "Vendor-Identifier" "Cisco AP c1200" {
option vendor-class-identifier "Cisco AP c1200";
vendor-option-space Cisco_LWAPP_AP;
option Cisco_LWAPP_AP.server-address "172.17.10.3";
}
range dynamic-bootp 172.17.0.1 172.17.0.200;
default-lease-time 43200;
max-lease-time 86400;
}
$ setterm -dump 3 -----> 錄 tty3 的東東 , 產生 screen.dump
$ setterm -append -----> 錄 目前 tty 加在 screen.dump 的尾巴
$ setterm -h | less -----> 看看 它的功能
我們為別人也為自己找到解決問題的方法,真的好高興,沒有白努力!
下面是我自己找到的方法:原來在Linux下拍下tty畫面也很簡單
因為我預設的畫面是25X80
dd if=/dev/tty1 of=capture_filename bs=2000 count=1
vi capture_filename 即可看到剛才tty1上的螢幕內容
如果是
dd if=/dev/tty1 of=capture_filename bs=4004 count=1
vi capture_filename 可看到剛才tty1上的螢幕內容及色彩編碼
結構是
前四個字元值 列數 每列字元數 游標位置列 游標水平位置
後面則是色彩字元前文字字元後的雙字元結構
只要 cat capture_filename > /dev/tty3
就可把剛才抓下的畫面秀在tty3上面,好玩吧!
- Page 1 of 1 ( 3 posts )
- linux operation









