|
本帖最后由 fisher88 于 2011-4-3 17:03 编辑
# T( [: L+ ^' X o# y* s5 c+ q
1.4.5上的terminal很方便的可以使用命令行,管理文件系统。
- p% `! G! l. C$ k; `
1 T9 K5 u7 G1 s! Q" u2.1.0怎么办呢,www.precentral.net介绍了Terminus的使用方法
+ U0 v2 x$ w# U& D& f* e- } u; E0 u# P# w. x4 `6 B
通过Preware安装Terminus和upsrartmgr服务
2 T+ w! I' F- U- B6 e% G0 k% e C2 h. V! O4 m) p, [( a
& C2 q8 z- g8 o' `0 l% Q6 j6 R, x- q& R
下面以Internalz Pro中文版为例:
2 }' l8 E( V# E2 L8 H# D0 E, k/ A, r) J" {. H8 m
1.首先运行一次Terminus,退出/ M! W7 {5 }; p3 _8 E2 \' w# G
2.打开Internalz Pro,打开偏好设置
# |# k7 T1 N5 O) q/ Z2 b3.文本编辑器框 的 换行格式 改为Linux3 h( b5 ?% {4 M3 d# c
4.打开/var/palm/data/文件夹,打开jailusers文件
' B8 T3 X0 r# p! p2 w7 O5. 找到"us.ryanhope.terminus".这行的最后把 "jail_game.conf" t改为 "jail_native-palm.conf"
# r/ G0 Q: n1 i; S2 J$ G6.保存退出; r: X. z, }: E; L* P6 |
; D9 |3 Q& E# z" k8 [
再打开Terminus就能正常用了) ]/ G" W+ _) I$ T, V) l5 {8 o6 }
5 p- F; H5 j% m( ]
' n! i7 O9 E3 g5 e% i
原文:http://www.precentral.net/on-device-command-line-access-returns-webos-2-1
7 \, `4 C P- A" I" S. c- D' {Thanks to PreCentral Forum Member/Developer MetaView, we now have a way to run the Terminus app in webOS 2.1. The directions are pretty simple, and you will need to install both Terminus and Internalz Pro on your device: u* A9 ]9 V% M O+ q/ T' I
7 |3 O4 V% V8 M( I
Run Terminus at least once . K7 `" x; U1 n; q% V. {
Open Internalz Pro and then swipe down from the top-left to access the Application dropdown and select "Preferences". Under the "TEXT EDITOR" section, ensure that "Newline format" is set to Linux. Swipe Back to return to Internalz 6 b. x% P: O8 z. @
Navigate to the /var/palm/data/ directory
# E" C; w7 D1 l, P" jOpen the file "jailusers" in that directory and find the line with terminus (App ID "us.ryanhope.terminus". At the end of the line, change "jail_game.conf" to "jail_native-palm.conf" I* b% N& W, r. |- K
Save the file the close / P( Z( E9 [0 [- W
At this point, you can open up Terminus and get full access to your command line right on the phone. 7 _& k; }! k8 Q c# S4 b& D% t
8 _; w/ y0 A- r* B |
|