|
本帖最后由 fisher88 于 2011-4-3 17:03 编辑
3 M8 d$ \) n3 j6 n% z/ B# b* k" r. ~+ W3 _) d2 v0 c& I! N3 y$ _
1.4.5上的terminal很方便的可以使用命令行,管理文件系统。
2 x- {( S" q: U; |# ]3 m5 S% [3 G* O7 U5 ^* ^
2.1.0怎么办呢,www.precentral.net介绍了Terminus的使用方法6 E: T5 M5 b2 r$ f
/ i/ x- q# W$ @- u
通过Preware安装Terminus和upsrartmgr服务
+ y9 A: J; m H2 D1 B % q+ U* G. ~! Y: [
* A* j. V0 d9 V2 e
下面以Internalz Pro中文版为例:# x5 V; t/ y8 e3 G5 n$ H# O
; N% M+ I7 {9 p4 V* I4 h1.首先运行一次Terminus,退出
6 a! U' f/ s6 r3 Z2 [2.打开Internalz Pro,打开偏好设置
# z0 x( G$ b& S! Q; K: b6 U3.文本编辑器框 的 换行格式 改为Linux8 g3 j7 n9 \, e' |) Q
4.打开/var/palm/data/文件夹,打开jailusers文件1 m# r9 d/ B p0 b8 \/ m' V0 k
5. 找到"us.ryanhope.terminus".这行的最后把 "jail_game.conf" t改为 "jail_native-palm.conf"
5 N" U# a! s& y6 W7 b3 B6.保存退出 {7 V8 T" }! m
7 _( D' l' K+ X8 p再打开Terminus就能正常用了
# E$ [0 G$ X1 M) l2 V( H# I. k4 z S, D% }# u
. ~4 r$ c! T9 X8 ^
原文:http://www.precentral.net/on-device-command-line-access-returns-webos-2-11 g' O1 k* G( s# m9 }: ~. P- Q' r
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 v* U( S' \% g2 @
, I, h- c$ o0 C; R' J
Run Terminus at least once
9 k2 z4 S: T& f' m6 b! FOpen 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
7 o7 |! s* q% v+ u2 a* \, N6 m: `' F$ ?Navigate to the /var/palm/data/ directory ' @% n2 z" o+ R# |% y. y
Open 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" ; S: Q: e+ o% {) f
Save the file the close * b$ V- G- x% [& Y; U. L
At this point, you can open up Terminus and get full access to your command line right on the phone.
+ z5 v0 X. e& ^& `8 B
9 Y+ ~+ q+ p% b% U- @& f! @ u: y+ w |
|