http://wiki.webos-internals.org/index.php?title=Replace_%22vi%22_with_Fullscreen_Text_Editor_%22joe%22_or_%22nano%22&feed=atom&action=history
Replace "vi" with Fullscreen Text Editor "joe" or "nano" - Revision history
2024-03-28T17:21:46Z
Revision history for this page on the wiki
MediaWiki 1.35.1
http://wiki.webos-internals.org/index.php?title=Replace_%22vi%22_with_Fullscreen_Text_Editor_%22joe%22_or_%22nano%22&diff=1563&oldid=prev
Hopspitfire at 16:44, 22 July 2009
2009-07-22T16:44:47Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 16:44, 22 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2" >Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Prerequisites:==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Prerequisites:==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* </del>[[Portal:Accessing_Linux | A rooted Pre]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">1) </ins>[[Portal:Accessing_Linux | A rooted Pre]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">* </del>[[Next_steps | Installed backdoor with sudo]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">2) </ins>[[Next_steps | Installed backdoor with sudo]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3) Dropbear/OpenSSH installed</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>3) Dropbear/OpenSSH installed</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>4) Connect & Log Into the Pre</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>4) Connect & Log Into the Pre</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Once that is complete, you may now install a new Fullscreen Text Editor.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Once that is complete, you may now install a new Fullscreen Text Editor.</div></td></tr>
</table>
Hopspitfire
http://wiki.webos-internals.org/index.php?title=Replace_%22vi%22_with_Fullscreen_Text_Editor_%22joe%22_or_%22nano%22&diff=1562&oldid=prev
Hopspitfire: New page: If you find "vi" to be frustrating to use, there are solutions for you. == Prerequisites:== * A rooted Pre * Installed backdoor with sudo 3) ...
2009-07-22T16:44:28Z
<p>New page: If you find "vi" to be frustrating to use, there are solutions for you. == Prerequisites:== * <a href="/wiki/Portal:Accessing_Linux" title="Portal:Accessing Linux"> A rooted Pre</a> * <a href="/wiki/Next_steps" title="Next steps"> Installed backdoor with sudo</a> 3) ...</p>
<p><b>New page</b></p><div>If you find "vi" to be frustrating to use, there are solutions for you.<br />
<br />
== Prerequisites:==<br />
* [[Portal:Accessing_Linux | A rooted Pre]]<br />
* [[Next_steps | Installed backdoor with sudo]]<br />
3) Dropbear/OpenSSH installed<br />
4) Connect & Log Into the Pre<br />
<br />
Once that is complete, you may now install a new Fullscreen Text Editor.<br />
<br />
= Method 1: Install "joe"=<br />
<br />
== Make sure ipkg-opt is up to date==<br />
<pre><nowiki><br />
user@castle:~$ sudo ipkg-opt update<br />
</nowiki></pre><br />
<br />
== Install Joe from ipkg-opt==<br />
<pre><nowiki><br />
user@castle:~$ sudo ipkg-opt install joe<br />
</nowiki></pre><br />
<br />
== Verify /opt/bin is in your path==<br />
<pre><nowiki><br />
user@castle:~$ echo $PATH<br />
<br />
# If /opt/bin is listed in the path, then you have correctly fulfilled prerequisite #2.<br />
# $PATH should look like: /usr/local/bin:/usr/bin:/bin:/opt/bin<br />
</nowiki></pre><br />
//If /opt/bin is not in your path, complete prerequisite #2 and echo $PATH again.//<br />
<br />
== Command line syntax is pretty easy==<br />
//To edit a specific file://<br />
<pre><nowiki><br />
joe /path/to/existingfile.ext<br />
</nowiki></pre><br />
//To create a new file://<br />
<pre><nowiki><br />
joe /path/to/newfile.ext<br />
</nowiki></pre><br />
//To create a new file but you don't know what to call it yet://<br />
<pre><nowiki><br />
joe<br />
</nowiki></pre><br />
<br />
== Inside Joe==<br />
Using the same key sequence strategy from above:<br />
<br />
'''Ctrl+K, H''' Opens/Closes the Help Menu<br />
'''Ctrl+K, X''' Exit and Save the file<br />
'''Ctrl+C''' Abort edit, don't save<br />
<br />
Everything else you could need is on the Help Menu.<br />
<br />
= Method 2: Install "nano"=<br />
<br />
== Make sure ipkg-opt is up to date==<br />
<pre><nowiki><br />
user@castle:~$ sudo ipkg-opt update<br />
</nowiki></pre><br />
<br />
== Install nano from ipkg-opt==<br />
<pre><nowiki><br />
user@castle:~$ sudo ipkg-opt install nano<br />
</nowiki></pre><br />
<br />
== Verify /opt/bin is in your path==<br />
<pre><nowiki><br />
user@castle:~$ echo $PATH<br />
<br />
# If /opt/bin is listed in the path, then you have correctly fulfilled prerequisite #2.<br />
# $PATH should look like: /usr/local/bin:/usr/bin:/bin:/opt/bin<br />
</nowiki></pre><br />
//If /opt/bin is not in your path, complete prerequisite #2 and echo $PATH again.//<br />
== Command line syntax is pretty easy==<br />
//To edit a specific file://<br />
<pre><nowiki><br />
nano /path/to/existingfile.ext<br />
</nowiki></pre><br />
//To create a new file://<br />
<pre><nowiki><br />
nano /path/to/newfile.ext<br />
</nowiki></pre><br />
//To create a new file but you don't know what to call it yet://<br />
<pre><nowiki><br />
nano<br />
</nowiki></pre><br />
<br />
== Inside nano==<br />
<br />
'''Ctrl+G''' Opens the Help Menu<br />
'''Ctrl+X''' Close a Menu or Exit (you will be prompted to save a modified file or quit)<br />
<br />
<br />
Everything else you could need is on the Help Menu.</div>
Hopspitfire