aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sciteco.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-02 20:00:45 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-11-09 20:29:23 +0100
commitacc911ae724d42aaa2fecaa6f9b30651a91ad240 (patch)
tree69abdd4becf0c0e8cac28308da28c36b49cbfa41 /src/sciteco.h
parenta395c9df173b53e095f1a20d6bc583063cdb60c7 (diff)
downloadsciteco-acc911ae724d42aaa2fecaa6f9b30651a91ad240.tar.gz
implemented EC command (execute operating system command) in spawn.cpp
powerful command for filtering a SciTECO buffer through an external program. It will be described in the sciteco(7) man pages. The implementation uses an asynchronous background process with pipes but is platform independant thanks to glib's g_spawn functions, GIOChannels and event loops. There are however platform differences in how the operating system command is interpreted/parsed.
Diffstat (limited to 'src/sciteco.h')
-rw-r--r--src/sciteco.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sciteco.h b/src/sciteco.h
index 1a349a1..4e5430c 100644
--- a/src/sciteco.h
+++ b/src/sciteco.h
@@ -38,7 +38,8 @@ typedef tecoInt tecoBool;
namespace Flags {
enum {
ED_HOOKS = (1 << 5),
- ED_FNKEYS = (1 << 6)
+ ED_FNKEYS = (1 << 6),
+ ED_SHELLEMU = (1 << 7)
};
extern tecoInt ed;