2011年3月28日 星期一

vim notes

http://www.vim.org/scripts/script.php?script_id=521
--mru.vim : Plugin to manage Most Recently Used (MRU) files
http://www.thegeekstuff.com/2009/08/vim-editor-how-to-setup-most-recently-used-documents-features-using-mru-plugin/


http://www.vim.org/scripts/script.php?script_id=1658
--The NERD tree : A tree explorer plugin for navigating the filesystem 


http://thehumblecoder.wordpress.com/2006/08/08/vim-swap-and-backup-files/


http://www.study-area.org/tips/vim/Vim-9.html


vim config
--set t_Co=256
--colorscheme zenburn
--set ruler
--set number
--set ch=2
--set backup
--set backupext=.bak
--set incsearch
--set ic

--map <F2> :NERDTreeToggle<CR>
--map <F3> :MRU<CR>


vim color scheme zenburn
--http://slinky.imukuppi.org/zenburn/
--http://www.vim.org/scripts/script.php?script_id=415


http://blog.superbil.info/2009/08/vimrc.html
http://blog.roga.tw/2010/01/%E6%88%91%E7%9B%AE%E5%89%8D%E4%BD%BF%E7%94%A8%E7%9A%84-vimrc-%E8%A8%AD%E5%AE%9A%E6%AA%94/

http://blog.vgod.tw/2009/12/08/vim-cheat-sheet-for-programmers/



http://www.yolinux.com/TUTORIALS/LinuxTutorialAdvanced_vi.html
ctrl-] The vim editor will jump into the tag to follow it to a new position in the file or to a new file.
ctrl-t The vim editor will allow the user to jump back a level.

http://vim.wikia.com/wiki/Browsing_programs_with_tags
Vim will search for the file named 'tags', starting with the directory of the current file and then going to the parent directory and then recursively to the directory one level above, till it either locates the 'tags' file or reaches the root directory
:set tags=./tags;



vim + ctags
http://blog.sina.com.cn/s/blog_498a6eeb0100b1cy.html

http://descent-incoming.blogspot.com/2008/03/vim-ctag-ctag.html
http://blog.yam.com/kikakika/article/27459014
http://blog.yam.com/kikakika/article/27458895
http://blog.yam.com/kikakika/article/26867424
http://stenlyho.blogspot.com/2008/11/ubuntuvim-plugin-ctagstaglist.html
http://adrianhuang.blogspot.com/2007/09/trace-code-gvimctagscscope.html

ctags -R

VIM + bufexplorer
http://blog.cathayan.org/item/1204
http://have2look.com/wordpress/archives/52.html
http://www.vim.org/scripts/script.php?script_id=42
http://groups.google.com/group/vim-taiwan/browse_thread/thread/91f2727c20d6c4b3?pli=1
http://lorenlai.pixnet.net/blog/post/30682573
http://tc.wangchao.net.cn/bbs/detail_1631832.html
http://moto.debian.org.tw/viewtopic.php?t=1061

VIM + Taglist
http://c9s.blogspot.com/2007/07/vim-taglist-plugin.html
http://nixchun.pixnet.net/blog/post/21765036
http://blog.elleryq.idv.tw/2006/05/vimtaglist.html
http://www.vim.org/scripts/script.php?script_id=273




http://vim.wikia.com/wiki/Browsing_programs_with_tags
http://vim.1045645.n5.nabble.com/vim-can-t-use-paths-in-tags-file-exuberant-ctags-win-xp-on-c-td1189693.html
http://rickey-nctu.blogspot.com/2009/02/vim-srcexpl.html
http://vim-taglist.sourceforge.net/faq.html
http://stackoverflow.com/questions/563616/vim-and-ctags-tips-and-tricks
http://community.ingres.com/wiki/Vim_and_ctags

[article] 最佳vim技巧
http://moto.debian.org.tw/viewtopic.php?t=1061

vim 大小寫轉換
http://www.csie.nctu.edu.tw/~chlo/web/docs/doc/data/vim/13.htm



vim 7.0的新功能 - 分頁(tab)
http://www.javaworld.com.tw/roller/snpshu/entry/2006_11_3_vim_tabs
http://www.linux.com/archive/feed/59533
http://www.techrepublic.com/blog/opensource/use-tabs-to-open-multiple-files-in-vim/678

gvim
http://c9s.blogspot.com/2007/06/gvim.html

Enhanced gVim Package for Win32
http://c9s.blogspot.com/2007/09/enhanced-gvim-package-for-win32.html




