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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
|
qe -- UNIX PE2
---------------------
@B qe
qe O@Ӽҥ PE2 s{As qe ]uO]r Q OƦb P C
M DOS POAUNIX ShiΡAӥBP Terminal X]
PC]@DZ`Ϊ function ̦nwq Control Key Meta Key WAH
KϥΡC
QE b http://www.cc.ncu.edu.tw/~center5/product/qe/
GBw
QE OH C++ ygAF
http://www.cc.ncu.edu.tw/~center5/product/qe/
U̷s QE {~AzݭnbzWw˦nUCn:
g++: GNU C++ Compiler
ѦҪ gcc-2.8.1.tar.gz
libstdc++-2.8.1.1.tar.gz
ncurses: GNU Curses
ѦҪ ncurses-4.2.tar.gz
N QE Ѷ}Aݬ Makefile O_nק諸aC
make --> isĶ
make install --> iw
TBҳ]w
QE bw˫Ob /usr/bin UAt~tΪ profile help
file OO qe.pro qe.hlp w˦b /usr/share/qe UC
QE \wqOgb qe.pro ɡAΨϥΪ̮aؿ .qerc ɡCwq
覡M PE2 D`AЦۦѦ PE2 ϥΤUC
QE Hm⪺覡ܡAPϥΪ Terminal Cp Linux FreeBSD
consoleAxcin crxvt Ψ䥦䴩m⪺ TerminalCϥ crxvt
䥦 color O X term ݭnN TERM ܼƳ] xterm-colorB
color_xterm rxvt (UtβP)C]wkO
setenv TERM xterm-color --> csh tcsh
TERM=xterm-color --> shBkshBbash
export TERM
t~Az]iHQ QE Command Line optionA TERM ]wAp:
qe -t xterm-color
LAoؤ覡bYǥx Work
iH Shell Scrip ӰAp
--------------------------------------
#!/bin/sh
t=$TERM
TERM=xterm-color
export TERM
qe "$@"
TERM=$t
export TERM
-------------------------------------
|B qe
qe UCѼƥiѨϥ
-h ݬ qe ǰѼ
-t ]w Terminal TypeAp qe -t xterm-color
-p w profile N ~/.qerc
BBUG
zo{ QE { BUG ɡA Email center5@cc.ncu.edu.tw
HKbU@ӪC
Bprofile e{ɪҳ]w
SET tC
set blankcompress on/off (sɮɭnn space TAB)
ibROU [?b] dߥثeAΦbRO{ɭק]w
set searchcase exact/any (jMΨNɬO_jpg)
ibROU [?s] d
set searchcase exact jpgϤ
set searchcase any jpgϤ
set big5 on/off/auto (Tܶ})
ibROU [?5] d
set big5 on T
set big5 off ^T
set big5 auto ۰ʤ^Ҧ (H LANG ܼƨMwAunO
zh_TW }YɡAN]A_h^)
set history-key none/up/down/both (ЦbROCɥsXvRO)
set history-key none
set history-key up VW
set history-key down VU
set history-key both WBU
set dir-sort-by name/time/size (ŪؿɱƧǤ覡)
set dir-sort-by name ɦWƧ
set dir-sort-by time ɮקƧ
set dir-sort-by size ɮפjpƧ
set ctrl-k on/off
set ctrl-q on/off
set ctrl-x on/off
] UNIX WiQΪ֫ܦhA] QE \ϥΪ̥H
Ctrl-K (Ѧ joe WordStar) Ctrl-Q (ѦҺ~)
Ctrl-X (Ѧ Emacs) ft䥦CftiHO^r
ƦrAOH k- q- x- ܡCp k-q N Ctrl-K Q
def k-q = [quit] hiHN QE wqp JOE @몺\A
n set ctrl-k onA|h ctrl-k 즳\C
bROndߥثeoǥ\}piOH [?k]B[?q] [?x]
dߡA]ib Editing AUקC
DEF tC
def d OOΨөwq䪺OAp:
def enter=[il][up][fn][down]
{ɼg]ibROUAiߧYͮ (}ᤣ|QsU)
CBROCO
1. Ū: e filename edit filename
2. s: save (ثe䴩 save filename)
3. sɨ}: file
4. }: quit q [quit]
5. ɦW: n filename name filename
6. ݥؿ: dir dir path
dir iHοﰵ cd Ūɪʧ@
7. Shell: U shell i{ɸ@ shell XӡAU@ shell RO
̫ exit ^ QE
8. 渹: U line 110 i 110
9. {ɪ: @ӨAOOwqb\WA]ibROC
UO
10. {ɩwq: bROC{ɭקY\䪺wqApN enter 䪺\
אּJ@AU@檺}YAiU
def enter=[down]
t~wq\]iHXөwqA軡A쥻zw
Ctrl-Z ӧRAF Ctrl-Z X{
key code: [ 26 ] is not definedAhziHU
d 26=[dl] ӹFتAoإ\SOAX@ function
key: f1 ~ f12, home, end, pgup, pgdn work ɡC
11. {ɭק: set OiקҡApg Makefile @wn
set blankcompress on
12. jM: l/abc/ B /abc B /abc/ UjM abc rꪺa
l/def/- B /def/- WjM def rꪺa
lak/a B l\k/\ UjM k/ rꪺa
^ ^ ^ ^
l/abc/m B /abc/m UjMbаOϦ abc rꪺa
l/abc/m- B /abc/m- WjMbаOϦ abc rꪺa
13. jM/N: c/abc/def/ UjM abc rאּ def
c#ab/#d\b# UjM ab/ rאּ d\b
^ ^ ^
c/abc/def/- WjM abc rאּ def
c/abc/dev/m UjMаOϦ abc rאּ def
c/abc/def/-m WjMаOϦ abc rאּ def
jߨA|X{pUT (oӳM pe2 P)
confirm change [y/n/q/a]:
Yes y n changeAMU@
No n AMU@
Quit q A]AF
All a AnAݤF
pGQbROCUOӤn@Ӥ@Ӹ߰ݡAhb
̫n[ * Ap:
c/abc/def/*
`N: ثejMOjpO_ϤA searchcase Mw !!!!
KBw䴩O
ثew䴩O (WbP PE2 ۮeAUbh QE ۤv)
O Yg \ ² z
---------------------------------------------------------------------
[backtab word] [bw] ^WӦr
[beep] [bp] oX beep n
[begin line] [bl] 檺}Y
[begin mark] [bm] mark Ϫ}Y
[begin word] [wb] r}Y
[bottom] [bo] ɮת
[bottom edge] [be] ṳ̀U@
[center line] [cl] NЩҦbmվb
[command toggle] [cg] ROϩMưϪ
[copy from command] [cf] NROCƫư
[copy mark] [cm] NаOϪƫЩҦbm
[copy to command] [ct] NЩҦbưϪeROC
[cursor command] [cc] ROC
[cursor data] [ca] ư
[delete char] [dc] R@Ӧr
[delete line] [dl] R@
[delete mark] [dm] RаO
[down] [down] ЩU@
[edit] [e] sUɮ
[end line] [el] в@檺̫
[end mark] [em] ваOϪ̫
[end word] [we] вr
[erase begin line] [eb] RХH᪺
[erase end line] [ee] RХHe
[execute] [ex] ROCRO
[fill mark] [fm] NаO϶J@Ӧr
[first nonblank] [fn] ЩҦbĤ@ӫDťժr
[insert line] [il] J@
[insert mode] [im] JҦJҦ
[insert toggle] [it] JҦ
[join] [jo] NU@汵쥻᭱
[left] [left] Щ@
[lowercase] [lc] NаOϪҦrনpg
[mark block] [mb] block ΦаO
[mark line] [ml] ΦаO
[move mark] [mm] hʼаOϦܴЦm
[overlay block] [ob] νƻ\覡ƻs block ΦаO
[page down] [pd] U@
[page up] [pu] W@
[pop mark] [po] q|XаO
[push mark] [ps] NаOϩi|
[replace mode] [rm] JҦNҦ
[right] [right] Щk@
[rubout] [ro] RЫe@Ӧr
[scrolldown] [scrolldown] ùW
[scrollup] [scrollup] ùU
[scrollleft] [scrollleft] ù
[scrollright] [scrollright] ùk
[shift left] [sl] NаOϸƩ@
[shift right] [sr] NаOϸƩk@
[split] [sp] NЫ᪺ƲU@
[tab] [tb] UөwI
[tab word] [tw] U@Ӧr
[top] [to] ɮת}Y
[top edge] [te] ṳ̀W@
[undo] [ud] ٭~J
[unmark] [um] аO
[up] [up] ЩW@
[uppercase] [uc] NаOϪҦrনjg
[?b] d blankcompress A
[?s] d searchcase A
[quit] [quit] }(xs)
[clear marks] [ck] MаO|
---------------------------------------------------------------------
[kill line] [kl] RЫ᪺ơAYФwb̫
hNU@汵W
[search] [search] QE ΦƷjM
[menu] [menu] UԦ\
[history] [history] sXROCvO
[quit all] [quit all] Ҧ(߰ݡB]xs)X QE
[file all] [file all] xsҦQʪɮסA}
[?k] d Ctrl-K A
[?q] d Ctrl-Q A
[?x] d Ctrl-X A
[?5] dߤT}
---------------------------------------------------------------------------
following Porting by Lechee.Lai
[next word] [nw] move cursor to next word
[mark word] [mark word] Mark word under cursor and transation in global for [search]
[search2] [search2] search base on search without wapped
[isearch] [isearch] Incremental Search
[set0] [set0] Drop Anchor 0
[set1] [set1] Drop Anchor 0
[set2] [set2] Drop Anchor 0
[go0] [go0] Go Anchor 0
[go1] [go1] Go Anchor 1
[go2] [go2] Go Anchor 2
[goto line] [goto line] Jump cursor to the specified line number
set insert-mode on/off
misc macro
def x-x = [mark word][search2][unmark] ;* search pattern under cursor
def x-x = [up][mb][down][cm][unmark][right] ;* duplicat upper line charactor for current line
def x-x = [set0][unmark][mark block][nw]+ ;* Deletes the "word" to the right of the cursor
[mark block][delete mark][go0
def x-x = [bl]'//'[down ;* Add C comment in begin of line
---------------------------------------------------------------------------
EB|䴩 PE2
[backtab]
[center in margins]
[clear message]
[demo end]
[demo fast]
[demo slow]
[escape]
[left edge]
[left margin]
[mark char]
[next view]
[next window]
[paragraph margin]
[print]
[print mark]
[redraw]
[reflow]
[right edge]
[right margin]
[split screen]
[zoom window]
|