Bug 15716 - Netscape Composer invocation from command line should be improved
Summary: Netscape Composer invocation from command line should be improved
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: netscape
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-08-08 12:33 UTC by Rabbe Fogelholm
Modified: 2014-03-17 02:15 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-08-08 12:33:14 UTC
Embargoed:


Attachments (Terms of Use)

Description Rabbe Fogelholm 2000-08-08 12:33:13 UTC
Invoking Netscape Communicator from the command line is
usually done by the script /usr/bin/netscape. This script
does not do "the right thing" in the following case:

    /usr/bin/netscape +composer SomeFileURL

The "right thing" IMHO would be to open a Composer window on
the specified file (starting up Communicator unless there
isn't one running already).

What curently happens is that you get a Navigator window
onto the specifed file. I have tested this for Communicator
versions 4.73 and 4.74.

BTW, the simpler case where you provide the +composer
option but no file URL is handled properly--the Composer
is then opened.

I have found out how to hack the /usr/bin/netscape script so
as to handle the composer-with-file-URL. The maintainer of
the script ought to review this and perhaps come up with a
more general solution.

Here is the output of
diff -e netscape netscape-myProvisionalFix (executed in
/usr/bin, assuming NC 4.74 installed).

---------------- cut
85a
elif [ "$b_opt" = openEditor ]; then
exec $netscape $defs $cl_opt "$@"
.
76a
elif [ "$b_opt" = openEditor ]; then
$netscape $defsrem "xfeDoCommand($b_opt,$url)" 2>/dev/null || \
{ killstale && exec $netscape $defs $cl_opt "$@" ; }
.
---------------- cut

Comment 1 Bill Nottingham 2001-01-19 22:38:20 UTC
Will be changed in netscape-4.76-5.


Note You need to log in before you can comment on or make changes to this bug.