Active Topics

 


Reply
Thread Tools
Posts: 67 | Thanked: 6 times | Joined on Dec 2007
#1
So I was installing a version of cron on my n800 (os2007), and it suggested to run crontab -e to setup after cron was installed. But then I didn't recognise the editor that opened up and couldn't figure out how to use it (most of the old-style CLI editors require ESC key, which I don't see on osso-xterm...). I fell back on putting cron jobs into a temp file and "installing" that using crontab, but I'm still curious about which editor opens as the os2007 default. Anyone know?
 
Posts: 191 | Thanked: 29 times | Joined on Sep 2007 @ Ottawa
#2
Originally Posted by ArgentSilver View Post
So I was installing a version of cron on my n800 (os2007), and it suggested to run crontab -e to setup after cron was installed. But then I didn't recognise the editor that opened up and couldn't figure out how to use it (most of the old-style CLI editors require ESC key, which I don't see on osso-xterm...). I fell back on putting cron jobs into a temp file and "installing" that using crontab, but I'm still curious about which editor opens as the os2007 default. Anyone know?
You can control this behaviour by setting the EDITOR shell variable. Setting it to something like (for ash)
export EDITOR=vi

should set you up for vi (if that is what you wanted).

I hope this helps,

Craig...
__________________
N800, Think Outside Kbd, 8GB SDHC Card (OCZ, ext2), and 8GB SD Card (Patriot formatted as VFAT)
Zaurus SL-6000, IR Keyboard, 1GB SD Card
 
Posts: 67 | Thanked: 6 times | Joined on Dec 2007
#3
OK, but even vi requires the use of the Esc key, right? I don't use the command line editor enough to remember the commands, so I tend to stick to nano, which doesn't need me to remember anything! (And yes I know that real geeks only use vi or emacs...)

Of course, if I'd thought of it I could have used the 'export EDITOR' approach to set nano as the default (yes, I had it on there).

Ultimately, I'm just curious as to what editor the n800 does default to... and can you generate 'Esc' from osso-xterm?
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#4
Esc is the "back" hardware key on the N800, probably the same for N810.

I don't like vi, and I don't like emacs. I consider myself a real geek, and I use JOE. Wordstar-based key-binds FTW!
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#5
Have you tried using the hardware Escape button, above the Menu button on the N800?
 
Posts: 204 | Thanked: 15 times | Joined on Jan 2007 @ Berlin, Germany
#6
There is also "leafpad", a simple editor with GUI, startable from the command line.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#7
i like PyGtkEditor on OS2008.
 
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#8
Leafpad isn't very helpful IMHO; it only accesses files within MyDocs from the file selector. You could use it from command line, but why endure such hassle? Install a real text-editor, use it with the flying-keyboard xterm, and be happy.
 

The Following User Says Thank You to Benson For This Useful Post:
Posts: 67 | Thanked: 6 times | Joined on Dec 2007
#9
Originally Posted by fnordianslip View Post
Have you tried using the hardware Escape button, above the Menu button on the N800?
Unfortunately I was in clueless n00b mode and didn't think of that!

Oh well... <smacks forehead>

Last edited by ArgentSilver; 2007-12-18 at 00:49.
 
Posts: 67 | Thanked: 6 times | Joined on Dec 2007
#10
Originally Posted by Benson View Post
Leafpad isn't very helpful IMHO; it only accesses files within MyDocs from the file selector. You could use it from command line, but why endure such hassle? Install a real text-editor, use it with the flying-keyboard xterm, and be happy.
I'm with you on this. I had already stuck nano on there as my favorite 'real' editor, since I don't need to use a command line editor often enough to remember the command keystrokes for vi or joe. I hadn't noticed the 'flying keyboard' xterm though; looks like it might be easier to use, so I'll check it out. Thanks!
 
Reply


 
Forum Jump


All times are GMT. The time now is 10:49.