[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why does typing "navigator" run mozilla?



Short answer:

tkeitt@keittlab-6:~$ ls -l /usr/bin/X11/navigator
lrwxrwxrwx 1 root root 27 Apr 12 19:54 /usr/bin/X11/navigator -> /etc/alternatives/navigator
tkeitt@keittlab-6:~$ ls -l /etc/alternatives/navigator
lrwxrwxrwx 1 root root 48 Apr 20 09:54 /etc/alternatives/navigator -> /usr/lib/netscape/477/navigator/navigator-smotif
tkeitt@keittlab-6:~$ ls -l /usr/lib/netscape/477/navigator/navigator-smotif
lrwxrwxrwx 1 root root 20 Apr 20 09:54 /usr/lib/netscape/477/navigator/navigator-smotif -> ../../base-4/wrapper

Long answer:

Because some idiot thought the above was cool...

Actually, the culprit here is the "wrapper" script, not the alternatives directory or sym linking. I'm just trying to make a point that complexity is not always a good thing. Openning a mozilla window instead of running navigator only happens when mozilla is already running. Somewhere down in "wrapper" is some sort of mozilla-remote command. What's next? A talking paper-clip pops up when I type "xterm"? :-)

T.

--
Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Phone: 631-632-1101, FAX: 631-632-7626
http://life.bio.sunysb.edu/ee/keitt/



Reply to: