Help - Search - Members - Calendar
Full Version: Open File With Text Editor
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Sharp ROMs
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?
tml
QUOTE(cptpike @ Nov 5 2007, 05:29 AM) *
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.
kurochka
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
sidmoraes
QUOTE(cptpike @ Nov 4 2007, 07:29 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?


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...
cptpike
Thanks everyone, I appreciate the help. When using vi. What's the command to save a file?
jfv
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.
tml
QUOTE(jfv @ Nov 5 2007, 11:25 PM) *
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).
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.