Does anyone have tips for using the linux text-editor joe? is it available on ssh?

Posted on

Problem :

I found a few great features in the joe text editor for the command window:
You can:

  1. Keep the command help menu visible all the time.
  2. Split the current view into two panes (top, bottom) so that you can view one part of the file in one pane and edit another part in the other pane.

There’s so much out there about vi and emacs that I request to please keep them out of this discussion about joe.
So typically, is joe easily available on many systems? SSH? VPS hosting?
I want to invest time in practising joe or nano for programming (!) in case I get only command iine / ssh access.

Solution :

So typically, is joe easily available
on many systems?

Easily available? definitely. There are joe packages available for most major distributions. It doesn’t usually come preinstalled though so you’d need to install it yourself. I know you want to keep other editors out of the discussion, but vi and nano are much more commonly found on systems. I’d practice one of those as it would be more beneficial to you if you are ever stuck with only command line access to a system. Your chances of one of the two being available are much higher than the joe editor, but it doesn’t hurt to expand your knowledge and learn your way around multiple editors.

If you’re on a RedHat/Fedora based system, you’ll have yum to install packages. If you’re on a Debian/Ubuntu based system, you’ll have apt-get to install packages. You can use one of those.

== OR ==

Just download, build and install it yourself. From

JOE is written in C and its only
dependency is libc. This makes JOE
very easy to build (just “configure”
and “make install”), making it
feasible to include on small systems
and recovery disks.

This means the first time you connect to the machine, you only need to copy the tarball to the server (or use wget/curl to get it), then:

% cd joe-3.7 (or whatever the current release is)
% ./configure
% make 
% sudo make install

(sudo necessary if you’re logged in as a user other than root — and you’re not planning to log in as root, right?)

Don’t be afraid to build stuff from source.

To echo John’s answer, I can tell you that Joe is not on any of the RHEL4, RHEL5 or Solaris10 boxes I administer. Now, I’m the one who set all those up, so that’s not a terribly diverse sample. But I would have had to go out of my way to get Joe on there. A quick check indicates it’s certainly included in the RHEL5.3 setup discs, but probably not installed without choosing some additional checkboxes during installation. So I wouldn’t personally expect to find it on any random machine I came across.

Leave a Reply

Your email address will not be published. Required fields are marked *