From c5c94f2263fd4f7ec83d0f94404bee631fa52e62 Mon Sep 17 00:00:00 2001 From: Kjell Wooding Date: Thu, 13 Oct 2005 05:24:53 +0000 Subject: 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@ --- usr.bin/mg/def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/mg/def.h') 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. */ -- cgit v1.2.3