Neil Hodgson wrote:

Robert Roessler:


Thanks for detailing the thinking and behavior of "output pane command
execution" - but on this last point were you saying that I should read
the command line subsystem doc to see how I could substitute a
different command shell (like, say, /bin/sh)?  Because I reviewed the
relevant doc and do not see how to do that...


   If you are running on GTK+ then /bin/sh is used so other shells
need to be invoked explicitly. See xsystem in scite/gtk/SciTEGTK.cxx.

No, you know I am a dyed-in-the-wool Windows person... who has been using the GTK (but still Win32) version of *Scintilla* for my OCaml stuff. :)

I looked at "xsystem" in the GTK part of SciTE - well, it is obviously somewhat platform-specific, but past that, it is not configurable - what if you want csh, bash, zsh, or whatever?

I am probably looking for something like "whenever you want to run a console command, use this skeleton" and then allow optional property string settings like

c:\winxp\system32\cmd.exe /c %COMMAND
e:\usr\bin\sh.exe -c %COMMAND
etc.

(or something like that) where %COMMAND is what you want to actually do. And this *could* be shared between platforms, unless goes against existing architectural assumptions.

Naturally, in the SciTE tradition, this would be overridable in the Global, User, and local properties files way of doing things. :)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to