http://www.microsoft.com/downloads/en/details.aspx?familyid=22e69ae4-7e40-4807-8a86-b3d36fab68d3&displaylang=en
Overview
Consolas is intended for use in programming environments and other circumstances where a monospaced font is specified. All characters have the same width, like old typewriters, making it a good choice for personal and business correspondence. Optimizing the font specifically for ClearType allowed a design with proportions closer to normal text than traditional monospaced fonts like Courier. This allows for more comfortable reading of extended text on-screen.

The package will change the default text face in Visual Studio to the Consolas family.

This package is only intended for licensed users of Microsoft Visual Studio 2005 or 2008.


vim ref http link

http://yyq123.blogspot.com/

http://www.study-area.org/tips/vim/index.html



[筆記] Linux.find+grep.screen.vimdiff + vi 設定檔+Visual block
--http://liwecan.pixnet.net/blog/post/28306253

vimdiff
--http://c9s.blogspot.com/2007/08/vimdiff.html

http://ninitsai0206.blogspot.com/2010/12/using-diff-on-vim.html

http://vim.dindinx.net/vim7/html/diff.txt.php




垂直比對
:vert diffsplit {filename}

更新diff status
:diffupdate

垂直比對_other1
1. open file 1
1.1 :diffthis
2. :vsplit   OR :vnew
3. open file 1
3.1 :diffthis

垂直比對_other2
vimdiff file1 file2

多視窗(:vsplit, split)關閉
:qall


http://trac.nchc.org.tw/grid/attachment/wiki/gpxe-sis900/08-02-12_VIMDIFF_UTF8.txt

:diffget :diffput 將左右兩邊的差異互拷
do, dp short hotkey


windows vim config


" windows version vim config file
set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

set diffexpr=MyDiff()
function MyDiff()
  let opt = '-a --binary '
  if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
  if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
  let arg1 = v:fname_in
  if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
  let arg2 = v:fname_new
  if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
  let arg3 = v:fname_out
  if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
  let eq = ''
  if $VIMRUNTIME =~ ' '
    if &sh =~ '\<cmd'
      let cmd = '""' . $VIMRUNTIME . '\diff"'
      let eq = '"'
    else
      let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
    endif
  else
    let cmd = $VIMRUNTIME . '\diff'
  endif
  silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
endfunction

" up config is from vim 7.3 windows version

set t_Co=256
colorscheme zenburn
set ruler
set number
set ch=2
set backup
set backupext=.bak
set incsearch
set ic
set guifont=Monaco:h12

" vim + ctags config ref http://blogold.chinaunix.net/u3/111185/showart_2270485.html
" http://vim.wikia.com/wiki/Browsing_programs_with_tags
" search parent directory for tags file
set tags=tags;
set autochdir

map <F2> :NERDTreeToggle<CR>
map <F3> :MRU<CR>
map <F4> :TlistToggle<CR>




http://freehaha.blogspot.com/2008/02/vim-buffer-tab.html
vim buffer->tab
:tab ball

http://www.rayninfo.co.uk/vimtips.html
Best of Vim Tips
----------------------------------------
" Absolutely essential
----------------------------------------
* # g* g#           : find word under cursor (<cword>) (forwards/backwards)
%                   : match brackets {}[]()
.                   : repeat last modification
@:                  : repeat last : command (then @@)
matchit.vim         : % now matches tags <tr><td><script> <?php etc
<C-N><C-P>          : word completion in insert mode
<C-X><C-L>          : Line complete SUPER USEFUL
/<C-R><C-W>         : Pull <cword> onto search/command line
/<C-R><C-A>         : Pull <CWORD> onto search/command line
:set ignorecase     : you nearly always want this
:set smartcase      : overrides ignorecase if uppercase used in search string (cool)
:syntax on          : colour syntax in Perl,HTML,PHP etc
:set syntax=perl    : force syntax (usually taken from file extension)
:h regexp<C-D>      : type control-D and get a list all help topics containing
                      regexp (plus use TAB to Step thru list)

::show current edit file name and path
http://groups.google.com/group/comp.editors/browse_thread/thread/85e969ca3651da80
But how can I see the full path of the file I am currently editing?
:echo expand('%:p')


-----
vim grep (search keyword)
-- :lv or :lvimgrep
----http://vim.wikia.com/wiki/Find_in_files_within_Vim
----http://jeffblack360.wordpress.com/2011/02/04/vim-lvimgrep-is-a-beautiful-thing/
----http://vim.1045645.n5.nabble.com/vimgrep-vs-lvimgrep-td1164116.html


----
回到上一次的遊標位置 Ctrl+o
http://stackoverflow.com/questions/5052079/move-cursor-to-its-last-position
http://stackoverflow.com/questions/53911/in-vim-how-do-i-go-back-to-where-i-was-before-a-search


