和vim差不多,一樣是文字編輯器,
但是介面比較容易上手,適合新手,
fedora7似乎並未內建,但是安裝很容易,
pico是和pine綁在一起的,pine是華盛頓大學開發的,
所以要用pico就要安裝pine這個看電子郵件的套件,
安裝指令如下:
------------------------------------
# yum install pine
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package pine.i386 0:4.64-7.lvn7 set to be updated
--> Processing Dependency: libc-client.so.2006 for package: pine
--> Processing Dependency: libc-client2006 >= 2006k for package: pine
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libc-client2006.i386 0:2006k-1.fc7 set to be updated
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
pine i386 4.64-7.lvn7 livna 1.9 M
Installing for dependencies:
libc-client2006 i386 2006k-1.fc7 updates 666 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libc-client2006-20 100% |=========================| 666 kB 00:09
(2/2): pine-4.64-7.lvn7.i 100% |=========================| 1.9 MB 00:26
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libc-client2006 ######################### [1/2]
Installing: pine ######################### [2/2]
Installed: pine.i386 0:4.64-7.lvn7
Dependency Installed: libc-client2006.i386 0:2006k-1.fc7
Complete!
-------------------------------------
相比vim,因為下面功能列會有提示操作,
所以比較簡單,pico預設單行輸入太長時會自動斷行,
這在編輯一些設定檔時反而會出問題,所以要這樣解決。
#pico -w 檔案名
加上w參數,就可以不自動斷行。
--
沒有留言:
張貼留言