Bug 25778

Summary: /usr/bin/netscape should use "openURL ($url, new-window)"
Product: [Retired] Red Hat Linux Reporter: Aleksey Nogin <aleksey>
Component: netscapeAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: high    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://home.netscape.com/newsref/std/x-remote.html
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-02 23:31:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
A patch to fix /usr/bin/netscape none

Description Aleksey Nogin 2001-02-02 23:30:51 UTC
Currently the newbrowser() function in the /usr/bin/netscape has the
following fragment:

$netscape $defsrem "xfeDoCommand(openBrowser)" 2>/dev/null && \
   $netscape $defsrem "openURL($url)" 2>/dev/null 

This is extremely suboptimal. The correct way of doing it would be

$netscape $defsrem "openURL($url,new-window)" 2>/dev/null

This way we only start new netscape process once instead of twice and the
new netscape window would go directly to $url instead of going to home page

Comment 1 Aleksey Nogin 2001-02-02 23:31:30 UTC
Created attachment 8819 [details]
A patch to fix /usr/bin/netscape

Comment 2 Bill Nottingham 2001-02-02 23:43:22 UTC
This is already fixed in the current netscape package.

The xfeDoCommand stuff also breaks pretty badly if mozilla happens
to be running on the same display.