--

http://vim.wikia.com/wiki/Count_number_of_matches_of_a_pattern

:%s/pattern//gn


This makes it easy to count the number of occurrences of the word under the cursor: first press * to search for the current word, then enter :%s///gn to count all occurrences of that word.

2011年2月28日 星期一

[windows space 文章備份] 2006~ 2010

[windows space 文章備份]English-good word

2006/12/5 上午 09:07:09

She went to Mary Poppins’mother,asked her advice.She said~You don't
suppose that only one star ever fell out of the sky!Billions fall ,
I'm tald.But they fall in different place,of course.You can't expect
two stars to drop in the same field in one lifetime.



[windows space 文章備份]哈哈~發現手機的新功能…

2008/1/6 下午 07:50:27

哈哈~發現手機的新功能…

2008/01/05要搭火車到中壢
上railway的網頁將班車的時刻表抄下來。
晚上回來後 想說手機可以放mp3了 
如果可以顯示純文字檔話就能將時刻表存到手機上
再看…

試了一下。發現OK.... 樂

﹃哈哈,樂。發現手機可以看txt檔,可以先將火車時刻表存txt﹄



[windows space 文章備份]s-video

2008/2/13 下午 02:36:26

av端子
http://en.wikipedia.org/wiki/Composite_video

s-端子
http://en.wikipedia.org/wiki/S-Video

色差端子
http://en.wikipedia.org/wiki/Component_video





[windows space 文章備份]日據時代 戶口資料:

2008/4/8 下午 06:53:52



http://civ.pthg.gov.tw/style/front001/bexfront.php?sid=558702203
日據時期戶口調查簿簿頁事由記事解釋

http://blog.xuite.net/ccy1217/Formosa/6795629
明清民國紀元對照表及天干地支60甲子年表



[windows space 文章備份]昔時賢文 / 增廣昔時賢文

2008/8/20 下午 05:01:42

昔時賢文
昔時賢文 勸汝諸君
宜乎靜坐 仔細評論 
海枯終見底 人死不知心
酒逢知己飲 詩向會人吟
..... google search 可找到全文
http://w3.cyu.edu.tw/luo/course/xishixianwen_1.htm


增廣昔時賢文

昔時賢文 誨汝諄諄
集韻增廣 多見多聞
觀今宜鑒古 無古不成今
知己知彼 將心比心
酒逢知己飲 詩向會人吟
相識滿天下 知心能幾人
..... google search 可找到全文
http://w3.cyu.edu.tw/luo/course/xishixianwen_2.htm




[windows space 文章備份]寺廟

2008/8/22 下午 03:21:46

寺廟
寺廟名稱:
開安宮
供奉神祉:
李府千歲
寺廟地址:
雲林縣東勢鄉同安村同安路55號
寺廟電話:
05-6991804

寺廟名稱:
參天府
供奉神祉:
池府千歲
寺廟地址:
雲林縣褒忠鄉新湖村復興路25之11號
寺廟電話:
05-6972229

寺廟名稱:
海清宮
供奉神祉:
包青天
寺廟地址:
雲林縣四湖鄉崙北村海清路93號
寺廟電話:
05-7721741
05-7721005

拱範宮 媽祖 雲林縣麥豐村中正路3號 (05)6932033

寺廟名稱:
五條港安西府
寺廟網址:
供奉神祉:
張巡
寺廟地址:
雲林縣台西鄉五港村中央路76號
寺廟電話:
05-6901053
05-6982054


寺廟名稱:
北安宮
供奉神祉:
西獄大帝
寺廟地址:
雲林縣有才村9鄰北興26號
寺廟電話:
05-6975808



[windows space 文章備份]news:引頸期盼麥寮長庚紀念醫院將於98年12月23日啟用

2009/12/15 上午 11:43:57



http://www.gov.tw/newscenter/pages/detail.aspx?page=5cf42126-c61c-4dc6-900e-65db552bc931.aspx

引頸期盼麥寮長庚紀念醫院將於98年12月23日啟用
張貼時間:2009/12/3 下午 10:01:35    資料來源:雲林縣政府



[windows space 文章備份]video converter

2009/12/17 下午 02:28:58

http://briian.com/?p=6688
Simple Video Converter
mp4 output (quick time can't play)



http://avidemux.sourceforge.net/
http://en.flossmanuals.net/Avidemux/Introduction
avidemux
mp4 output (quick time can play)


[windows space 文章備份]過新年.汽車換新牌

2010/2/12 下午 05:07:40

2/11發現汽車車牌被偷  中午報案
2/12換好新車牌 (趕在九天連假前辦好)
todo:
    汽車保險更改
    ETC 更改
   停車證改車號
   信用卡道路救援更改



[windows space 文章備份]雲林聚餐地點

2010/2/23 上午 11:37:55


我家牛排  05-6360308 虎尾 忠孝路61號
雅砌餐廳 05-6312389 虎尾 德五街92號
歡樂牛排 05-6310649 虎尾 林森路二段135號
異人館 05-6326150 虎尾 三民路128-1號(電話打不通, 改號了 or 不開了)
米多力 05-6330662 虎尾 文科路88號

七十八巷花園 05-6964476 崙背 枋南村78之10號


http://057821374.travel-web.com.tw/
田園蜜語庭園餐廳 北港鎮後溝里灣內路66-38號 05-7821374、0935666745

http://057822255.travel-web.com.tw/
吉輝海鮮川菜館 北港鎮文化路184-1號 05-7822255



[windows space 文章備份]預計要買的書

2010/7/12 下午 02:30:49

下午 02:30 2010/7/12

第一版是看中文版的…
http://my.safaribooksonline.com/9780137061129


Embedded Linux Primer: A Practical Real-World Approach, Second Edition
By: Christopher Hallinan
Publisher: Prentice Hall
Last Updated: 10-JUL-2010
Pub. Date: October 15, 2010 (Estimated)
Print ISBN-10: 0-13-701783-9
Print ISBN-13: 978-0-13-701783-6
Pages in Print Edition: 576

Helps programmers rapidly climb the learning curve, maximize productivity, and handle today's most important development challenges

Contains new chapters on PCI Subsystem, Hotplug and UDEV, USB, and reducing boot time

Offers practical coverage of Flash-resident filesystem images, the Memory Technology Devices subsystem, and today's hot new multicore processors

[windows space 文章備份]WINxp sp2 install disc update to sp3

2010/7/20 下午 01:11:55

using free software: 7-zip, mkiosf(linux)

ref: http://guessi.pixnet.net/blog/post/17432102
using 7-zip to uncompress the iso file
the boot image is in [BOOT]\Bootable_NoEmulation.img

using WindowsXP-KB936929-SP3-x86-CHT.exe to update windows file

using mkisofs in linux
rename Bootable_NoEmulation.img to boot.img
mkisofs -b boot.img -no-emul-boot -boot-load-seg 1984 -boot-load-size 4 -iso-level 2 -J -joliet-long -l -D -relaxed-filenames -N -V XPSP3 -v -o ../WinXPSP3.iso WINXPSP3

ref: http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/
JWSYU@ROC.TAIWAN.HSINCHU.SCIENCE-PART




快速小技巧 synergy in win7

2010/7/27 上午 11:31:07

上午 11:30 2010/7/27


Step 1. Open secpol.msc
    開始->搜尋程式及檔案
Step 2.Set UAC Behavior for Administrators to ‘Elevate without prompting’
    安全性設定->本機原則->安全性選項-> 使用者帳戶控制:在管理員核淮模式,系統管理員之提升權限提示的行為
    選 "提高權限而不提示"
Step 3. Run Synergy as Administrator.
   捷徑->進階-> 選 "以系統管理員身份執行"
Step 4. Step 4. Auto-start Synergy on Log-in
Step 5. Start Synergy!

1. server is pc with keyboard,mouse you want to use
2. go to client pc , connet to server's ip addr ex:192.168.1.30
ref:http://n00tz.net/2010/01/quick-tip-synergy-on-windows-7/

=========================
win7 的 quick launch toolbar
--Guided Help: Enable the Quick Launch bar in Windows 7
http://support.microsoft.com/kb/975784

--[Update] Restore Quick Launch Toolbar in Windows 7 [How To]
http://mintywhite.com/windows-7/7customization/windows-seven-7-restore-quick-launch-toolbar/

[windows space 文章備份]insert eject cd rom tray in LIN/WIN

2010/6/27 上午 01:58:51

在LIN/WIN環境下 打開光碟機的托盤,收入光盤機的托盤



"Help poor children in Uganda!,幫助烏干達的可憐兒童!" quota from my lovely text editor
http://www.vim.org/iccf/

AUTHOR JWSYU@ROC.TAIWAN.HSIN-CHU.MOUNTAIN
DATE 上午 01:50 2010/6/27

http://www.technize.com/four-ways-to-inserteject-cd-rom-tray-in-windows/
Four Ways To Insert/Eject CD-ROM Tray In Windows
***** Method 1: Using Command Line Tool: Eject ******

http://www.codeguru.com/cpp/w-p/system/cd-rom/article.php/c5775


CDR.EXE - Open/Close CD Drive(s) Programmatically
cdr close all


http://www.cyberciti.biz/tips/howto-eject-removable-media-under-linux.html
Quick tip: Eject and Insert CD / DVD media under Linux

http://linux.about.com/od/commands/l/blcmdl1_eject.htm
Linux / Unix Command: eject

[windows space 文章備份]三勝橡膠

2008/4/9 下午 02:52:51



公司名稱:三勝橡膠股份有限公司

http://www.tria.org.tw/trade_member.php?memberid=2043

公司地址:雲林縣634褒忠鄉中正路2號

http://209.85.175.104/search?q=cache:DyMEh844-QMJ:mail.ylc.edu.tw/~bcps.chenc/e/e06_001.htm+%E6%A9%A1%E8%86%A0+%E8%A4%92%E5%BF%A0+%E9%99%B3%E6%B7%BB%E8%B2%A1&hl=zh-TW&ct=clnk&cd=8&gl=tw&lr=lang_zh-TW



成功的典範-陳添財先生 褒忠國中吳彩黎

一 個 面 孔 黝 黑 , 穿 著 樸 素 , 外 表 看 來 相 當 純 樸 的 莊 稼 漢 , 由 他 佈 滿 歲 月 風 霜 的 臉 孔 , 結 滿 厚 繭 的 雙 手 以 及 常 赤 足 奔 走 打 拼 的 模 樣 , 很 難 想 像 : 他 就 是 擁 有 五 十 多 名 員 工 , 樂 善 好 施 的 橡 膠 公 司 董 事 長 - - 陳 添 財 先 生 。

陳 先 生 , 今 年 五 十 八 歲 , 褒 忠 鄉 新 厝 人 , 三 歲 喪 父 , 五 歲 母 失 明 , 家 貧 , 無 立 錐 之 地 , 曾 受 前 妻 娘 家 的 歧 視 , 於 婚 後 二 年 , 又 要 求 離 婚 的 打 擊 , 為 了 餬 口 、 謀 生 , 他 做 長 工 、 賣 過 豬 肉 , 送 過 汽 水 , 沿 途 叫 賣 過 冰 枝 、 仙 草 等 , 日 夜 打 拚 , 省 吃 儉 用 , 終 於 在 民 國 五 十 三 年 買 下 第 一 筆 屬 於 自 己 的 房 地 , 民 國 五 十 七 年 蓋 起 第 一 棟 屬 於 自 己 的 樓 房 , 更 於 民 國 六 十 七 年 創 立 了 他 個 人 的 光 榮 代 表 , 也 是 褒 忠 鄉 人 的 驕 傲 - - 三 勝 橡 膠 公 司 。 如 今 三 勝 公 司 年 營 業 額 達 七 千 餘 萬 元 , 並 於 去 年 ( 民 國 八 十 三 年 ) 至 大 陸 投 資 擴 充 事 業 。

事 業 有 成 之 後 , 他 不 忘 飲 水 思 源 , 回 饋 鄉 里 。 常 利 用 週 會 時 間 , 到 鄉 內 國 中 、 小 學 演 講 , 作 現 身 說 法 , 勉 勵 青 、 少 年 知 福 、 惜 福 , 認 真 讀 書 , 並 提 供 優 厚 獎 學 金 , 獎 掖 清 寒 優 秀 學 子 。 遇 有 貧 困 、 急 難 之 鄉 民 , 他 一 定 義 不 容 辭 、 慷 慨 解 囊 , 位 於 鄉 內 添 財 路 , 外 觀 宏 偉 的 群 體 醫 療 中 心 用 地 , 就 是 他 的 樂 捐 所 成 。 由 於 他 的 樂 善 好 施 、 慈 悲 心 腸 , 民 國 七 十 九 年 曾 獲 得 全 國 好 人 好 事 表 揚 , 於 是 , 陳 大 善 人 之 美 名 不 逕 走 耳 。

當 今 社 會 物 慾 橫 流 , 大 人 爭 相 追 名 逐 利 , 笑 貧 不 笑 唱 ; 青 少 年 則 遊 手 好 閒 , 好 高 騖 遠 , 夢 想 一 夕 致 富 , 加 以 政 治 亂 象 迷 亂 人 心 至 鉅 , 致 令 原 本 勤 奮 、 節 儉 的 中 國 人 變 得 奢 靡 、 浪 費 、 貪 婪 。 陳 添 財 先 生 的 故 事 可 謂 亂 象 中 的 一 股 清 流 , 他 刻 苦 自 勵 、 不 屈 不 撓 、 堅 守 道 德 原 則 的 作 法 , 更 是 青 少 年 求 學 , 青 年 創 業 的 典 範 。 成 功 固 然 可 喜 , 成 功 者 背 後 的 努 力 , 尤 其 令 人 喝 采 。 在 極 力 讚 賞 陳 先 生 之 餘 , 也 衷 心 祝 福 陳 先 生 身 體 健 康 、 事 業 更 飛 黃 騰 達 。 第一期

[windows space 文章備份]linux call trace?

2008/3/14 下午 10:26:53

http://www.mjmwired.net/kernel/Documentation/oops-tracing.txt
From: Linus Torvalds
77 The other thing to do is disassemble the "Code:" part of the bug report:
78 ksymoops will do this too with the correct tools, but if you don't have
79 the tools you can just do a silly program:
80
81  char str[] = "\xXX\xXX\xXX...";
82  main(){}
83
84 and compile it with gcc -g and then do "disassemble str" (where the "XX"
85 stuff are the values reported by the Oops - you can just cut-and-paste
86 and do a replace of spaces to "\x" - that's what I do, as I'm too lazy
87 to write a program to automate this all).
88
89 Alternatively, you can use the shell script in scripts/decodecode.
90 Its usage is:  decodecode < oops.txt

http://www.cs.purdue.edu/homes/hosking/502/spim/node23.html
The calling convention described in this section is the one used by gcc

http://www.embeddedrelated.com/usenet/embedded/show/31646-1.php

http://www.cs.uaf.edu/~cs301/notes/Chapter9/node11.html
Stack Frame
http://www.cs.uaf.edu/~cs301/notes/Chapter9/node1.html

http://chortle.ccsu.edu/AssemblyTutorial/Chapter-28/ass28_4.html

http://geeksoul.org/140
gcc -O9 -ffast-math -fomit-frame-pointer

http://en.wikipedia.org/wiki/Call_stack

http://blogmarks.net/marks/tag/TAMPOLINE

http://wiki.kldp.org/wiki.php/GccOptionOmitFramePointer

http://www.osdev.org/osfaq2/index.php/InterruptServiceRoutines

[windows space 文章備份]交通部運研所-交通百科-公路篇

2006/7/5 下午 02:21:16

http://www.iot.gov.tw/ct.asp?xItem=336&ctNode=1073
交通部運研所-交通百科-公路篇
表2.6、表2.7以及圖2-3、圖2-4分別為台灣地區歷年公鐵路客運營運
量統計,由表圖知,公路客運的客運量以及客運延人公里,在民國71
年至民國74年間係呈現正成長的情形,此係由於中山高速公路剛於民
國68年完工通車,公路客運的旅行時間大幅縮減,使得旅客轉而搭乘
快速、便捷、可及性高以及票價便宜的公路客運,而自民國75年以後
,受到公路交通量的逐漸增加,使得公路客運的準點性降低,再加上
民國76年政府開放天空的政策,航空運輸量大增,因而使得公路客運
量逐漸下滑,尤以最近三年下滑的情形最為劇烈。總體而言,公路客
運量由民國71年的19.9億人次,減少至民國86年的11.6億人次,平均
年成長率為-3.52%。客運延人公里則由民國 71年的282億延人公里,
減少至民國86年的174億延人公里,平均年成長率為-3.15%,均呈現
負成長的趨勢。

3.環島公路系統包括省道台1線及台9線,共長946.1公里,為環繞東西
    部的主要幹線。
    (1) 台1線:自台北起經桃園、新竹、苗栗、台中、彰化、雲林、
               嘉義、台南、高雄、屏東至楓港,全長449公里。台1
               線全線有75%的路段,路寬在18公尺以上,而有10%
               的路段,其路寬不及15公尺;而全線幾為瀝青路面。
               民國86年交通量為17,839~105,914 P.C.U./日。
    (2) 台9線:自台北起經宜蘭、蘇澳、花蓮、台東至楓港,長480公
               里。台9線全線有16%的路段,路寬在18公尺以上,而
               有72%的路段,其路寬不及15公尺;全線幾為瀝青路
               面。民國86年之交通量為5,923~44,516 P.C.U./日
               。

3橫貫公路系統
包括台7(北部橫貫公路)、台 8(中部橫貫公路)、台9甲、台14、
台16、台18、台20(南部橫貫公路)及台24線等8線,規劃總長1,253
.9公里,已通車873.4公里,為連絡東西部地區的公路交通孔道。分述
如下:
    (1) 台7線:自桃園之大溪起,經復興、棲蘭、再連至宜蘭,長1
               31公里,即北部橫貫公路。台7線全線只有3%的路段
               ,路寬在18公尺以上,而高達有94%的路段,其路寬
               不及15公尺;全線幾為瀝青路面。民國86年之交通量
               為1,601~5,696 P.C.U./日。
    (2) (台8線):自台中之東勢起,經谷關、德基、梨山、大禹嶺
                   、天祥至花蓮之太魯閣,長188公里,為東西橫
                   貫公路。台8線全線僅有1%的路段,路寬在18公
                   尺以上,而有99%的路段,其路寬不及15公尺;
                   全線幾為瀝青路面。民國86年之交通量為1,390
                   ~13,444 P.C.U./日。
    (3) 台9甲線:自台北之新店起經烏來、孝義、過阿玉山至宜蘭之
                 圳頭至員山,長36公里。台9甲線全線有99%的路
                 段,路寬不及15公尺;全線幾為瀝青路面。民國86
                 年之交通量為10,702~19,417 P.C.U./日。
    (4) 台14線:自彰化起,經草屯、埔里、霧社過中央山脈至花蓮
                之仁壽,長188公里,其中蘆山至龍澗段,長達77公
                里的路段仍尚未開通。台14線已開闢路段中,有50
                %的路段,路寬在18公尺以上,而有46%的路段,
                其路寬不及15公尺;而有85%的路面為瀝青路面。
                民國86年之交通量為 1,523~90,974 P.C.U./日。
    (5) 台16線:自南投之名間起,經水里、頂崁、苗圃、地利村至
                花蓮之鳳林,長142公里,目前僅開通名間至合流坪
                段,共28公里長。台16線已開通路段中,不及1%的
                路段,路寬在18公尺以上,而有95%的路段,其路
                寬不及15公尺;全線僅有57%的路面為瀝青路面。
                民國86年之交通量為 3,994~28,631 P.C.U./日。
    (6) 台18線:自嘉義起,經吳鳳、阿里山、八通關、大分、卓鹿
                至玉里,長205公里,其中玉山至鹿嗚段,長達103
                公里之路段尚未開通。台18線已開通路段中,僅有
                6%的路段,路寬在18公尺以上,而有88%的路段,
                其路寬不及15公尺;全線幾為瀝青路面。民國86年
                之交通量為3,136~26,115 P.C.U./日。
    (7) 台20線:自台南起,經新化、玉井、甲仙、桃源、關山、霧
                鹿、新武呂至台東之德高,長203公里,為南部橫貫
                公路。台20線全線僅有8%的路段,路寬在 18公尺
                以上,而有89%的路段,其路寬不及15公尺;全線
                有76%的路面為瀝青路面。民國86年之交通量為957
                ~39,001 P.C.U./日。
    (8) 台24線:自屏東起,經三地門、霧台、追分至知本,全長131
                公里,其中霧台至見晴段,長58公里之路段尚未開通
                。台24線已開通路段中,有不及1%的路段,路寬在
                18公尺以上,而有96%的路段,其路寬不及15公尺
                ;全線僅有48%的路面為瀝青路面。民國86年之交
                通量為477~21,921 P.C.U./日。

4縱貫公路系統
包括台3、台13、台19及台21線等4線,規劃總長946.5公里,已通車873
.4公里,為西部平原南北向輔助幹線。分述如下:
    (1) 台3線:自台北起,經三峽、關西、竹東、豐原、斗六、楠西
               、里港至屏東,長445公里,台3線全線有32%的路段
               ,路寬在18公尺以上,而有52%的路段,其路寬不及
               15公尺;全線有93%的路面為瀝青路面。民國86年之
               交通量為2,301~136,664 P.C.U./日。
    (2) 台13線:自新竹之內湖起,經尖山、苗栗、三義、后里至豐
                原,長70公里。台13線全線有15%的路段,路寬在
                18公尺以上,而有70%的路段,其路寬不及15公尺
                ;全線均為瀝青路面。民國86年之交通量為12,583
                ~37,802 P.C.U./日。
    (4) 台24線:自屏東起,經三地門、霧台、追分至知本,全長131
                公里,其中霧台至見晴段,長58公里之路段尚未開通
                。台24線已開通路段中,有不及1%的路段,路寬在
                18公尺以上,而有96%的路段,其路寬不及15公尺
                ;全線僅有48%的路面為瀝青路面。民國86年之交
                通量為477~21,921 P.C.U./日。


5濱海公路系統
包括台2、台11、台15、台17及台26等5線,規劃總長825.6公里,已通
車817.4公里,為環繞本島濱海地區幹線。分述如下:
    (1) 台2線:自關渡起,經淡水、基隆、福隆、頭城至蘇澳,全長
               170公里,為北部濱海公路。台2線全線有22%的路段
               ,路寬在18公尺以上,而有65%的路段,其路寬不及
               15公尺;全線均為瀝青路面。民國86年之交通量為11
               ,404~92,067 P.C.U./日。
    (2) 台11線:自花蓮起,經豐濱、大港口、成功、富源、至台東
                之知本,長182公里,為東部濱海公路。台11線全線
                僅有6%的路段,路寬在18公尺以上,而有 93%的
                路段,其路寬不及15公尺;全線幾為瀝青路面。民
                國86年之交通量為1,732~26,604 P.C.U./日。
    (3) 台15線:自關渡起,經八里、竹圍、觀音、舊港至香山,長
                82公里,為西部濱海公路北段。台15線全線有56%
                的路段,路寬在18公尺以上,而有36%的路段,其
                路寬不及15公尺;全線幾為瀝青路面。民國86年之
                交通量為3,304~31,471 P.C.U./日。
    (4) 台17線:自甲南起,經鹿港、麥寮、布袋、台南、高雄、東
                港至水底寮,長252公里,為西部濱海公路南段。台
                17線全線有61%的路段,路寬在18公尺以上,而有
                35%的路段,其路寬不及15公尺;全線有90%的路
                面為瀝青路面。民國86年之交通量為1,380~45,429
                 P.C.U./日。
    (5) 台26線:自楓港起,經鵝鑾鼻、港仔至達仁,全長92公里,
                其中小港至中港段以及旭海至達仁段尚未開通,本
                線為南部濱海公路。台26線已開通之67公里中,有
                60%的路段,路寬在18公尺以上,而有40%的路段
                ,其路寬不及15公尺;全線幾為瀝青路面。民國86
                年之交通量為3,363~37,402 P.C.U./日。

5.西部濱海快速公路建設計畫
本計畫路線沿現西部濱海縱貫公路(台15、台 17,台15與台17銜接段
)路線,主線北起台北縣八里,南迄台南市二仁溪橋止全長324公里,
另增闢關渡橋至八里地區、中正機場、香山聯絡道及二仁溪橋至高雄
縣市界連絡道四處共長43公里,合計共長367公里,以原路拓寬、新闢
外環線或高架方式按快速公路標準拓寬改善。本計畫以貫通中部地區
香山至鹿港外環道為第一優先路段,其餘為第二優先。本計畫於民國
86年 4月檢討後,將第一優先路段及第二優先中配合政策辦理之部分
一併施工,自民國81年 7月~民國89年6月由前台灣省公路局辦理完成

6.東西向快速公路建設計畫
本計畫北起基隆、台北生活圈,南至高雄、屏東生活圈,共規劃 12條
路線,總長340.4公里,其中包括開放式公路16.2公里,平面快速公路
50公里,封閉式快速公路154.7公里,高架公路107.8公里及隧道長15.
7公里,此外興建聯絡道約41公里。12條路線分別為:
    (1) 萬里瑞濱線-自台2線萬里外環線終點起至瑞濱止,全長
                    18.76公里。
    (2) 八里新店線-自西濱公路12K+700起至新店秀朗橋止,全長
                    26.1公里。
    (3) 觀音大溪線-自西濱快速公路觀音大潭至第二高速公路南興
                    交流道止,全長27.2公里。
    (4) 南寮竹東線-自台15線南寮新頭前溪大橋西方至台3線止,全
                    長26.1公里。
    (5) 後龍汶水線-自西濱快速公路後龍至台3線汶水止,全長30.
                    79公里。
    (6) 彰濱台中線-自彰濱工業區東側西濱快速公路至台中中清路
                    止,全長30.25公里。
    (7) 漢寶草屯線-自西濱快速公路下漢寶至草屯接第二高速公路
                    止,全長33.9公里。
    (8) 台西古坑線-自西濱快速公路台西南方至第二高速公路古坑
                    交流道止,全長42.53公里。
    (9) 東石嘉義線-自西濱快速公路東石港至頂六附近第二高速公
                    路止,全長34.74公里。
    (10)北門玉井線-自西濱快速公路北門至王井,全長41.78公里。
    (11)台南關廟線-自西濱快速公路台南市安平港南端至關廟附近
                    ,全長17.67公里。
    (12)高雄潮州線-自中山高速公路五甲附近至第二高速公路潮洲
                    交流道附近,全長25.2公里。
本計畫之計畫時程,第一、二優先路段為民國82年6月~民國90年6月
,第三優先部分緩辦。目前本計畫分別由前台灣省住都處及前台灣省
公路局辦理中。