Lines Matching refs:termpath
122 const char *termpath, *term, *slave; in main() local
130 termpath = term = slave = NULL; in main()
142 termpath = optarg; in main()
145 termpath = optarg; in main()
168 if (termpath == NULL) in main()
169 termpath = DEF_TERMPATH; in main()
197 if (stat(termpath, &st) == -1) in main()
198 err(1, "Cannot stat %s", termpath); in main()
202 int l = snprintf(tinfo, sizeof(tinfo), "%s/%s", termpath, in main()
213 if ((fd = open(termpath, O_RDONLY)) == -1) in main()
214 err(1, "Cannot open `%s'", termpath); in main()
217 err(1, "Cannot map `%s'", termpath); in main()