|
本帖最后由 fisher88 于 2011-4-3 17:03 编辑 8 t" d" b) [* l! l
& l* ?* U, F% g: r) t1.4.5上的terminal很方便的可以使用命令行,管理文件系统。
$ h2 Y% {( N/ }& A
2 j/ V4 @) X6 Q' h2 H2.1.0怎么办呢,www.precentral.net介绍了Terminus的使用方法
) D/ W ]; @1 n" ^ s; o. y0 N* R$ ^0 \) N( Y/ r& t) ?
通过Preware安装Terminus和upsrartmgr服务) a& [# U, u1 o. f$ i$ p
! m7 D& P6 E, Y4 T
/ f" {& p- H. x# z下面以Internalz Pro中文版为例:' I/ j, g& B. w
* ^" o+ z* J' `7 |
1.首先运行一次Terminus,退出
9 [ L7 D' r$ d: W/ [2.打开Internalz Pro,打开偏好设置9 E7 V$ K8 e6 O% f9 j7 Q
3.文本编辑器框 的 换行格式 改为Linux
* I) F$ J$ u, i G7 t4.打开/var/palm/data/文件夹,打开jailusers文件
9 ` d5 Z- T* m5 d" l5. 找到"us.ryanhope.terminus".这行的最后把 "jail_game.conf" t改为 "jail_native-palm.conf"
+ Z5 Y) f- T- {# e3 n6.保存退出
* X; P6 |2 s! \5 [: `, a. V7 v k& h. w: n: s1 U
再打开Terminus就能正常用了! z! W/ Q0 c+ J& l5 `
: V: _" A, n g6 t) Y
5 P; C$ J8 U; I" C4 `- i/ \ x/ p3 T原文:http://www.precentral.net/on-device-command-line-access-returns-webos-2-1
# a) D- u S$ T: w. qThanks 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 device4 z0 U! Y$ T" a1 m1 d3 N
+ l# O% O6 o0 \- lRun Terminus at least once
* v. J2 s, R* u) Q2 p; M0 rOpen 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
; U8 x' E" [# t" S. y3 t3 C+ wNavigate to the /var/palm/data/ directory
+ [) K+ B* d2 O, ?. FOpen 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" ! W' X3 \. r, C" G8 z
Save the file the close 7 t/ t- {9 c2 |) y0 H3 ]! F
At this point, you can open up Terminus and get full access to your command line right on the phone. ; C% e5 ~ _% O0 Y3 b
# h6 x2 S- h9 T6 w- E |
|