Note that if you start with Tools -> Extensions (in Firefox) and search for the extension, it takes you to an older version of Mozex that is not compatible with newer versions of Firefox.
If you click an alleged download link, and nothing happens, check your browser settings. Under categories such as "content" or "security", some options which limit browser capability, for instance by blocking pop-up windows, sometimes cause the downloads to silently fail. You may need to (temporarily) relax such restrictions in order to download Mozex.
cscf.cs
) you should click
Edit->Preferences->Mozex and configure a program for textarea. The suggested
one is xterm -e vim %t
or if you prefer emacs you would use xterm -e emacs %t
.
Under firefox
you must go to Tools->Extensions
at which point you are give a list of installed extensions. Click on Mozex. Then
click on Preferences and look for textarea
and add xterm -e vim %t
if you prefer vim.
You may want to add a -geometry
option to xterm
to enlarge it. Use xwinfo
under
Unix so figure out how large the window is, i.e. type xwinfo
in the window, resize
to where you want and click on the window and xwinfo
will output the geometry
of the xterm
(or any X application).
You do not need to constantly open a new editing window for every save you make. Just
write the file out (in vim
you simply type ESC:w
) and voila the text window
in your browser will be updated! Then use preview to see what it looks like. If you
like it save the result in the twiki. You do not need to close the xterm containing
the editor. Feel free to continue editing. Just hit the browser back button to
get to the textbox again (in other words, do NOT click Edit in the Twiki webpage).
It will be update instantly with any changes you have
made in the editor (provided you have written the buffer stored by the text editor
out to the temporary file that your browser is using to store the contents of
the textarea). Warning: If you lose the tab or window, i.e, you cannot click
back anymore to get to it or you closed the tab or browser window then
any changes you made via the external editor will be lost.
You cannot use both a text editor in the xterm and edit the textbox in the browser simultaneously. Hardly a surprise.
Strangely enough under Ubuntu/Dapper if one tries
to use gnome-terminal
instead of xterm
it fails silently albeit the temporary
files are seen under /tmp
.
gnome-terminal -x vim %t
. -- IL - 21 Mar 2007
From rbutterw@mfcf.math.uwaterloo.ca Fri Sep 29 09:50:45 2006 ... I finally got it working with Firefox 1.5.0.7 on my Mac. Calling the native "Terminal" program doesn't work, as that program silently ignores its command line, so I had to use xterm instead, which had its own problems. One trick is that the DISPLAY environment needs to be set, as does the PATH. And whenever you use it, there has to be an xterm running already or it won't be able to start up a new window. In the Textarea and Source configurations, set the Text Editor to /bin/csh -c "setenv DISPLAY :0.0; setenv PATH `/bin/showpath standard`; exec xterm -e vim %t" On non-xhiered Macs, the PATH will need to be set to something different. Some people might prefer gvim, and might want to give xterm additional flags. It looks like the other web browsers are finally catching up to lynx. Firefox even does <Q> correctly.