Browse Source

* set TTYFd to -1 in TLinuxScreen constructor

pierre 23 years ago
parent
commit
fb0e90be51
1 changed files with 5 additions and 1 deletions
  1. 5 1
      ide/fpusrscr.pas

+ 5 - 1
ide/fpusrscr.pas

@@ -730,6 +730,7 @@ var
 begin
 begin
   inherited Init;
   inherited Init;
   IdeScreen := nil;
   IdeScreen := nil;
+  TTYFd:=-1;
   IsXterm:=getenv('TERM')='xterm';
   IsXterm:=getenv('TERM')='xterm';
   ThisTTY:=TTYName(stdinputhandle);
   ThisTTY:=TTYName(stdinputhandle);
   if Not IsXterm and IsATTY(stdinputhandle) then
   if Not IsXterm and IsATTY(stdinputhandle) then
@@ -1309,7 +1310,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.23  2002-09-25 22:02:13  pierre
+  Revision 1.24  2002-10-07 15:43:15  pierre
+   * set TTYFd to -1 in TLinuxScreen constructor
+
+  Revision 1.23  2002/09/25 22:02:13  pierre
    * fix compilation error
    * fix compilation error
 
 
   Revision 1.22  2002/09/21 22:22:10  pierre
   Revision 1.22  2002/09/21 22:22:10  pierre