Author Topic: How To Edit A Text File?  (Read 2248 times)

blinkblob

  • Newbie
  • *
  • Posts: 25
    • View Profile
How To Edit A Text File?
« on: September 08, 2005, 09:07:44 pm »
I need to edit a text file buried deep in the file system:
-The text editor on the zaurus wont let me navigate to any files other than the equivalent of the "my documents" folder: why is that?

-I typed textedit at the terminal window which brought up the file in a text editor, but it would not edit it?

I'm doing everything as a SU

Thanks for any help.

Bob

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
How To Edit A Text File?
« Reply #1 on: September 08, 2005, 09:16:09 pm »
Type
vi filename
at the command prompt.

But you might want to practice a bit or read a tutorial on vi (there are many on the web). It can be a bit, how shall I say, surprising for beginners.

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

mbagsh55

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://
How To Edit A Text File?
« Reply #2 on: September 08, 2005, 10:50:38 pm »
Hi Bob,
  If you are not comfortable with vi (I personally prefer JED for console based work), another option is one of the other text editors.

I use zeditor and am very pleased with it on the Stock SL-C3100 ROM.  Often it is still necessary to use the console to change file-attributes and make back-ups, but I still find zeditor useful.

http://satoshi.web5.jp/f_soft/dw_zedit.htm

There is also an English version referred to on Meanie's Zaurus page (zeditor_3.3.2english_arm.ipk) although I have not used this.

Cheers,
Marcus
SL-C3100,  Sharp ROM 1.01JP
iPaq 3630 PPC2002
Aging Celeron 450 Win98Se (JP) laptop

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
How To Edit A Text File?
« Reply #3 on: September 08, 2005, 11:07:36 pm »
there you go..

after you install, hold icon down and checkmark the one were it gives you su privaliage.  if you are using c1000, remove magnify.

 [ Invalid Attachment ]
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software

blinkblob

  • Newbie
  • *
  • Posts: 25
    • View Profile
How To Edit A Text File?
« Reply #4 on: September 09, 2005, 12:07:42 am »
I tried vi: that text editor is not for humans. 1.5 hours trying to change only 5 characters to no avail.

I got zedit: works like a charm! Thanks for the info.