Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-25 Thread Lex Trotman
On 26 November 2010 07:44, Chow Loong Jin wrote: > On Thursday 25,November,2010 03:43 PM, Lex Trotman wrote: >> On 25 November 2010 16:09, Chow Loong Jin wrote: >>> On Thursday 25,November,2010 03:06 AM, Enrico Tröger wrote: On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: > On Wedne

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-25 Thread Chow Loong Jin
On Thursday 25,November,2010 03:43 PM, Lex Trotman wrote: > On 25 November 2010 16:09, Chow Loong Jin wrote: >> On Thursday 25,November,2010 03:06 AM, Enrico Tröger wrote: >>> On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: >>> On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >

Re: [Geany-devel] Missing environment variables for builds and executes - dash

2010-11-25 Thread Nick Treleaven
On Thu, 25 Nov 2010 11:24:07 +1100 Lex Trotman wrote: > >> > Unfortunately I don't know that a shell login argument is portable. I > >> > think -l is specific to bash, but even --login doesn't work for dash > >> > (the default /bin/sh on Ubuntu IIRC). > >> > >> Patch actually developed and tested

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Lex Trotman
On 25 November 2010 16:09, Chow Loong Jin wrote: > On Thursday 25,November,2010 03:06 AM, Enrico Tröger wrote: >> On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: >> >>> On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: Hi, When Geany is started from the Gnome menu it doesn'

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Chow Loong Jin
On Thursday 25,November,2010 03:06 AM, Enrico Tröger wrote: > On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: > >> On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >>> Hi, >>> >>> When Geany is started from the Gnome menu it doesn't get environment >>> variables set in .profile, .bashrc

Re: [Geany-devel] Missing environment variables for builds and executes - dash

2010-11-24 Thread Lex Trotman
On 24 November 2010 23:49, Nick Treleaven wrote: > On Wed, 24 Nov 2010 08:36:18 +1100 > Lex Trotman wrote: > >> > Unfortunately I don't know that a shell login argument is portable. I >> > think -l is specific to bash, but even --login doesn't work for dash >> > (the default /bin/sh on Ubuntu IIR

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Enrico Tröger
On Thu, 25 Nov 2010 10:36:51 +1100, Lex wrote: >2010/11/25 Enrico Tröger : >> On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: >> >>>On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: Hi, When Geany is started from the Gnome menu it doesn't get environment variables set

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Lex Trotman
2010/11/25 Enrico Tröger : > On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: > >>On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >>> Hi, >>> >>> When Geany is started from the Gnome menu it doesn't get environment >>> variables set in .profile, .bashrc etc.  Other window managers seem >>

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Enrico Tröger
On Wed, 24 Nov 2010 10:15:00 +0800, Chow wrote: >On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >> Hi, >> >> When Geany is started from the Gnome menu it doesn't get environment >> variables set in .profile, .bashrc etc. Other window managers seem >> ok. >> >> This means that builds

Re: [Geany-devel] Missing environment variables for builds and executes - dash

2010-11-24 Thread Nick Treleaven
On Wed, 24 Nov 2010 08:36:18 +1100 Lex Trotman wrote: > > Unfortunately I don't know that a shell login argument is portable. I > > think -l is specific to bash, but even --login doesn't work for dash > > (the default /bin/sh on Ubuntu IIRC). > > Patch actually developed and tested on Ubuntu. M

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-24 Thread Chow Loong Jin
On Wednesday 24,November,2010 11:27 AM, Lex Trotman wrote: > On 24 November 2010 13:15, Chow Loong Jin wrote: >> On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >>> Hi, >>> >>> When Geany is started from the Gnome menu it doesn't get environment >>> variables set in .profile, .bashrc et

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Lex Trotman
On 24 November 2010 13:15, Chow Loong Jin wrote: > On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: >> Hi, >> >> When Geany is started from the Gnome menu it doesn't get environment >> variables set in .profile, .bashrc etc.  Other window managers seem >> ok. >> >> This means that builds

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Chow Loong Jin
On Wednesday 17,November,2010 10:40 AM, Lex Trotman wrote: > Hi, > > When Geany is started from the Gnome menu it doesn't get environment > variables set in .profile, .bashrc etc. Other window managers seem > ok. > > This means that builds don't see CFLAGS, python executes don't see > PYTHONPATH

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Lex Trotman
On 24 November 2010 03:15, Nick Treleaven wrote: > On Wed, 17 Nov 2010 13:40:42 +1100 > Lex Trotman wrote: > >> When Geany is started from the Gnome menu it doesn't get environment >> variables set in .profile, .bashrc etc.  Other window managers seem >> ok. > > According to: > http://www.mkssoft

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Lex Trotman
On 24 November 2010 03:01, Nick Treleaven wrote: > On Wed, 17 Nov 2010 13:40:42 +1100 > Lex Trotman wrote: > >> When Geany is started from the Gnome menu it doesn't get environment >> variables set in .profile, .bashrc etc.  Other window managers seem >> ok. >> >> This means that builds don't see

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Nick Treleaven
On Wed, 17 Nov 2010 13:40:42 +1100 Lex Trotman wrote: > When Geany is started from the Gnome menu it doesn't get environment > variables set in .profile, .bashrc etc. Other window managers seem > ok. According to: http://www.mkssoftware.com/docs/man1/sh.1.asp#Options_and_Invocation ~/.bashrc i

Re: [Geany-devel] Missing environment variables for builds and executes

2010-11-23 Thread Nick Treleaven
On Wed, 17 Nov 2010 13:40:42 +1100 Lex Trotman wrote: > When Geany is started from the Gnome menu it doesn't get environment > variables set in .profile, .bashrc etc. Other window managers seem > ok. > > This means that builds don't see CFLAGS, python executes don't see > PYTHONPATH etc :-( >

[Geany-devel] Missing environment variables for builds and executes

2010-11-16 Thread Lex Trotman
Hi, When Geany is started from the Gnome menu it doesn't get environment variables set in .profile, .bashrc etc. Other window managers seem ok. This means that builds don't see CFLAGS, python executes don't see PYTHONPATH etc :-( Although builds and executes run in shells, a non-interactive she