[comp.os.minix] V1.3c posting #8 - h

ast@cs.vu.nl (Andy Tanenbaum) (09/28/88)

: This is a shar archive.  Extract with sh, not csh.
: This archive ends with exit, so do not worry about trailing junk.
: --------------------------- cut here --------------------------
PATH=/bin:/usr/bin:/usr/ucb
echo Extracting 'LISTING'
sed 's/^X//' > 'LISTING' << '+ END-OF-FILE ''LISTING'
X-rw-r--r--  1 ast           356 Sep 26 22:50 const.h.cdif
X-rw-r--r--  1 ast           674 Sep 26 22:50 sgtty.h.cdif
+ END-OF-FILE LISTING
chmod 'u=rw,g=r,o=r' 'LISTING'
set `wc -c 'LISTING'`
count=$1
case $count in
116)	:;;
*)	echo 'Bad character count in ''LISTING' >&2
		echo 'Count should be 116' >&2
esac
echo Extracting 'const.h.cdif'
sed 's/^X//' > 'const.h.cdif' << '+ END-OF-FILE ''const.h.cdif'
X*** /local/ast/minix/tape3b/h/const.h	Mon Jul 18 16:21:13 1988
X--- const.h	Mon Sep 26 13:04:33 1988
X***************
X*** 9,15 ****
X  
X  #ifndef i8088
X  #ifndef ATARI_ST
X! #Either_i8088_or_ATARI_ST_must_be_defined
X  #endif
X  #endif
X  
X--- 9,15 ----
X  
X  #ifndef i8088
X  #ifndef ATARI_ST
X! #error Either i8088 or ATARI ST must be defined
X  #endif
X  #endif
X  
+ END-OF-FILE const.h.cdif
chmod 'u=rw,g=r,o=r' 'const.h.cdif'
set `wc -c 'const.h.cdif'`
count=$1
case $count in
356)	:;;
*)	echo 'Bad character count in ''const.h.cdif' >&2
		echo 'Count should be 356' >&2
esac
echo Extracting 'sgtty.h.cdif'
sed 's/^X//' > 'sgtty.h.cdif' << '+ END-OF-FILE ''sgtty.h.cdif'
X*** /local/ast/minix/tape3b/h/sgtty.h	Wed Jul 13 11:56:57 1988
X--- sgtty.h	Mon Sep 26 13:04:34 1988
X***************
X*** 1,8 ****
X  /* Data structures for IOCTL. */
X  
X  struct sgttyb {
X!   char sg_ispeed;		/* input speed (not used) */
X!   char sg_ospeed;		/* output speed (not used) */
X    char sg_erase;		/* erase character */
X    char sg_kill;			/* kill character */
X    int  sg_flags;		/* mode flags */
X--- 1,8 ----
X  /* Data structures for IOCTL. */
X  
X  struct sgttyb {
X!   char sg_ispeed;		/* input speed */
X!   char sg_ospeed;		/* output speed */
X    char sg_erase;		/* erase character */
X    char sg_kill;			/* kill character */
X    int  sg_flags;		/* mode flags */
+ END-OF-FILE sgtty.h.cdif
chmod 'u=rw,g=r,o=r' 'sgtty.h.cdif'
set `wc -c 'sgtty.h.cdif'`
count=$1
case $count in
674)	:;;
*)	echo 'Bad character count in ''sgtty.h.cdif' >&2
		echo 'Count should be 674' >&2
esac
exit 0