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