> .. or any other commands that write to the tty. Its strange. I'm
> running SuSE 7.2, and I've written an istty program in C which simply
> calls isattty(fd), and exits with 0 if it is a tty. Even with this in my
> .profile or /etc/profile, kde wont start (x does start). I'm removing my
> remaining hair, so hurry!
That is strange since I didn't think X consults any profile when starting
X or a normal xterm because it is not logging into a shell (unless using
xterm -ls). For example if I have a colored prompt in ~/.profile it does
not show up in an xterm unless I su -, telnet or ssh to such a user. And
there have been similar posts wondering why PATH settings in ~/.profile
are not set in an xterm.
I know very little about C, but where do you get fd from and do you check
if it is valid? What happens if it is undefined or null?
David Efflandt (Reply-To is valid) http://www.de-srv.com/