having difficulties with mc/src/subshell.c
- From: Jason Hudgins <thanatos incantations net>
 
- To: Gnome GNU <gnome-devel-list gnome org>
 
- Subject: having difficulties with mc/src/subshell.c
 
- Date: Mon, 06 Dec 1999 22:22:05 -0600
 
I'm trying to fix a small problem with mc on Solaris 2.6
tcgetattr(&__iob[1], &shell_mode) works perfectly in my test code (it
returns true), however 
when I stick the exact same stuff into subshell.c in replacement of 
tcgetattr(STDOUT_FILENO, &shell_mode) I keep getting this when running
gmc:
subshell.c: couldn't get terminal settings: Bad file number
stdout is defined as &__iob[1] in Solaris's stdio.h.
perhaps STDOUT is no longer a valid file descriptor while running under
X?  I'm not 
enough of a unix guru to know.  Any pointers?
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]