summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-10-13 05:24:53 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-10-13 05:24:53 +0000
commitc5c94f2263fd4f7ec83d0f94404bee631fa52e62 (patch)
tree3105f58fb0ae1e3972736ce57cb9977ee8925ceb /usr.bin/mg/def.h
parent143be1c81495de043ca40f722a97dc262dc0dcf7 (diff)
Make mg's grep and compile more path-aware, by defaulting to
the path of the invoking buffer. Also, make subshell output look more like emacs (show directory, completion time). oked at one point by deraadt@
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 2055a40d206..bbef403fe27 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.67 2005/10/11 01:08:53 kjell Exp $ */
+/* $OpenBSD: def.h,v 1.68 2005/10/13 05:24:52 kjell Exp $ */
/* This file is in the public domain. */
@@ -37,6 +37,7 @@ typedef int (*PF)(int, int); /* generally useful type */
#define NSRCH 128 /* Undoable search commands. */
#define NXNAME 64 /* Length, extended command. */
#define NKNAME 20 /* Length, key names. */
+#define NTIME 50 /* Length, timestamp string. */
/*
* Universal.
*/