Added config.h. - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit acd47eb278b12d22ba95ee1b190f2e0d2f3112a0 | |
parent f7f1341bbf15cc480b78f20957aefee7d81fcf62 | |
Author: Rob King <[email protected]> | |
Date: Thu, 11 Aug 2016 12:56:47 -0500 | |
Added config.h. | |
Diffstat: | |
config.h | 38 +++++++++++++++++++++++++++++++ | |
1 file changed, 38 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/config.h b/config.h | |
@@ -0,0 +1,38 @@ | |
+#ifndef _SAM_CONFIG_H | |
+#define _SAM_CONFIG_H | |
+ | |
+/* Where to put temporary files. */ | |
+#define TMPDIR "/tmp" | |
+ | |
+/* Is the target 64-bits? | |
+ * 0 - build for 32-bit systems | |
+ * 1 - build for 64-bit little-endian systems | |
+ * 2 - build for 64-bit big-endian systems | |
+ */ | |
+#define USE64BITS 1 | |
+ | |
+/* Command key definitions. These should generally be ASCII control codes. | |
+ * They should be unique. Set them to (still unique) negative values to | |
+ * disable them. | |
+ */ | |
+#define LINEUP 0x05 /* Ctrl-E */ | |
+#define LINEDOWN 0x18 /* Ctrl-X */ | |
+#define CHARLEFT 0x13 /* Ctrl-S */ | |
+#define CHARRIGHT 0x04 /* Ctrl-D */ | |
+#define COMMANDKEY 0x0B /* Ctrl-K */ | |
+#define SCROLLKEY 0x80 /* Scroll down. */ | |
+#define UPKEY 0x81 /* Scroll up. */ | |
+#define ESC 0x1B /* Escape */ | |
+ | |
+/* The name of the environment variable that points to the user's home | |
+ * directory. | |
+ */ | |
+#define HOMEENV "HOME" | |
+ | |
+/* The remote shell to use for remote connections. */ | |
+#define RXPATH "ssh" | |
+ | |
+/* The system shell to use. Must be Bourne-compatible. */ | |
+#define SHPATH "/bin/sh" | |
+ | |
+#endif |