Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Stephan Beal
Hi! On Wed, Feb 20, 2013 at 4:31 AM, Warren Young war...@etr-usa.com wrote: I gather that it behaves the way it currently does because fossil server was added later, and before that point, fossil ui was the only way to get Fossil to act as a web server. That makes this stay running behavior

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Carson Chittom
Stephan Beal sgb...@googlemail.com writes: There is also no reason to prohibit text-based browsers. i'm not aware of any which support JavaScript, meaning that they will be severely castrated when using fossil, but it would be wrong to prohibit them just because X11 isn't running. Links[1]

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Wed, Feb 20, 2013 at 9:19 AM, Carson Chittom car...@wistly.net wrote: Stephan Beal sgb...@googlemail.com writes: There is also no reason to prohibit text-based browsers. i'm not aware of any which support JavaScript, meaning that they will be severely castrated when using fossil, but

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Carson Chittom
Richard Hipp d...@sqlite.org writes: On Wed, Feb 20, 2013 at 9:19 AM, Carson Chittom car...@wistly.net wrote: Stephan Beal sgb...@googlemail.com writes: There is also no reason to prohibit text-based browsers. i'm not aware of any which support JavaScript, meaning that they will be

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread LluĂ­s Batlle i Rossell
On Wed, Feb 20, 2013 at 09:40:27AM -0500, Richard Hipp wrote: On Wed, Feb 20, 2013 at 9:19 AM, Carson Chittom car...@wistly.net wrote: Stephan Beal sgb...@googlemail.com writes: There is also no reason to prohibit text-based browsers. i'm not aware of any which support JavaScript,

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Tue, Feb 19, 2013 at 10:31 PM, Warren Young war...@etr-usa.com wrote: 3. The enter_chroot_jail() stuff seems to be broken. The enter_chroot_jail() routine works fine with the fossil http command. I have setups in active use where I launch fossil from xinetd as root and it does the right

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread j. van den hoff
On Wed, 20 Feb 2013 15:40:27 +0100, Richard Hipp d...@sqlite.org wrote: On Wed, Feb 20, 2013 at 9:19 AM, Carson Chittom car...@wistly.net wrote: Stephan Beal sgb...@googlemail.com writes: There is also no reason to prohibit text-based browsers. i'm not aware of any which support

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Wed, Feb 20, 2013 at 9:47 AM, Richard Hipp d...@sqlite.org wrote: On Tue, Feb 19, 2013 at 10:31 PM, Warren Young war...@etr-usa.com wrote: 3. The enter_chroot_jail() stuff seems to be broken. The enter_chroot_jail() routine works fine with the fossil http command. I have setups in

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Stephan Beal
On Wed, Feb 20, 2013 at 3:51 PM, j. van den hoff veedeeh...@googlemail.comwrote: can someone confirm these problems? Just to be pedantic for a moment: i wouldn't call them problems unless they are supposed to work, and i don't think we've ever focused on anything working for text-based

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Wed, Feb 20, 2013 at 10:06 AM, Stephan Beal sgb...@googlemail.comwrote: On Wed, Feb 20, 2013 at 3:51 PM, j. van den hoff veedeeh...@googlemail.com wrote: can someone confirm these problems? Just to be pedantic for a moment: i wouldn't call them problems unless they are supposed to

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread j. van den hoff
On Wed, 20 Feb 2013 16:06:35 +0100, Stephan Beal sgb...@googlemail.com wrote: On Wed, Feb 20, 2013 at 3:51 PM, j. van den hoff veedeeh...@googlemail.comwrote: can someone confirm these problems? Just to be pedantic for a moment: i wouldn't call them problems unless whatever you call it

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Tue, Feb 19, 2013 at 10:31 PM, Warren Young war...@etr-usa.com wrote: 2a. It would be nice if fossil server had a -A address flag to make it bind to a particular network interface, for use on multihomed machines. We would like to use a machine with multiple IP aliases have www.foo.com and

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Martijn Coppoolse
Op 20-2-2013 15:51, j. van den hoff schreef: On Wed, 20 Feb 2013 15:40:27 +0100, Richard Hipp d...@sqlite.org wrote: Interesting. I never thought to try that, but it does work. I did this: sudo apt-get install lynx fossil setting web-browser lynx fossil ui ... and it works! You

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Warren Young
On 2/20/2013 09:21, Richard Hipp wrote: In http://www.fossil-scm.org/fossil/info/f4143c5b59 you can add an IP address to the --port option: I don't see that that patch touches the parsing of -P in main.c: iPort = mxPort = atoi(zPort); It also doesn't change how

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Stephan Beal
On Wed, Feb 20, 2013 at 9:16 PM, Warren Young war...@etr-usa.com wrote: iPort = mxPort = atoi(zPort); Did you perchance grab the trunk by accident? This is in its own branch: http://fossil-scm.org/index.html/timeline?r=bind-to-ip

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Warren Young
On 2/20/2013 07:52, Richard Hipp wrote: So I just tried it. I type: sudo /home/drh/bin/fossil server and it is working fine for me. Browsing to http://localhost:8080/test_env; confirms that fossil has entered a chroot jail prior to serving content. I, too, can get fossil server to run

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Richard Hipp
On Wed, Feb 20, 2013 at 3:16 PM, Warren Young war...@etr-usa.com wrote: On 2/20/2013 09:21, Richard Hipp wrote: In http://www.fossil-scm.org/**fossil/info/f4143c5b59http://www.fossil-scm.org/fossil/info/f4143c5b59you can add an IP address to the --port option: I don't see that that

Re: [fossil-users] Feature requests: fossil ui and server improvements

2013-02-20 Thread Warren Young
On 2/20/2013 13:23, Richard Hipp wrote: On Wed, Feb 20, 2013 at 3:16 PM, Warren Young war...@etr-usa.com mailto:war...@etr-usa.com wrote: I don't see that that patch touches the parsing of -P in main.c: I was referring to the version. The complete patch is a collection of two different

[fossil-users] Feature requests: fossil ui and server improvements

2013-02-19 Thread Warren Young
1. If I say fossil ui and the browser starts successfully and then exits, Fossil should exit, too. It should arguably exit even if it fails to start the browser, since you asked for a UI and it couldn't provide one. I gather that it behaves the way it currently does because fossil server