--- a/Unix.st Sat Nov 11 15:31:28 1995 +0100
+++ b/Unix.st Sat Nov 11 16:28:41 1995 +0100
@@ -18,13 +18,6 @@
category:'System-Support'
!
-OperatingSystem comment:'
-COPYRIGHT (c) 1988 by Claus Gittinger
- All Rights Reserved
-
-$Header: /cvs/stx/stx/libbasic/Attic/Unix.st,v 1.71 1995-11-10 15:44:24 cg Exp $
-'!
-
!OperatingSystem primitiveDefinitions!
%{
@@ -274,17 +267,17 @@
# if (!defined(HAVE_GNU_LD) && !defined (__ELF__)) || !defined(LINUX)
# define __environ environ
# if !defined(LINUX)
-# define __sigemptyset sigemptyset
-# define __sigaction sigaction
-# define __sigaddset sigaddset
-# define __sigprocmask sigprocmask
-# define __execve execve
-# define __wait wait
-# define __waitpid waitpid
+# define __sigemptyset sigemptyset
+# define __sigaction sigaction
+# define __sigaddset sigaddset
+# define __sigprocmask sigprocmask
+# define __execve execve
+# define __wait wait
+# define __waitpid waitpid
# if defined(ultrix) || defined(hpux) || defined(HAS_VFORK)
-# define FORK vfork
+# define FORK vfork
# else
-# define FORK fork
+# define FORK fork
# endif
# endif /* ! LINUX */
extern char **environ;
@@ -628,26 +621,25 @@
!
version
-"
-$Header: /cvs/stx/stx/libbasic/Attic/Unix.st,v 1.71 1995-11-10 15:44:24 cg Exp $
-"
+ ^ '$Header: /cvs/stx/stx/libbasic/Attic/Unix.st,v 1.72 1995-11-11 15:28:19 cg Exp $'
!
documentation
"
- this class gives access to some operating system services;
+ this class realizes access to most (all ?) required operating system services;
some of it is very specific for unix, so do not depend on
things available here in your applications - some may not
be found in other OS's or be slightly different ...
- Currently, there is only this class available - once more than
- Unix is supported, the corresponding class will be bound to the
- global variable OperatingSystem.
(On the other hand: I do not want to hide all features
from you - in some situations it MAY be interresting to be
able to get down to a select or fork system call easily.
You decide - portability vs. functionality)
+ Currently, there is only this class available - once others than
+ Unix are supported, the corresponding class will be bound to the
+ global variable OperatingSystem.
+
Class variables:
HostName <String> remembered hostname
@@ -665,7 +657,8 @@
if this flag is set, for a slightly
smoother operation.
- SlowFork <Boolean> if set, fork and popen are avoided;
+ SlowFork <Boolean> if set, fork and popen are avoided;
+ (more or less obsolete now)
"
! !