PDA

View Full Version : How to get joe editor working


GMAN1234
02-19-2004, 11:25 AM
I have used sleepers ISO my new hard drive with the hacks.

I want to get joe editor working in the hyperterm.
I have a bash prompt and when I type in joe filename nothing works, it says command not found. I read somewhere that sleepers ISO put joe in a different place than the program knows.

How do I get joe editor to work?

(o)here(o)
02-19-2004, 11:44 AM
I have used sleepers ISO my new hard drive with the hacks.
I read somewhere that sleepers ISO put joe in a different place than the program knows.

How do I get joe editor to work?

move the Joe editor to the /var/hack directory. :)

worked for me.

tytyty
02-19-2004, 12:00 PM
at bash prompt

mkdir /var/hack/etc
ln -s /etc/joerc /var/hack/etc/joerc

learn some scripting and you can add this to rc.sysinit.author

tytyty
02-19-2004, 12:01 PM
move the Joe editor to the /var/hack directory. :)

worked for me.
Just so you know after a few reboots the system will wipe that dir.

malfunct
02-19-2004, 01:17 PM
Just so you know after a few reboots the system will wipe that dir.

I think its dependant on the size of the /var directory, though in general you are correct, having hacks in the /var directory isn't the best idea.

Does the tivo support symbolic links? If so maybe I should write up a little bash script that will whack in joe symlinks to /var/hack on boot?

Edit: Ok, so you already suggested the symbolic links, sorry for repeating without reading the whole thread.

tytyty
02-19-2004, 06:53 PM
I think its dependant on the size of the /var directory, though in general you are correct, having hacks in the /var directory isn't the best idea.

Does the tivo support symbolic links? If so maybe I should write up a little bash script that will whack in joe symlinks to /var/hack on boot?

Edit: Ok, so you already suggested the symbolic links, sorry for repeating without reading the whole thread.
Might try this

if ! [ -e /var/hack/etc ]
then
mkdir /var/hack/etc
ln -s /etc/joerc /var/hack/etc/joerc
fi