OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: TonyOlsen on April 28, 2004, 11:38:23 am

Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 11:38:23 am
What extension should my ogg-vorbis files have to work on the Zaurus.  I\'m using the ogg-vorbis plugin for the built-in mediaplayer:

http://www.killefiz.de/zaurus/showdetail.php?app=617 (http://www.killefiz.de/zaurus/showdetail.php?app=617)

I\'ve tried .ogg and .mp3.  Neither of them works.  .ogg doesn\'t have an application associated with it, and .mp3 opens up the media player, but it just goes ahead and closes without any messages.

I\'m trying to play the following 4 kbps ogg-vorbis file:

http://sjeng.org/ftp/vorbis/qnres3.ogg (http://sjeng.org/ftp/vorbis/qnres3.ogg)

I\'ve been told that other people have played 4 kbps ogg-vorbis files on their Zaurus.  (for example: slocaus on http://www.zaurususergroup.com/index.php?n...iewtopic&t=3654 (https://www.oesf.org/forums/index.php?showtopic=3654) (near the bottom) ).

... were they using a different player?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 28, 2004, 11:57:43 am
You must change /etc/mimetypes (\"audio/ogg      ogg\" ) and /home/QtPalmtop/apps/Multimedia/Mediaplayer.desktop like this :
----------------
[Desktop Entry]
#Comment=A Media Playback Program
Exec=mpegplayer
Icon=MPEGPlayer
Type=Application
Type[de]=Anwendung
MimeType=audio/x-wav;audio/ogg;audio/mpeg
MimeTypeIcons=Sound;ogg;mp3   ***personnal icons****
CanFastload=0
Name=Media Player
Display=640x480/144dpi,480x640/144dpi
HidePrivilege=1
NeedSpace=5120
---------------------------------
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 12:01:41 pm
I\'ve also tried .avi (pulled up file in tkcVideo, which then closes) and .wav (pulled up file in voice recorder, which doesn\'t do anything) extensions.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 28, 2004, 12:14:10 pm
I\'m playing it now on my 5600 with the standard sharp media player and the same ogg-vorbis plugin. It\'s playing at 6kHz stereo just fine, quality not quite as good as the 44kHz stereo I use but it\'s file size is a lot smaller.

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 02:35:50 pm
Quote
/etc/mimetypes  

/etc brings me to /home/etc , but I can\'t find mimetypes anywhere...

Quote
/home/QtPalmtop/apps/Multimedia/Mediaplayer.desktop  

I can\'t find /home/QtPalmtop either.  I *am* using QTopia (the one that came with the C860).

...sorry... I\'m still new to Linux, but I\'m learning.  I don\'t know the directory structures well yet...
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: tumnus on April 28, 2004, 04:03:53 pm
Quote
Quote

/etc/mimetypes  
/etc brings me to /home/etc , but I can\'t find mimetypes anywhere...
Psion meant /home/QtPalmtop/etc/mime.types

Quote
Quote

/home/QtPalmtop/apps/Multimedia/Mediaplayer.desktop  
I can\'t find /home/QtPalmtop either.  I *am* using QTopia (the one that came with the C860).

...sorry... I\'m still new to Linux, but I\'m learning.  I don\'t know the directory structures well yet...
The Zaurus directory structures are a bit different to desktop Linux. Anyway, you must have a /home/QtPalmtop if you have a Qtopia based ROM. Remember that Linux is case sensitive.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 04:28:21 pm
found it...  now, how do I edit it other than using \"vi\"?  (I\'ve heard that \"vi\" is the greatest thing since slice bread but it has a learning curve which I haven\'t mastered yet).  How can I get the built in GUI text editor to edit a file?  How can I load it from terminal?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 28, 2004, 05:10:54 pm
No.. Zeditor :
http://www.aa.alpha-net.ne.jp/satoshic/dw_engzd.htm (http://www.aa.alpha-net.ne.jp/satoshic/dw_engzd.htm)
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 06:23:41 pm
Weird... I instlaled the ZEditor, which appeared to work fine.  I opened the mime.types file, made the changes, but it wouldn\'t let me save it.  It gives me the following message: \"fm.saveFile : Please investigate the file...\"

I tried \"su\", went back to the directory, and typed \"zeditor mim.types\" and it wouldn\'t let me open it.  It says

Qt/Embedded data directory is not owned by user 0
Aborted

The permissions are:

-rw-r----  ...but I forgot the meanings...  Doesn\'t that mean that \"root\" can Read and Write, and \"special groups\" can Read?  If that\'s true, that would explain why I can\'t save it, but it doesn\'t explain why I can\'t open it as \"su\" (isn\'t that \"root\"?).

Any ideas?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 06:29:03 pm
another note... what I opened the file (not in \"su\" mode) using ZEditor, here\'s what I see on the screen:

Quote
zeditor mime.types
SlSharedManager: can\'t get proc entry
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n.zh_TW/libs1.qmid
filename:/home/QtPalmtop/lib/fonts/arial_140_50_t10.qpf
fontName:lcfont , size:10
open failed: mime.types.new

(The above was hand copied... typing errors may be present)
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 28, 2004, 06:35:56 pm
2s on Zeditor icon and check \"Run with root privileges\"
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 06:46:02 pm
I did that and I still got the same messge when trying to save the file:

Quote
fm.saveFile : Please investigate the file...

I also tried running the application from the GUI Application tab (instead of from the Terminal).  I click on the \"mime.types\" from the history list in the menu, and it can\'t find the file...
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 28, 2004, 06:57:16 pm
Quote
found it...  now, how do I edit it other than using \"vi\"?  (I\'ve heard that \"vi\" is the greatest thing since slice bread but it has a learning curve which I haven\'t mastered yet).
Just a thought...copy the file and edit it with vi and see how easy it is, you can\'t hurt the copy and it will only take a little practice.

Here is a nice how to:
http://www.zaurususergroup.com/modules.php...20to%20use%20VI (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=How%20to%20use%20VI)

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 08:10:01 pm
Ugh!  I really don\'t like vi... I tried those commands (from the URL tutorial above) and it wouldn\'t ever let me back into \":\" mode to type \"q!\".  \":q1\" was the first thing I learned in vi, so that I can leave without saving all of the mistakes I just made trying to edit a simple file in this unintuitive help-less gui-less editor program.

* ugh *

I feel like vi bashing, but I will forebear.  I\'m sure it\'s great once you learn all (and I mean ALL) of the commands... but until then, it is a headache.

I used chmod a+rwx mime.types, since I suspected the zeditor isn\'t saving because it is a permissions issue... but that didn\'t work either.  Same message when trying to save.

This would be a lot easier if the Qtopia gui applications were able to see outside the \"Documents\" directory.  It can\'t see the system files except in Terminal.  Is it possible that ZEditor can\'t see outisde of Documents either?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 08:14:50 pm
Wasn\'t there another built-in editor (less powerful than vi, but easier)?  Is \"emacs\" an editor... or something like that?  I\'m trying to think back 10 years to my Unix days.

So much hassle just to add a single line to a text file.  I think this is one of the reasons most people are turned off to Linux.

But... I\'m willing to put in the time (if you can give me the patience) to learn this powerful sophisticated, and yet unintuitive, OS.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 08:21:06 pm
ok... let\'s start with the basics... I remember that \"vi\" had many \"modes\" and each mode did something different.  In typing normal stuff I often accidently end up in one of these modes and every keys means something and before I know it my whole document has be changed/corrupted.  How do oyu switch between modes?  When I\'m in text mode (I press Shift-C when the vi starts), I type stuff... but when I press \":\" it doesn\'t go to \":\"-mode... it just places a \":\" on the screen.  I tried pressing \"#\" and it did the same.

Then I get stuck... I can\'t exit \"vi\".  I close the terminal, but the file is still locked... and then I have to reboot the Zaurus just to make another attempt.

...so... how do you switch between \"modes\"?  I can test and play around as long as I know that at any point I can simply \":q!\" and quit the program without saving what I\'ve messed up.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 28, 2004, 08:39:39 pm
There are others, I use VIM and I\'m not trying to be a smart ass.

It was only last summer that I felt the same way about VI and VIM. Here is what I had to do to edit a large script and you may want to try it.

Edit your file in windoze, then copy to zaurus and use dos2unix/unix2dos -here:
http://www.killefiz.de/zaurus/showdetail.php?app=157 (http://www.killefiz.de/zaurus/showdetail.php?app=157)

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 28, 2004, 09:06:21 pm
I don\'t want to tell you something that will mess you up because your keyboard is different than mine...I don\'t have a C-series. All I have to do is hit the (cancel) button on my Z (not on the keyboard) then the colon :  to get in command mode.

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 09:31:47 pm
I searched on google for a number of vi summary pages and finally figured out enough to edit both files above (mime.types and musicplayer.desktop).  I saved the changes and rebooted my Zaurus.

I must\'ve done something wrong in the musicplayer.desktop file, because now the OGG files AND MP3 files no longer have any applications associated with them.  When I double clicked on the ogg file, I get \"No application is defined for this document.  Type is audio/ogg.\".  That tells me that I probably did the mime.types file correctly, but messed up on the musicplayer.desktop file.

I looked at the desktop file again.  I had changed:
MimeType=audio/mpeg
to
MimeType=audio/mpeg/ogg

...but I should\'ve done:
MimeType=audio/mpeg;audio/ogg

Again, I\'m stuck in \"vi\".  I press ESC (FN-W) (The pages I found said you can also press CTRL-3, but since on a Zaurus CTRL-3 is FN-SHIFT-3, it doesn\'t work, since FN-3 is taken as \"Dim Screen\").  Nothing worked... I\'m stuck!  ...but for some reason \"DEL\" (FN-BS) puts me back in the needed command mode and then I\'m able to \":wq\".  Phew!

Again I reboot...

Now it recognizes the ogg file and opens up musicplayer when I click on the ogg file... but musicplayer itself doesn\'t recognize the file.  It looks in the directory and doesn\'t see anything except the mp3 files.

Is there something else I was supposed to change in the desktop file... or maybe another file?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 28, 2004, 10:02:45 pm
I even reinstalled the vorbis-plugin... same thing...  I suspect something else is needed.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 09:58:20 am
Quote
I\'m playing it now on my 5600 with the standard sharp media player and the same ogg-vorbis plugin. It\'s playing at 6kHz stereo just fine, quality not quite as good as the 44kHz stereo I use but it\'s file size is a lot smaller.

Greg

Greg2,

Did you have to do anything to tweak the media player to get it to work other than modifying the mime.types and desktop files?  I also noticed you weren\'t running it on an SL-Cxx0.  Would that make a difference?  Do you have the same musicplayer I have?

I\'m going to start up another forum for getting ogg vorbis to work with music-player, since it is slightly off the original subject of extensions.  (Sorry about that)
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 29, 2004, 10:22:01 am
I didn\'t have to tweak anything on my 5500 or 5600 to play the ogg file you attached to your post at start of this thread. I have the original sharp media player with the ogg-vorbis plugin that you also have a link to. So I can only assume the c-860 is different.

I can also add the fact that the sharp media player can recognize the ogg file extensions with out the plugin, but fails to play.

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 10:33:53 am
What is the media player?... is it a music player or movie/video player... or both?  On the 860 audio-only and video-with-audio and separated out into 2 separate applications.  Are they only 1 application on 760 and previous models?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: vektor on April 29, 2004, 10:43:03 am
Hi Tony,

editing files on a Z may be a hard job. Some tips, that may be helpful:

- pressing CANCEL for \"ESC\" in vi is OK;

- with ZEditor you can make a \"save as\" into your home directory, edit the file, save it, an copy it (as \"su\") back to its origin location; I don\'t know why ZEditor doesn\'t save the file in etc even with root-priviliges;

- if you have got a lot of money (maybe $15.95 or so) get the tkcEditor (thekompany.com). It is is a \"full-feature\" editor with all things you can imagine. It also works in the etc-dir.

- another possibilty would be the built-in editor of the tree!Explorer (can be found at killefiz.de); I testet the plus-version (30 day limit or so); not bad, but it is also commercial ($10).

Frank
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 10:52:09 am
Awesome advice!  Thanks!  

I\'m going to keep learning vi.  I may buy one of those other editors, but \"vi\" is everywhere in Linux and Unix OSs and I need to tackle this someday (even though I may complain about it  ).  I\'ve already figured out some basics and I\'m able to open, edit, and save files (although I still sometimes end up with weird results).
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 29, 2004, 11:03:46 am
Quote
What is the media player?... is it a music player or movie/video player... or both?  
It\'s the qtopia-mediaplayer_1.5.0_arm.ipk for music I use a separate video player.

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 29, 2004, 11:16:51 am
Install Midnight commander... http://www.dasgehtdichnichtsan.de/zaurus/smbmount.html (http://www.dasgehtdichnichtsan.de/zaurus/smbmount.html)
do under Konsole  : \"su\" and \"mc -a\" , to edit is F4 (\"cancel\" + 4)
Beautiful with last Cacko and Konsole in full screen
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 11:26:00 am
PsionX, Thanks!

Greg2, which one do you use to play ogg files?  Is the vorbis plugin built for qtopia-mediaplayer_1.5.0_arm.ipk or for something else... or for both?  I\'m trying to locate the player&plugin combination to let me listen to ogg files.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 11:34:22 am
Greg2,

I can\'t find qtopia-mediaplayer_1.5.0_arm.ipk on the internet (google, killefiz, zug, etc).  Where can I find it?  Is it GUI or command-line?
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: suruaZ on April 29, 2004, 11:36:34 am
Vi(m) is cool! Learn it a bit and you\'ll have no troubles.
And don\'t forget to restart QTopia to activate changes you made with MIME  :wink:

I just tried this qnres3.ogg file and wonder the level of distortions on maximum volume level. If I move volume one level down it\'s became better. Is this due to low bitrate or some problems in plug-in-player set?

suruaZ
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 29, 2004, 11:37:45 am
See you over post : http://www.zaurususergroup.com/index.php?n...3729&highlight= (https://www.oesf.org/forums/index.php?showtopic=3729&highlight=)
Make.. only one post  it\'s more simple...
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 11:44:03 am
It is Stereo audio at only 4 kbps!   That\'s 1/30th the bitrate of a typical MP3... naturally there will be distortions...  considering that I can now fit an entire CD on a floppy diskette.

1: Which player do you use to play your ogg files?
2: What Zaurus are you running (and which ROM?)
3: Where did you get that player and/or the needed ogg plugin?
4: Anything else so that I can get mine working like yours?

Thanks, =)
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 29, 2004, 12:41:13 pm
I will zip the ipk and try to attach here

qtopia-mediaplayer_1.5.0_arm.ipk.zip
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 29, 2004, 12:47:49 pm
Unzip and install that with your ogg-vorbis plugin here:
http://www.killefiz.de/zaurus/showdetail.php?app=617 (http://www.killefiz.de/zaurus/showdetail.php?app=617)

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: Greg2 on April 29, 2004, 12:54:33 pm
The files I\'ve attached work with the 5500 and 5600 with sharp roms v3.13 and v1.32 and should work for you if you remove the one your using now.

Good luck,

Greg
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on April 29, 2004, 02:45:50 pm
Greg2,

You Rock!  Thanks!!  I\'m listening to the 4 kbps stereo audio files now.  It works!!

suruaZ,

I hear the artificats that you mentioned.  I think that when I play the file in Windows Media player on my PC the advanced codec comes with special filters, etc, that \"smooth out\" the audio so there\'s less static.

But still... it\'s great to have it!  I\'m so happy!   Gotta\' start encoding my audio books at 4 kbps ogg vorbis and put them on my Zaurus!

Thanks everyone who helped!!
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: LadyBug on April 30, 2004, 10:31:35 am
I installed the mpegplayer & ogg plugin and configured the mediaplayer icon to execute it and it seems to work --- sortof.
I do have some problems. First of all, all the OGG files are shown in the list as icon+R, i.e. not by track name as MP3
files. So it\'s a tad difficult to tell, which song it is. If I click one, it does start playing the ogg file and the name is scrolling
on the screen, but the screen is otherwise garbled. First of all, it takes only the upper left quadrant. Second, the circles
that are supposed to form the UI (I think?) are sorf of quartered and mixed.

When I ran the mpegplayer from the command line the first time, it complained something about libpng, but I didn\'t
take note of it since the error message hasn\'t been there since.

Any hints? I\'m running Cacko 1.20 on my 760.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: PsionX on April 30, 2004, 12:43:41 pm
Reinstall Mediaplayer  or update to Cacko 1.21
See my post : http://www.zaurususergroup.com/index.php?n...iewtopic&t=3299 (https://www.oesf.org/forums/index.php?showtopic=3299)
Links updated
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: itnj99 on May 04, 2004, 08:31:50 pm
Quote
Wasn\'t there another built-in editor (less powerful than vi, but easier)?  Is \"emacs\" an editor... or something like that?  I\'m trying to think back 10 years to my Unix days.


Emacs usually isn\'t considered \'built-in\', but yes it\'s an common editor.
Most people, I think, consider it more compex than vi.
Perhaps you are thinking of pico or nano.
Pico came as part of the pine mail client and was geared to people
who didn\'t want to learn vi or emacs. Nano is a replacement for pico
with a GPL license.

Quote
So much hassle just to add a single line to a text file.  I think this is one of the reasons most people are turned off to Linux.

But... I\'m willing to put in the time (if you can give me the patience) to learn this powerful sophisticated, and yet unintuitive, OS.


Hrmph.

The thing that trips up people new to vi is that it was two modes.
A command mode and an insert mode.

To get back to command mode, press ESC -- press several times and it will beep at you \"reassuringly\".

some basic commands:
Code: [Select]
h,j,k,l              basic movements   left, down, up, right



  0                  (zero) move to beginning of the line

  $                  move to the end of the line

  b, w               move forward/backword a word

  G                  move to the end of the buffer

      [number]G      move the line number, e.g. 1G



  i                  enter insert mode at the cursor

  a                  enter insert mode after the cursor

  d*                 \'d\' followed by a movement specification deletes stuff

      dd             delete current line

      dj             delete line

      d4j            delete 4 lines down



  x                  delete character(s)

      5x             delete 5 characters



  c                  change characters(s)  (switched to insert mode)

      c$             change text from the cursor to the end of the line

      cw             change word forward



  ZZ                 save and exit (that\'s capital z)

  :q                 quit the current file (usually asks about saving changed buffers)

  :q!                quit the current file and don\'t save (i.e. abort changes)

  :w                 write the current file

  :w!                write forcibily ( for files you own, but have set non-writable)

  :w filename        write to a new file

            

  .                  (period) repeat last command



  o,O                (letter oh) insert line before/after the current line

  

  /                  search for matching regex

                          e.g.   "/ogg[Enter]"



  n,N                go to next/previous  matching regex of last search


There\'s SOOOO much more, but these are enough to just
get something done.



Good luck.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: itnj99 on May 04, 2004, 08:41:14 pm
Sorry, I thought I was at the end of the thread when I posted.  Obviously I wasn\'t!
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: TonyOlsen on May 04, 2004, 09:50:08 pm
Thanks!
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: jchung on May 05, 2004, 10:41:59 am
all you really need to know about vi is:

a - append to
i - insert to
x - delete
q! - forced quit (when you dont want to save)
w - write
wq - write and quit
**use the cancel button to escape edit mode and THEN you can go to the command window (colon command \":\") **
**use the arrow buttons when in command mode to navigate**
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: AnalogTek on May 05, 2004, 11:50:01 am
Quote
So much hassle just to add a single line to a text file.  I think this is one of the reasons most people are turned off to Linux.


Most current version Linux distributions include a plethora of text editors, including those with a GUI.  The Sharp Zaurus installation is a modified subset of what many would consider a full modern Linux distro.
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: jsilve1 on May 05, 2004, 12:26:57 pm
Quote
Ugh!  I really don\'t like vi... I tried those commands (from the URL tutorial above) and it wouldn\'t ever let me back into \":\" mode to type \"q!\".  \":q1\" was the first thing I learned in vi, so that I can leave without saving all of the mistakes I just made trying to edit a simple file in this unintuitive help-less gui-less editor program.

* ugh *

I feel like vi bashing, but I will forebear.  I\'m sure it\'s great once you learn all (and I mean ALL) of the commands... but until then, it is a headache.


You really don\'t need to know all of the Vi commands to use Vi.  Just a half dozen basics and one general concept.  Here are my four basic steps to using Vi right away (and you really only need the first three):

1) The main general concept is that Vi is \"modal\". You can only enter text in \"INSERT\" mode, otherwise you are in \"COMMAND\" mode.

2) If you do not know what mode you are in, press <ESC> Twice!  This will always put you in command mode.

3) To enter text (to go int \"INSERT\" mode), press \"i\" or \"a\" and then start typing. \"i\" will enter text BEFORE the cursor and \"a\" will enter text AFTER the cursor.

4) Use \"x\" to delete text in command mode.

That\'s it.  Learn other commands slowly over time; as you are already aware, there are a million.  But with the basics, using Vi is no harder than using Windows Notepad (the suckiest text editor on the planet, I might add).
Title: Ogg-Vorbis: Zaurus: What file extension should I use?
Post by: jsilve1 on May 05, 2004, 12:28:52 pm
Hah! Ooops, I didn\'t realize that so many others posted on how to use Vi.  Darn paged forums! I guess I\'m used to threaded news readers...