Author Topic: Open File With Text Editor  (Read 4977 times)

cptpike

  • Newbie
  • *
  • Posts: 24
    • View Profile
Open File With Text Editor
« on: November 04, 2007, 10:29:50 pm »
Okay, so I'm a noob with linux and the zaurus.  I'm running cacko 1.23 on a c1000.  What's the command to open a file with a text editor in konsole?  I've tried midnight commander and can open the file but can't figure out how to save it.  Is there a better text editor built into cacko?
c1000 running cacko 1.23 full.
Ambicom WL1100C wifi card
Sitecom CN-501 bluetooth card
4gb SD Transcend, 2gb SD Toshiba

Rad bag to carry all of my crap.

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Open File With Text Editor
« Reply #1 on: November 04, 2007, 11:44:02 pm »
Quote from: cptpike
What's the command to open a file with a text editor in konsole?

I don't use cacko but on sharp rom the editor is "textedit".

zeditor works quite well too. If you're willing to work on the console, emacs and vim packages are around somewhere.
SL-C3100

kurochka

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
Open File With Text Editor
« Reply #2 on: November 05, 2007, 08:26:38 am »
There is also Tree!Explorer QT Plus+.  Yes, that's its name.
It's a combo of a file manager and a text editor, and it works perfect.  It's not free though.

http://mobile.handango.com/zaurus/Platform...roductId=113191

http://www.tree-explorer.com/zausl/teqt_p.php

http://hpcgi2.nifty.com/taku2001/zau/texpl...qt_p/top_en.cgi
« Last Edit: November 05, 2007, 08:47:58 am by kurochka »
SL-C3100 (from PriceJapan.com): modified Sharp Rom (couldn't make Japanese input work in Cacko Rom)

ex-SL-C3000; ex-SL-5600; ex-Simpad

sidmoraes

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • http://
Open File With Text Editor
« Reply #3 on: November 05, 2007, 11:07:07 am »
Quote from: cptpike
Okay, so I'm a noob with linux and the zaurus.  I'm running cacko 1.23 on a c1000.  What's the command to open a file with a text editor in konsole?  I've tried midnight commander and can open the file but can't figure out how to save it.  Is there a better text editor built into cacko?

In console:

more <file> -> only to see
less <file> -> only to see
vi <file> -> this is an editor, present in every unix.
joe <file> -> another editor, not in all machines, you have to install, you can see the help of this editor with "ctrl-k + h"

There are another options...
SL-C1000 ( Cacko-Rom 1.23 ) + SL-C3100 ( Cacko-Rom 1.23 )
2Gb SD, usb host cable made by myself, CF modem Xircom,
CF wifi Zonet, Hawking CF 10/100 ethernet,
 USB net, USB CD-Writer Sony CRX10U, CF to PCMCIA adapter,
PCMCIA 2G disk Toshiba, USB charger self-made,
USB BLuetooth,
RH2 ( Wired control for Z ) made by myself,
Serial cable, also made ...

cptpike

  • Newbie
  • *
  • Posts: 24
    • View Profile
Open File With Text Editor
« Reply #4 on: November 05, 2007, 01:03:37 pm »
Thanks everyone, I appreciate the help.  When using vi.  What's the command to save a file?
« Last Edit: November 05, 2007, 01:04:31 pm by cptpike »
c1000 running cacko 1.23 full.
Ambicom WL1100C wifi card
Sitecom CN-501 bluetooth card
4gb SD Transcend, 2gb SD Toshiba

Rad bag to carry all of my crap.

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Open File With Text Editor
« Reply #5 on: November 05, 2007, 04:25:20 pm »
To save and quit in vi you can do either ZZ or :wq<return>. To save and
continue editing do :w<return>. All this in command mode, which on the Zaurus is achieved by hitting the cancel key.
SL 5000 D  and C860 Sharp ROM
Too many accessories...

tml

  • Full Member
  • ***
  • Posts: 105
    • View Profile
Open File With Text Editor
« Reply #6 on: November 06, 2007, 01:04:18 am »
Quote from: jfv
To save and quit in vi you can do either ZZ or :wq<return>.

:x would be another option (write only if the file has changed and exit/quit).
SL-C3100