xref: /freebsd/usr.bin/vi/pathnames.h (revision 2008043f386721d58158e37e0d7e50df8095942d)
1 
2 /* Read standard system paths first. */
3 #include <paths.h>
4 
5 #ifndef	_PATH_EXRC
6 #define	_PATH_EXRC	".exrc"
7 #endif
8 
9 #ifndef	_PATH_MSGCAT
10 #define	_PATH_MSGCAT	"/usr/share/vi/catalog/"
11 #endif
12 
13 #ifndef	_PATH_NEXRC
14 #define	_PATH_NEXRC	".nexrc"
15 #endif
16 
17 /* On linux _PATH_PRESERVE is only writable by root */
18 #define	NVI_PATH_PRESERVE	"/var/tmp/vi.recover/"
19 
20 #ifndef	_PATH_SYSEXRC
21 #define	_PATH_SYSEXRC	"/etc/vi.exrc"
22 #endif
23 
24 #ifndef	_PATH_TAGS
25 #define	_PATH_TAGS	"tags"
26 #endif
27