Better terminal identification
This commit is contained in:
parent
f77c2b3ff1
commit
d40b5f22a4
|
@ -280,8 +280,10 @@ void FTerm::identifyTermType()
|
|||
if ( (fp = fopen("/etc/ttytype", "r")) != 0
|
||||
|| (fp = fopen("/etc/ttys", "r")) != 0 )
|
||||
{
|
||||
char* p;
|
||||
char* type;
|
||||
char* name;
|
||||
char str[BUFSIZ];
|
||||
char *p, *type, *name;
|
||||
|
||||
// get term basename
|
||||
const char* term_basename = strrchr(term_name, '/');
|
||||
|
|
Loading…
Reference in New Issue