From: Shlomy R. <shl...@01...> - 2006-11-20 18:46:43
|
Hi, I have several questions/problems with the Console plugin. I use jEdit 4.3pre8 on Windows. 1. I want to run a batch file to set some environment variables before running a build. After running the batch file, the console does not get the environment changes that the batch executed. Only when using the %set command directly in the Console I can change environment variables. Is there a way to change the Console environment from a batch file? 2. to work around problem 1, I created a single batch file that sets the environment and executes the make process, but now I have another problem: I can't stop the process in the middle. Ctrl+C and Ctrl+Break do not work and if I stop the process using the stop button of the Console, only the batch file stops and the make process it started continues to run in the background and I have no control over it. 3. The output of the commands I type in the Console is sometimes displayed very slowly, slowing down execution of the command. Thanks, Shlomy |
From: Vampire <Vam...@gm...> - 2006-11-20 20:23:21
|
Shlomy Reinstein wrote: >Hi, > >I have several questions/problems with the Console plugin. >I use jEdit 4.3pre8 on Windows. > >1. I want to run a batch file to set some environment variables before >running a build. After running the batch file, the console does not get >the environment changes that the batch executed. Only when using the >%set command directly in the Console I can change environment variables. >Is there a way to change the Console environment from a batch file? > > Is there a specific reason not to use a macro? >2. to work around problem 1, I created a single batch file that sets the >environment and executes the make process, but now I have another >problem: I can't stop the process in the middle. Ctrl+C and Ctrl+Break >do not work and if I stop the process using the stop button of the >Console, only the batch file stops and the make process it started >continues to run in the background and I have no control over it. > > See above :-D >3. The output of the commands I type in the Console is sometimes >displayed very slowly, slowing down execution of the command. > >Thanks, >Shlomy > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > |
From: Alan E. <ala...@gm...> - 2006-11-22 16:44:30
|
On 11/20/06, Shlomy Reinstein <shl...@01...> wrote: > Hi, > > I have several questions/problems with the Console plugin. > I use jEdit 4.3pre8 on Windows. > > 1. I want to run a batch file to set some environment variables before > running a build. After running the batch file, the console does not get > the environment changes that the batch executed. Only when using the > %set command directly in the Console I can change environment variables. > Is there a way to change the Console environment from a batch file? The "set" command runs in the subshell, but there are built-in %set commands which should set the environment that is passed to subshells. If %set doesn't work, that's a bug. > 2. to work around problem 1, I created a single batch file that sets the > environment and executes the make process, but now I have another > problem: I can't stop the process in the middle. Ctrl+C and Ctrl+Break > do not work and if I stop the process using the stop button of the > Console, only the batch file stops and the make process it started > continues to run in the background and I have no control over it. That's probably a bug in Console, although it might be related to the way Windows starts subprocesses, I'm not sure. > 3. The output of the commands I type in the Console is sometimes > displayed very slowly, slowing down execution of the command. Yes, that depends on how the error parser looks at the lines. If you have more error patterns to check, it would slow down, I imagine. But also, the interactive process feature slows things down too, because there is no more buffering of output. > > Thanks, > Shlomy > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |