From memory the use of 'start' on Windows when launching a URL will use the system default browser, so it is not necessary to detect the browser to use - unless you wish to override this. Perhaps the base.cfg setting for BROWSER should be set to '' by default on Windows systems?
On Wed, Dec 22, 2010 at 2:58 PM, bill lam <[email protected]> wrote: > I checked the code again and found that window will use 'start' to launch a > browser in it browser is not set in base.cfg. However I seldom use window > and have never tried this. > > Срд, 22 Дек 2010, bill lam писал(а): >> Windows does not have 'which' command to locate executable. Or can you give >> a list of path names for the common window browsers so that dfltbrowser can >> also try to detect them under window? >> >> Втр, 21 Дек 2010, Don Guinn писал(а): >> > I apologize for being so terse before. I think it is important that the >> > basic J installation include full help. That is one of the things that a >> > new >> > user will probably try very early. And they will probably need to read help >> > to learn how to run pacman to get everything else. Why not use the help on >> > JSoftware site until help is installed locally? >> > >> > My confusion on profile.ijs - Since pacman does not update profile.ijs, >> > then >> > profilex.ijs should no longer be needed. I was a little confused by the >> > comments in it stating that profile.ijs is not included in the >> > distribution, >> > yet it is for J7. Is profilex.ijs just a relic from J6 that needs to be >> > removed? >> > >> > On help. I don't understand why profile.ijs sets help to install,'/help' >> > instead of addons,'/docs/help' as that is where the help files are put by >> > pacman. Then if htmlhelp in stdlib.ijs were changed to something like: >> > >> > htmlhelp=: 3 : 0 >> > if. #dir f=.jpath '~help' >> > do. browse 'file://',f,'/',y >> > else. browse 'http://www.jsoftware.com/docs/help701/',y >> > end. >> > ) >> > >> > Until help is installed help requests would go to the JSoftware site for >> > the >> > help files. This would mean that help would work before the pacman update >> > installing help files is done. >> > >> > On the browser. I don't have firefox. Yet base.cfg sets firefox as the >> > browser to use. Shouldn't base.cfg check to see if the firefox file exists, >> > then, if not, set it to 'c:/program files/Internet Explorer/iexplore.exe'? >> > Or go to a little trouble to determine what the default browser is. Along >> > with that, I found the verb dfltbrowser in stdlib.ijs which seems to do >> > things similar to the code in base.cfg, but not the same. Seems strange, >> > but >> > I haven't spent much time looking at this yet. >> > >> > I see that things are quite different between jgtk and jfe. So maybe this >> > is >> > not really a problem as a new user will probably use jfe jal to get the >> > jgtk. >> > >> > Just now beginning to get some time to really dig into J7. Thanks for a >> > great and most interesting tool. >> > >> > On Mon, Dec 20, 2010 at 9:15 AM, Eric Iverson >> > <[email protected]>wrote: >> > >> > > Not sure on all your comments. But profile.ijs and profilex.ijs are both >> > > properly in bin from an installer. They are not updated by a pacman >> > > stdlib >> > > update. >> > > >> > > On Mon, Dec 20, 2010 at 10:36 AM, Don Guinn <[email protected]> wrote: >> > > >> > > > Looked at the j701abeta.exe and saw that it included in bin the file >> > > > profile.ijs. Not supposed to be there. The profilex.ijs is minimal and >> > > > should be expanded to look more like the profile.ijs. >> > > > >> > > > Why assume that firefox is the browser? Why assume that the help is in >> > > > ~install/help? When help is installed by pacman it puts help in >> > > > ~addons/doc/help. Why not have help default to the jsoftware web site >> > > until >> > > > local help is installed? Set the browser for help to the default >> > > > browser >> > > > instead of firefox? >> > > > >> > > > The idea is that things should work when J is installed without >> > > > requiring >> > > > the user to fix things. profile.ijs should be removed from the install >> > > and >> > > > profilex.ijs needs to be a little smarter. >> > > > >> > > > On Mon, Dec 20, 2010 at 1:00 AM, jerome fontaine < >> > > > [email protected]> wrote: >> > > > >> > > > > it works on google-cr >> > > > > ------------------------------- >> > > > > try. >> > > > > if. IFUNIX do. >> > > > > NB. gmail bill lam 2!:1 cmd, ((0=nox)*.(1 e. 'iceweasel' E. >> > > > browser)+.(1 >> > > > > e. 'firefox' E. browser))#' &' >> > > > > 2!:1 cmd, (0=nox)#' &' >> > > > > else. >> > > > > fork_jtask_ cmd >> > > > > end. >> > > > > -------------------------------- >> > > > > for info >> > > > > >> > > > > html-browser galeon open a search when typing in the jijx: not usable >> > > > > >> > > > > I'have to test, one day >> > > > > firefox, iceweasel, icecat, iceape, seamonkey, midori, chromiun, >> > > epiphany >> > > > > --------------------------- >> > > > > jer...@sony-usb-lmde ~/Bureau $ uname -a >> > > > > Linux sony-usb-LMDE 2.6.32-5-686 #1 SMP Thu Nov 25 18:43:34 UTC 2010 >> > > i686 >> > > > > GNU/Linux >> > > > > >> > > > > it's a 8 Go usb key who runs my linux >> > > > > the internal disk sleeps >> > > > > I can use it on all the computers I have test, six now >> > > > > >> > > > > I can make tries like I need >> > > > > I have 6 bootable systems with j701 on 5 discs >> > > > > I began december the 16 2011 j701 >> > > > > ------------------------------------------------------ >> > > > > 2010/12/20 bill lam <[email protected]> >> > > > > >> > > > > > Thank you report this error, I only tested with firefox. >> > > > > > Edit file ~system/main/stdlib.ijs >> > > > > > change the line, (beware line wrapping) >> > > > > > 2!:1 cmd, ((0=nox)*.(1 e. 'iceweasel' E. browser)+.(1 e. 'firefox' >> > > > > > E. >> > > > > > browser))#' &' >> > > > > > >> > > > > > to >> > > > > > 2!:1 cmd, (0=nox)#' &' >> > > > > > >> > > > > > save file and restart J gtkide to try again. >> > > > > > >> > > > > > Пнд, 20 Дек 2010, jerome fontaine писал(а): >> > > > > > > in fact, >> > > > > > > open help, >> > > > > > > but my jgtk froze, >> > > > > > > I have to close google-chrome to retrive the >> > > > > > > J window >> > > > > > > >> > > > > > > 2010/12/20 jerome fontaine <[email protected]> >> > > > > > > >> > > > > > > > ok, works, I have a lot to learn >> > > > > > > > >> > > > > > > > file:///home/jerome/j701/addons/docs/help/index.htm >> > > > > > > > >> > > > > > > > open a file browser, >> > > > > > > > go to the directory >> > > > > > > > open the file with an editor, >> > > > > > > > copy, paste the good line, or type it >> > > > > > > > NB. to desactivate the wrong, >> > > > > > > > save the new file >> > > > > > > > stop j >> > > > > > > > rerun j >> > > > > > > > no problem for me, but not for everyone >> > > > > > > > >> > > > > > > > >> > > > > > > > 2010/12/20 bill lam <[email protected]> >> > > > > > > > >> > > > > > > >> addons/docs/help came from pacman. >> > > > > > > >> no need to copy files. >> > > > > > > >> edit the file ~bin/profile.ijs >> > > > > > > >> change the line >> > > > > > > >> help=. install,'/help' >> > > > > > > >> to >> > > > > > > >> help=. addons,'/docs/help' >> > > > > > > >> >> > > > > > > >> save file and start J gtkide, help menu or F1 will point to >> > > > > > > >> the >> > > > > > correct >> > > > > > > >> location. >> > > > > > > >> >> > > > > > > >> Пнд, 20 Дек 2010, jerome fontaine писал(а): >> > > > > > > >> > ---------------------------------------------------------- >> > > > > > > >> > thank you, help is where you say >> > > > > > > >> > >> > > > > > > >> > /home/jerome/j701/addons/docs >> > > > > > > >> > 850 éléments, total 6,8 Mio >> > > > > > > >> > >> > > > > > > >> > when does it come here? >> > > > > > > >> > install or pacman or ...? >> > > > > > > >> > >> > > > > > > >> > if I rename my help in help602 I have this: >> > > > > > > >> > >> > > > > > > >> > Page Web introuvable >> > > > > > > >> > >> > > > > > > >> > Aucune page Web trouvée à l'adresse :* >> > > > > > > >> > file:///home/jerome/j701/help/dictionary/vocabul.htm* >> > > > > > > >> > >> > > > > > > >> > I'll copy the good help to the good place, but why another >> > > way? >> > > > > > > >> > >> > > > > > > >> > done, it works whit some j701 title and 2011 date >> > > > > > > >> > >> > > > > > > >> > and I need help >> > > > > > > >> > ---------------------------------------------------- >> > > > > > > >> > what do you think of my how to >> > > > > > > >> > >> > > > > > > >> > I am fIrench and it not easy to understand and to make j701 >> > > > works >> > > > > > the >> > > > > > > >> first >> > > > > > > >> > time >> > > > > > > >> > >> > > > > > > >> > perhaps it is not the good place forit, but I don't know >> > > another >> > > > > > > >> > >> > > > > > > >> > ----------------------------------------------------- >> > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > 2010/12/20 bill lam <[email protected]> >> > > > > > > >> > >> > > > > > > >> > > Вск, 19 Дек 2010, jerome fontaine писал(а): >> > > > > > > >> > > > 220 +++++++++ with nautilus copy ~/j602/help >> > > > > > > >> > > > 230 +++++++++ paste ~/j701 >> > > > > > > >> > > >> > > > > > > >> > > help should already inside ~/addons/docs/help. It is >> > > > > > un-neccessary to >> > > > > > > >> copy >> > > > > > > >> > > help files from j602 >> > > > > > > >> > > >> > > > > > > >> > > -- >> > > > > > > >> > > regards, >> > > > > > > >> > > ==================================================== >> > > > > > > >> > > GPG key 1024D/4434BAB3 2008-08-24 >> > > > > > > >> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> > > > > > > >> > > >> > > > > > >> > > ---------------------------------------------------------------------- >> > > > > > > >> > > For information about J forums see >> > > > > > > >> http://www.jsoftware.com/forums.htm >> > > > > > > >> > >> > > > > > >> > > ---------------------------------------------------------------------- >> > > > > > > >> > For information about J forums see >> > > > > > http://www.jsoftware.com/forums.htm >> > > > > > > >> >> > > > > > > >> -- >> > > > > > > >> regards, >> > > > > > > >> ==================================================== >> > > > > > > >> GPG key 1024D/4434BAB3 2008-08-24 >> > > > > > > >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> > > > > > > >> >> > > > > ---------------------------------------------------------------------- >> > > > > > > >> For information about J forums see >> > > > > > http://www.jsoftware.com/forums.htm >> > > > > > > >> >> > > > > > > > >> > > > > > > > >> > > > > > > >> > > > ---------------------------------------------------------------------- >> > > > > > > For information about J forums see >> > > > http://www.jsoftware.com/forums.htm >> > > > > > >> > > > > > -- >> > > > > > regards, >> > > > > > ==================================================== >> > > > > > GPG key 1024D/4434BAB3 2008-08-24 >> > > > > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 >> > > > > > >> > > ---------------------------------------------------------------------- >> > > > > > For information about J forums see >> > > http://www.jsoftware.com/forums.htm >> > > > > > >> > > > > ---------------------------------------------------------------------- >> > > > > For information about J forums see >> > > > > http://www.jsoftware.com/forums.htm >> > > > > >> > > > ---------------------------------------------------------------------- >> > > > For information about J forums see http://www.jsoftware.com/forums.htm >> > > > >> > > ---------------------------------------------------------------------- >> > > For information about J forums see http://www.jsoftware.com/forums.htm >> > > >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> >> -- >> regards, >> ==================================================== >> GPG key 1024D/4434BAB3 2008-08-24 >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
