add directory Linux-0.96
This commit is contained in:
BIN
Linux-0.96/sources/compilers/cvw.src.tar.Z
Normal file
BIN
Linux-0.96/sources/compilers/cvw.src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/sbin/adduser-0.96.tar.Z
Normal file
BIN
Linux-0.96/sources/sbin/adduser-0.96.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/sbin/adduser.tar.Z
Normal file
BIN
Linux-0.96/sources/sbin/adduser.tar.Z
Normal file
Binary file not shown.
100
Linux-0.96/sources/sbin/fdformat.c
Normal file
100
Linux-0.96/sources/sbin/fdformat.c
Normal file
@@ -0,0 +1,100 @@
|
||||
/* fdformat.c - Low-level formats a floppy disk. */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <linux/fd.h>
|
||||
|
||||
|
||||
static int ctrl;
|
||||
struct floppy_struct param;
|
||||
|
||||
|
||||
#define SECTOR_SIZE 512
|
||||
#define PERROR(msg) { perror(msg); exit(1); }
|
||||
|
||||
|
||||
static void format_disk(char *name)
|
||||
{
|
||||
struct format_descr descr;
|
||||
int track;
|
||||
char dummy;
|
||||
|
||||
printf("Formatting ... ");
|
||||
fflush(stdout);
|
||||
if (ioctl(ctrl,FDFMTBEG,NULL) < 0) PERROR("\nioctl(FDFMTBEG)");
|
||||
for (track = 0; track < param.track; track++) {
|
||||
descr.track = track;
|
||||
descr.head = 0;
|
||||
if (ioctl(ctrl,FDFMTTRK,(int) &descr) < 0) PERROR("\nioctl(FDFMTTRK)");
|
||||
printf("%3d\b\b\b",track);
|
||||
fflush(stdout);
|
||||
if (param.head == 2) {
|
||||
descr.head = 1;
|
||||
if (ioctl(ctrl,FDFMTTRK,(int) &descr) < 0)
|
||||
PERROR("\nioctl(FDFMTTRK)");
|
||||
}
|
||||
}
|
||||
if (ioctl(ctrl,FDFMTEND,NULL) < 0) PERROR("\nioctl(FDFMTEND)");
|
||||
printf("done\n");
|
||||
}
|
||||
|
||||
|
||||
static void verify_disk(char *name)
|
||||
{
|
||||
unsigned char *data;
|
||||
int fd,cyl_size,cyl,count;
|
||||
|
||||
cyl_size = param.sect*param.head*512;
|
||||
if ((data = (unsigned char *) malloc(cyl_size)) == NULL) PERROR("malloc");
|
||||
printf("Verifying ... ");
|
||||
fflush(stdout);
|
||||
if ((fd = open(name,O_RDONLY)) < 0) PERROR(name);
|
||||
for (cyl = 0; cyl < param.track; cyl++) {
|
||||
printf("%3d\b\b\b",cyl);
|
||||
fflush(stdout);
|
||||
if (read(fd,data,cyl_size) != cyl_size) PERROR("read");
|
||||
for (count = 0; count < cyl_size; count++)
|
||||
if (data[count] != FD_FILL_BYTE) {
|
||||
printf("bad data in cyl %d\nContinuing ... ",cyl);
|
||||
fflush(stdout);
|
||||
break;
|
||||
}
|
||||
}
|
||||
printf("done\n");
|
||||
if (close(fd) < 0) PERROR("close");
|
||||
}
|
||||
|
||||
|
||||
static void usage(char *name)
|
||||
{
|
||||
char *this;
|
||||
|
||||
if (this = strrchr(name,'/')) name = this+1;
|
||||
fprintf(stderr,"usage: %s [ -n ] device\n",name);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
main(int argc,char **argv)
|
||||
{
|
||||
int verify;
|
||||
char *name;
|
||||
|
||||
name = argv[0];
|
||||
verify = 1;
|
||||
if (argc > 1 && argv[1][0] == '-') {
|
||||
if (argv[1][1] != 'n') usage(name);
|
||||
verify = 0;
|
||||
argc--;
|
||||
argv++;
|
||||
}
|
||||
if (argc != 2) usage(name);
|
||||
if ((ctrl = open(argv[1],3)) < 0) PERROR(argv[1]);
|
||||
if (ioctl(ctrl,FDGETPRM,(int) ¶m) < 0) PERROR("ioctl(FDGETPRM)");
|
||||
printf("%sle-sided, %d tracks, %d sec/track. Total capacity %d kB.\n",
|
||||
param.head ? "Doub" : "Sing",param.track,param.sect,param.size >> 1);
|
||||
format_disk(argv[1]);
|
||||
if (verify) verify_disk(argv[1]);
|
||||
}
|
||||
BIN
Linux-0.96/sources/system/fixkbd.tar.Z
Normal file
BIN
Linux-0.96/sources/system/fixkbd.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96a.patch2.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96a.patch2.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96a.patch3.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96a.patch3.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96a.patch4.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96a.patch4.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96a.tar.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96a.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96b.1.tar.gz
Normal file
BIN
Linux-0.96/sources/system/linux-0.96b.1.tar.gz
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96b.patch1.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96b.patch1.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96b.patch2.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96b.patch2.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/linux-0.96b.tar.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96b.tar.Z
Normal file
Binary file not shown.
4265
Linux-0.96/sources/system/linux-0.96c.patch1
Normal file
4265
Linux-0.96/sources/system/linux-0.96c.patch1
Normal file
File diff suppressed because it is too large
Load Diff
5509
Linux-0.96/sources/system/linux-0.96c.patch2
Normal file
5509
Linux-0.96/sources/system/linux-0.96c.patch2
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Linux-0.96/sources/system/linux-0.96c.tar.Z
Normal file
BIN
Linux-0.96/sources/system/linux-0.96c.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/scsi.0.96a+.tar.Z
Normal file
BIN
Linux-0.96/sources/system/scsi.0.96a+.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/system/scsi.diffs.0.96a.3.Z
Normal file
BIN
Linux-0.96/sources/system/scsi.diffs.0.96a.3.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin.X11/olgx-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/olgx-src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin.X11/olvwm-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/olvwm-src.tar.Z
Normal file
Binary file not shown.
292
Linux-0.96/sources/usr.bin.X11/x11emacs.patches
Normal file
292
Linux-0.96/sources/usr.bin.X11/x11emacs.patches
Normal file
@@ -0,0 +1,292 @@
|
||||
*** ORIG/process.c Tue Feb 25 17:07:16 1992
|
||||
--- process.c Tue May 19 00:03:54 1992
|
||||
***************
|
||||
*** 2174,2179 ****
|
||||
--- 2174,2197 ----
|
||||
return Qnil;
|
||||
}
|
||||
#endif /* IRIS and HAVE_SETSID */
|
||||
+ #if defined (USG) && defined (HAVE_TCATTR)
|
||||
+ struct termios t;
|
||||
+ switch (signo)
|
||||
+ {
|
||||
+ case SIGINT:
|
||||
+ ioctl (XFASTINT (p->infd), TCGETS, &t);
|
||||
+ send_process (proc, &t.c_cc[VINTR], 1);
|
||||
+ return Qnil;
|
||||
+ case SIGQUIT:
|
||||
+ ioctl (XFASTINT (p->infd), TCGETS, &t);
|
||||
+ send_process (proc, &t.c_cc[VQUIT], 1);
|
||||
+ return Qnil;
|
||||
+ case SIGTSTP:
|
||||
+ ioctl (XFASTINT (p->infd), TCGETS, &t);
|
||||
+ send_process (proc, &t.c_cc[VSUSP], 1);
|
||||
+ return Qnil;
|
||||
+ }
|
||||
+ #endif /* USG and HAVE_TCATTR */
|
||||
|
||||
/* Get the pgrp using the tty itself, if we have that.
|
||||
Otherwise, use the pty to get the pgrp. */
|
||||
*** ORIG/sysdep.c Tue Feb 25 17:07:30 1992
|
||||
--- sysdep.c Sun May 3 21:46:06 1992
|
||||
***************
|
||||
*** 1116,1121 ****
|
||||
--- 1116,1122 ----
|
||||
#ifdef VMS /* VMS sometimes has this symbol but lacks setvbuf. */
|
||||
#undef _IOFBF
|
||||
#endif
|
||||
+ #ifndef LINUX
|
||||
#ifdef _IOFBF
|
||||
/* This symbol is defined on recent USG systems.
|
||||
Someone says without this call USG won't really buffer the file
|
||||
***************
|
||||
*** 1124,1129 ****
|
||||
--- 1125,1131 ----
|
||||
#else
|
||||
setbuf (stdout, _sobuf);
|
||||
#endif
|
||||
+ #endif /* LINUX */
|
||||
set_terminal_modes ();
|
||||
if (term_initted && no_redraw_on_reenter)
|
||||
{
|
||||
*** ORIG/unexec.c Tue Feb 25 17:07:00 1992
|
||||
--- unexec.c Fri May 1 00:50:16 1992
|
||||
***************
|
||||
*** 236,242 ****
|
||||
|
||||
#else /* not HPUX */
|
||||
|
||||
! #if defined (USG) && !defined (IBMRTAIX) && !defined (IRIS)
|
||||
static struct bhdr hdr, ohdr;
|
||||
#define a_magic fmagic
|
||||
#define a_text tsize
|
||||
--- 236,242 ----
|
||||
|
||||
#else /* not HPUX */
|
||||
|
||||
! #if defined (USG) && !defined (IBMRTAIX) && !defined (IRIS) && !defined(LINUX)
|
||||
static struct bhdr hdr, ohdr;
|
||||
#define a_magic fmagic
|
||||
#define a_text tsize
|
||||
*** /dev/null Fri Apr 17 21:27:15 1992
|
||||
--- config.h Sun May 17 16:02:18 1992
|
||||
***************
|
||||
*** 0 ****
|
||||
--- 1,217 ----
|
||||
+ /* GNU Emacs site configuration template file.
|
||||
+ Copyright (C) 1988 Free Software Foundation, Inc.
|
||||
+
|
||||
+ This file is part of GNU Emacs.
|
||||
+
|
||||
+ GNU Emacs is free software; you can redistribute it and/or modify
|
||||
+ it under the terms of the GNU General Public License as published by
|
||||
+ the Free Software Foundation; either version 1, or (at your option)
|
||||
+ any later version.
|
||||
+
|
||||
+ GNU Emacs is distributed in the hope that it will be useful,
|
||||
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
+ GNU General Public License for more details.
|
||||
+
|
||||
+ You should have received a copy of the GNU General Public License
|
||||
+ along with GNU Emacs; see the file COPYING. If not, write to
|
||||
+ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
+
|
||||
+ /* this config.h tuned for linux 0.96 and gcc 2.11a
|
||||
+ by Rick Sladkey <jrs@world.std.com>, your mileage may vary */
|
||||
+
|
||||
+ /* Include here a s- file that describes the system type you are using.
|
||||
+ See the file ../etc/MACHINES for a list of systems and
|
||||
+ the names of the s- files to use for them.
|
||||
+ See s-template.h for documentation on writing s- files. */
|
||||
+ #include "s-usg5-2.h" /* as close as anything */
|
||||
+
|
||||
+ /* overrides for linux versus s-usg5-2.h */
|
||||
+
|
||||
+ #undef TERMINFO /* not really SYSV */
|
||||
+ #undef COFF /* not really SYSV */
|
||||
+ #undef NOMULTIPLEJOBS /* not even used ... */
|
||||
+ #undef NONSYSTEM_DIR_LIBRARY /* use our dirent library for VFS */
|
||||
+ #undef static /* static is OK for with gcc */
|
||||
+
|
||||
+ /* just a few small changes for linux ... */
|
||||
+
|
||||
+ #define LINUX /* for differentiation */
|
||||
+
|
||||
+ /* let's see, what have we got here */
|
||||
+
|
||||
+ #define HAVE_TCATTR /* fixes ^z problems */
|
||||
+ #define HAVE_SETSID /* fixes shell problems */
|
||||
+ #define HAVE_DUP2 /* is builtin */
|
||||
+ #define HAVE_TIMEVAL /* is builtin */
|
||||
+ #define HAVE_GETTIMEOFDAY /* is builtin */
|
||||
+ #define HAVE_RENAME /* is builtin */
|
||||
+ #define HAVE_RANDOM /* is builtin */
|
||||
+ #define HAVE_SELECT /* seems to work */
|
||||
+ #define HAVE_PTYS /* mostly works */
|
||||
+ #define HAVE_CLOSEDIR /* we have a closedir */
|
||||
+ #define HAVE_GETPAGESIZE /* we now have getpagesize (0.96) */
|
||||
+ #define HAVE_VFORK /* we now have vfork (0.96) */
|
||||
+
|
||||
+ #define BSTRING /* we now have bcopy, etc. (0.96) */
|
||||
+ #define USE_UTIME /* don't have utimes */
|
||||
+ #define NO_SIOCTL_H /* don't have sioctl.h */
|
||||
+ #define SYSV_SYSTEM_DIR /* use dirent.h */
|
||||
+ #define USG_SYS_TIME /* use sys/time.h, not time.h */
|
||||
+ /* #define NBPC 4096 /* see getpagesize.h */
|
||||
+
|
||||
+ #define INTERRUPTABLE_CLOSE /* no harm if not true */
|
||||
+ #define close sys_close
|
||||
+
|
||||
+ #define C_DEBUG_SWITCH -g -Dconst=
|
||||
+ #define C_OPTIMIZE_SWITCH -O2 -g -Dconst= /* gcc groks -Ox */
|
||||
+ #define OLDXMENU_OPTIONS CFLAGS=-O2 EXTRA=insque.o /* doesn't work anyway */
|
||||
+
|
||||
+ #if 0 /* choose for yourself */
|
||||
+ #define SYSTEM_MALLOC /* produces smaller binary */
|
||||
+ #else
|
||||
+ #define ULIMIT_BREAK_VALUE (16*1024*1024) /* ulimit not implemented */
|
||||
+ #endif
|
||||
+
|
||||
+ /* misc. kludges for linux */
|
||||
+
|
||||
+ #define const /* avoids type mismatch errors */
|
||||
+
|
||||
+ #define MAXNAMLEN NAME_MAX /* missing SYSV-ism */
|
||||
+
|
||||
+ #define SIGBUS SIGSEGV /* rename to harmless work-alike */
|
||||
+ #define SIGSYS SIGSEGV /* rename to harmless work-alike */
|
||||
+
|
||||
+ #define _STDDEF_H /* defeat NULL problems */
|
||||
+
|
||||
+ #ifdef _ANSIDECL_H /* defeat DEFUN problems, arghh */
|
||||
+ #undef DEFUN
|
||||
+ #else
|
||||
+ #define _ANSIDECL_H
|
||||
+ #endif
|
||||
+
|
||||
+ #define VSWTCH VSWTC /* mis-spelling in termios.h? */
|
||||
+ #define CDEL '\0' /* missing termio-ism */
|
||||
+
|
||||
+ /* we have non-standard standard I/O (iostream) ... */
|
||||
+
|
||||
+ #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_pptr - (FILE)->_pbase)
|
||||
+
|
||||
+ /* defines for linux in preparation for m-intel386.h */
|
||||
+
|
||||
+ #define DONT_DEFINE_SIGNAL /* live with the warnings */
|
||||
+
|
||||
+ /* Include here a m- file that describes the machine and system you use.
|
||||
+ See the file ../etc/MACHINES for a list of machines and
|
||||
+ the names of the m- files to use for them.
|
||||
+ See m-template.h for info on what m- files should define.
|
||||
+ */
|
||||
+ #include "m-intel386.h"
|
||||
+
|
||||
+ /* overrides for linux versus m-intel386.h */
|
||||
+
|
||||
+ /* #undef NO_REMAP /* would require hacking crt0.c */
|
||||
+
|
||||
+ #define LINK_STATICALLY /* can't get shared libs to work with 0.96 */
|
||||
+
|
||||
+ #ifdef NO_REMAP
|
||||
+ #ifndef emacs /* defeat some ymakefile problems */
|
||||
+ #undef i386
|
||||
+ #undef linux
|
||||
+ #undef static
|
||||
+ #endif
|
||||
+ #define START_FILES pre-crt0.o /usr/lib/gcc-lib/i386-linux/2.1/crt0.o
|
||||
+ #ifdef LINK_STATICALLY
|
||||
+ #define LIBS_SYSTEM -L/usr/lib/static -lc
|
||||
+ #else
|
||||
+ #define LIBS_SYSTEM -L/usr/lib/shared -lc
|
||||
+ #endif
|
||||
+ #else
|
||||
+ #undef CRT0_DUMMIES
|
||||
+ #endif
|
||||
+
|
||||
+ /* also note other necessary changes in the source:
|
||||
+ 1) setvbuf/setbuf is (still) broken and must be commented out of sysdep.c
|
||||
+ 2) process.c has a hack to get shell-mode job control working
|
||||
+ (problem is related to process groups)
|
||||
+ 3) unexec.c needs treatment like IRIS for a.out header
|
||||
+ */
|
||||
+
|
||||
+ /* and now we return you to your standard config.h ... */
|
||||
+
|
||||
+ /* Load in the conversion definitions if this system
|
||||
+ needs them and the source file being compiled has not
|
||||
+ said to inhibit this. There should be no need for you
|
||||
+ to alter these lines. */
|
||||
+
|
||||
+ #ifdef SHORTNAMES
|
||||
+ #ifndef NO_SHORTNAMES
|
||||
+ #include "../shortnames/remap.h"
|
||||
+ #endif /* not NO_SHORTNAMES */
|
||||
+ #endif /* SHORTNAMES */
|
||||
+
|
||||
+ /* Define HAVE_X_WINDOWS if you want to use the X window system. */
|
||||
+
|
||||
+ #define HAVE_X_WINDOWS /* now available with 0.96 */
|
||||
+
|
||||
+ /* Define X11 if you want to use version 11 of X windows.
|
||||
+ Otherwise, Emacs expects to use version 10. */
|
||||
+
|
||||
+ #ifdef HAVE_X_WINDOWS
|
||||
+ #define X11
|
||||
+ #endif
|
||||
+
|
||||
+ /* Define HAVE_X_MENU if you want to use the X window menu system.
|
||||
+ This appears to work on some machines that support X
|
||||
+ and not on others. */
|
||||
+
|
||||
+ /* #define HAVE_X_MENU */
|
||||
+
|
||||
+ /* Define `subprocesses' should be defined if you want to
|
||||
+ have code for asynchronous subprocesses
|
||||
+ (as used in M-x compile and M-x shell).
|
||||
+ These do not work for some USG systems yet;
|
||||
+ for the ones where they work, the s-*.h file defines this flag. */
|
||||
+
|
||||
+ #ifndef VMS
|
||||
+ #ifndef USG
|
||||
+ #define subprocesses
|
||||
+ #endif
|
||||
+ #endif
|
||||
+
|
||||
+ /* Define USER_FULL_NAME to return a string
|
||||
+ that is the user's full name.
|
||||
+ It can assume that the variable `pw'
|
||||
+ points to the password file entry for this user.
|
||||
+
|
||||
+ At some sites, the pw_gecos field contains
|
||||
+ the user's full name. If neither this nor any other
|
||||
+ field contains the right thing, use pw_name,
|
||||
+ giving the user's login name, since that is better than nothing. */
|
||||
+
|
||||
+ #define USER_FULL_NAME pw->pw_gecos
|
||||
+
|
||||
+ /* Define AMPERSAND_FULL_NAME if you use the convention
|
||||
+ that & in the full name stands for the login id. */
|
||||
+
|
||||
+ /* #define AMPERSAND_FULL_NAME */
|
||||
+
|
||||
+ /* # bytes of pure Lisp code to leave space for.
|
||||
+ Note that s-vms.h and m-sun2.h may override this default. */
|
||||
+
|
||||
+ #ifndef PURESIZE
|
||||
+ #ifdef HAVE_X_WINDOWS
|
||||
+ #define PURESIZE 122000
|
||||
+ #else
|
||||
+ #define PURESIZE 120000
|
||||
+ #endif
|
||||
+ #endif
|
||||
+
|
||||
+ /* Define HIGHPRI as a negative number
|
||||
+ if you want Emacs to run at a higher than normal priority.
|
||||
+ For this to take effect, you must install Emacs with setuid root.
|
||||
+ Emacs will change back to the users's own uid after setting
|
||||
+ its priority. */
|
||||
+
|
||||
+ /* #define HIGHPRI */
|
||||
+
|
||||
BIN
Linux-0.96/sources/usr.bin.X11/xclk.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/xclk.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin.X11/xdvi-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/xdvi-src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin.X11/xload.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/xload.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin.X11/xlock2-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin.X11/xlock2-src.tar.Z
Normal file
Binary file not shown.
6
Linux-0.96/sources/usr.bin/Zoo.Fiz.note
Normal file
6
Linux-0.96/sources/usr.bin/Zoo.Fiz.note
Normal file
@@ -0,0 +1,6 @@
|
||||
This is zoo and fiz from Rahul Dhesi compiled for Linux. It is a very
|
||||
popular PD archiver in the Ms-Dog world.
|
||||
|
||||
Roger
|
||||
|
||||
cs89rdb@brunel.ac.uk
|
||||
BIN
Linux-0.96/sources/usr.bin/binsrc.Tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/binsrc.Tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/binutils.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/binutils.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/block.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/block.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/hemacs.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/hemacs.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/lha-1.00.tar.gz
Normal file
BIN
Linux-0.96/sources/usr.bin/lha-1.00.tar.gz
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/mtools.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/mtools.tar.Z
Normal file
Binary file not shown.
24
Linux-0.96/sources/usr.bin/rzsz.README
Normal file
24
Linux-0.96/sources/usr.bin/rzsz.README
Normal file
@@ -0,0 +1,24 @@
|
||||
WED Jul 29 20:02:06 MET 1992
|
||||
|
||||
Zmodem v3.18 for Linux
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
Package info: 'rzsz9202.tar-z' patched with ''rzsz9202.dff.Z'
|
||||
|
||||
* * *
|
||||
Enter 'make' for a list of available targets ('make linux!' for a complete
|
||||
installation). Please login as 'root' and ensure that the the directories
|
||||
/usr/local/bin , /usr/local/lib and /usr/man/man1 exist.
|
||||
The patched sources are ready to compile with GCC 2.2.2. All executables have
|
||||
been successfully tested under Linux v0.96c-pl2 .
|
||||
|
||||
Note: I've added an environment variable called 'RZSZLINE' that points to your
|
||||
serial port device. It's a good idea to define it when you login, so put the
|
||||
following statements in your ~/.profile :
|
||||
RZSZLINE=/dev/ttys0 # or whatever
|
||||
export RZSZLINE
|
||||
|
||||
I'd like to thank Nathan Laredo and Werner Almesberger for their hints and
|
||||
suggestions.
|
||||
|
||||
Have fun with it.
|
||||
--Fabian Mueller, fabi@imp.ch
|
||||
BIN
Linux-0.96/sources/usr.bin/rzsz9202.dff.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/rzsz9202.dff.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/rzsz9202.tar.z
Normal file
BIN
Linux-0.96/sources/usr.bin/rzsz9202.tar.z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/selection-1.3.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/selection-1.3.tar.Z
Normal file
Binary file not shown.
207
Linux-0.96/sources/usr.bin/setserial.c
Normal file
207
Linux-0.96/sources/usr.bin/setserial.c
Normal file
@@ -0,0 +1,207 @@
|
||||
From owner-linux-activists@joker.cs.hut.fi Tue Jul 14 05:42:55 1992
|
||||
Received: from funet.fi by lazy.qt.IPA.FhG.de with SMTP
|
||||
(5.61+/IDA-1.2.8/gandalf.2) id AA09550; Tue, 14 Jul 92 05:42:52 +0200
|
||||
Received: from santra.hut.fi by funet.fi with SMTP (PP) id <24104-0@funet.fi>;
|
||||
Tue, 14 Jul 1992 06:41:04 +0300
|
||||
Received: from joker.cs.hut.fi by santra.hut.fi (5.65c/8.0/TeKoLa) id AA24830;
|
||||
Tue, 14 Jul 1992 06:39:57 +0300
|
||||
Received: by joker.cs.hut.fi (5.65b/6.8/S-TeKoLa) id AA08793;
|
||||
Tue, 14 Jul 92 06:39:34 +0300
|
||||
Received: from relay2.UU.NET by joker.cs.hut.fi (5.65b/6.8/S-TeKoLa) id AA08245;
|
||||
Tue, 14 Jul 92 06:33:44 +0300
|
||||
Received: from world.std.com by relay2.UU.NET
|
||||
with SMTP (5.61/UUNET-internet-primary) id AA00942;
|
||||
Mon, 13 Jul 92 23:34:03 -0400
|
||||
Received: by world.std.com (5.61+++/Spike-2.0) id AA12321;
|
||||
Mon, 13 Jul 92 23:33:37 -0400
|
||||
Date: Mon, 13 Jul 92 23:33:37 -0400
|
||||
From: jrs@world.std.com (Rick Sladkey)
|
||||
Message-Id: <9207140333.AA12321@world.std.com>
|
||||
Sender: owner-linux-activists@niksula.hut.fi
|
||||
To: linux-activists@niksula.hut.fi
|
||||
X-Note1: Remember to put 'X-Mn-Key: normal' to your mail body or header
|
||||
Subject: setserial.c
|
||||
X-Mn-Key: NORMAL
|
||||
|
||||
Here is a program that uses the recent serial ioctl calls to change
|
||||
the port or IRQ of a serial device. I use it to change /dev/ttys3 to
|
||||
IRQ 5. You must be root to run it or make it setuid to root. Please
|
||||
be careful when specifying port numbers!
|
||||
|
||||
If you get the message "Device busy" it means that you have another
|
||||
serial port currently using that IRQ or that you have specified an IRQ
|
||||
that is used by another hardware device such as the keyboard or a hard
|
||||
disk controller.
|
||||
|
||||
IRQs 2, 3, 4, and 5 are typically available and can often be set by
|
||||
DIP switches or jumpers on your serial card. With 0.96c patchlevel 1
|
||||
or higher you can use any IRQ that your card lets you configure and
|
||||
that is unused by Linux. If you are not sure, go ahead and try.
|
||||
Linux will let you know.
|
||||
|
||||
Some examples:
|
||||
|
||||
# setserial
|
||||
usage: setserial serial-device [ port irq ]
|
||||
for example: setserial /dev/ttys3 0x03e8 5
|
||||
Use a leading '0x' for hex numbers.
|
||||
CAUTION: Using an invalid port can lock up your machine!
|
||||
# setserial /dev/ttys3
|
||||
/dev/ttys3, Type: 16450, Line: 2, Port: 0x03e8, IRQ: 4
|
||||
# setserial /dev/ttys3 0 5
|
||||
/dev/ttys3, Type: 16450, Line: 2, Port: 0x03e8 (was 0x03e8), IRQ: 5 (was 4)
|
||||
#
|
||||
|
||||
There is a minor bug that prevents this from working with 0.96c
|
||||
patchlevel 1. Use unpatched 0.96c, wait for 0.96c patchlevel 2, or
|
||||
apply this patch.
|
||||
|
||||
*** linux/kernel/chr_drv/serial.c.orig Sun Jul 12 23:48:13 1992
|
||||
--- linux/kernel/chr_drv/serial.c Mon Jul 13 19:28:37 1992
|
||||
***************
|
||||
*** 416,421 ****
|
||||
--- 416,422 ----
|
||||
retval = request_irq(new_irq,handler);
|
||||
if (retval)
|
||||
return retval;
|
||||
+ info->irq = new_irq;
|
||||
free_irq(irq);
|
||||
}
|
||||
cli();
|
||||
|
||||
I have uploaded setserial.tar.Z to banjo and tsx-11.
|
||||
|
||||
Rick Sladkey
|
||||
jrs@world.std.com
|
||||
-----
|
||||
/* setserial.c - get/set Linux serial port info - rick sladkey */
|
||||
|
||||
/* compile with something like:
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -nostdinc -I/usr/src/linux/include -I/usr/include
|
||||
|
||||
setserial: setserial.c
|
||||
$(CC) $(CFLAGS) setserial.c -o setserial
|
||||
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <termios.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/tty.h>
|
||||
|
||||
char *progname;
|
||||
|
||||
struct serial_type_struct {
|
||||
int id;
|
||||
char *name;
|
||||
} serial_type_tbl[] = {
|
||||
PORT_UNKNOWN, "unknown",
|
||||
PORT_8250, "8250",
|
||||
PORT_16450, "16450",
|
||||
PORT_16550, "16550",
|
||||
PORT_16550A, "16550A",
|
||||
-1, NULL
|
||||
};
|
||||
|
||||
char *serial_type(int id)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; serial_type_tbl[i].id != -1; i++)
|
||||
if (id == serial_type_tbl[i].id)
|
||||
return serial_type_tbl[i].name;
|
||||
return "undefined";
|
||||
}
|
||||
|
||||
int atonum(char *s)
|
||||
{
|
||||
int n;
|
||||
|
||||
while (*s == ' ')
|
||||
s++;
|
||||
if (strncmp(s, "0x", 2) == 0 || strncmp(s, "0X", 2) == 0)
|
||||
sscanf(s + 2, "%x", &n);
|
||||
else if (s[0] == '0' && s[1])
|
||||
sscanf(s + 1, "%o", &n);
|
||||
else
|
||||
sscanf(s, "%d", &n);
|
||||
return n;
|
||||
}
|
||||
|
||||
void getserial(char *device, int fd)
|
||||
{
|
||||
struct serial_struct serinfo;
|
||||
|
||||
if (ioctl(fd, TIOCGSERIAL, &serinfo) < 0) {
|
||||
perror("Cannot get serial info");
|
||||
exit(1);
|
||||
}
|
||||
printf("%s, Type: %s, Line: %d, Port: 0x%.4x, IRQ: %d\n",
|
||||
device, serial_type(serinfo.type),
|
||||
serinfo.line, serinfo.port, serinfo.irq);
|
||||
}
|
||||
|
||||
void setserial(char *device, int fd, int port, int irq)
|
||||
{
|
||||
struct serial_struct old_serinfo, new_serinfo;
|
||||
|
||||
if (ioctl(fd, TIOCGSERIAL, &old_serinfo) < 0) {
|
||||
perror("Cannot get serial info");
|
||||
exit(1);
|
||||
}
|
||||
new_serinfo = old_serinfo;
|
||||
new_serinfo.port = port;
|
||||
new_serinfo.irq = irq;
|
||||
if (ioctl(fd, TIOCSSERIAL, &new_serinfo) < 0) {
|
||||
perror("Cannot set serial info");
|
||||
exit(1);
|
||||
}
|
||||
if (ioctl(fd, TIOCGSERIAL, &new_serinfo) < 0) {
|
||||
perror("Cannot get serial info");
|
||||
exit(1);
|
||||
}
|
||||
printf("%s, Type: %s, Line: %d, "
|
||||
"Port: 0x%.4x (was 0x%.4x), IRQ: %d (was %d)\n",
|
||||
device, serial_type(new_serinfo.type),
|
||||
new_serinfo.line, new_serinfo.port, old_serinfo.port,
|
||||
new_serinfo.irq, old_serinfo.irq);
|
||||
}
|
||||
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char *device;
|
||||
int fd;
|
||||
|
||||
progname = argv[0];
|
||||
if (argc == 1) {
|
||||
fprintf(stderr, "usage: %s serial-device [ port irq ]\n",
|
||||
progname);
|
||||
fprintf(stderr, "for example: %s /dev/ttys3 0x03e8 5\n",
|
||||
progname);
|
||||
fprintf(stderr, "Use a leading '0x' for hex numbers.\n");
|
||||
fprintf(stderr, "CAUTION: "
|
||||
"Using an invalid port can lock up your machine!\n");
|
||||
exit(1);
|
||||
}
|
||||
device = argv[1];
|
||||
if ((fd = open(device, O_RDWR)) < 0) {
|
||||
perror("Cannot open serial device");
|
||||
exit(1);
|
||||
}
|
||||
if (argc == 2)
|
||||
getserial(device, fd);
|
||||
else if (argc == 4)
|
||||
setserial(device, fd, atonum(argv[2]), atonum(argv[3]));
|
||||
else {
|
||||
fprintf(stderr, "%s: wrong number of arguments\n", progname);
|
||||
exit(1);
|
||||
}
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
BIN
Linux-0.96/sources/usr.bin/shutl-1.6Bsrc.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/shutl-1.6Bsrc.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/txtutl-1.3src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/txtutl-1.3src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/ue-man.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/ue-man.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/ue311c-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/ue311c-src.tar.Z
Normal file
Binary file not shown.
14
Linux-0.96/sources/usr.bin/unzip.README
Normal file
14
Linux-0.96/sources/usr.bin/unzip.README
Normal file
@@ -0,0 +1,14 @@
|
||||
Sun Jul 26 18:02:06 1992
|
||||
|
||||
UNZIP (v4.2) / ZIPINFO (v0.96k BETA) / SHIP (1.1) for Linux
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Package info: 'unzipsrc.tar.Z' patched with 'unzipsrc.dff.Z'
|
||||
(available on banjo.concert.net /pub/Linux/Incoming)
|
||||
* * *
|
||||
Enter 'sh Make_linux' for a complete installation. Please login as 'root' and
|
||||
ensure the the directories /usr/local/bin and /usr/man/man1 exist. The sources
|
||||
are ready to compile with GCC 2.2.2; all executables have been successfully
|
||||
tested under Linux v0.96c-pl2.
|
||||
|
||||
Regards,
|
||||
--Fabian Mueller, fabi@imp.ch
|
||||
BIN
Linux-0.96/sources/usr.bin/unzip.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.bin/unzip.tar.Z
Normal file
Binary file not shown.
24
Linux-0.96/sources/usr.bin/zip10c.README
Normal file
24
Linux-0.96/sources/usr.bin/zip10c.README
Normal file
@@ -0,0 +1,24 @@
|
||||
Sat Jul 25 20:47:04 MET 1992
|
||||
|
||||
Zip 1.0 w/ encryption code
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Package info: 'zip10c_src.tar.Z.'
|
||||
(available on banjo.concert.net /pub/Linux/Incoming)
|
||||
|
||||
|
||||
o Revised for GCC 2.2.2 (tested under Linux 0.96c-pl2)
|
||||
o Added code for non-export version (now zip supports password
|
||||
encryption/decryption, please read 'README.crypt'!)
|
||||
NOTE: To unzip an encrypted Zipfile you have to use 'zipcloak' first
|
||||
(enter 'zipcloak -h' for a short help)
|
||||
o Installation:
|
||||
(1) Unpack the sources
|
||||
(2) Enter 'make linux' in the 'Zip10c.src' directory
|
||||
(3) Move the executables and the man page to the
|
||||
appropriate directories:
|
||||
for i in zip zipnote zipcloak zipsplit ship ; \
|
||||
do mv $i /usr/local/bin ; done ; \
|
||||
mv zip.1 /usr/man/man1
|
||||
|
||||
Regarts,
|
||||
--Fabian Mueller, fabi@imp.ch
|
||||
BIN
Linux-0.96/sources/usr.bin/zip10c.tar.gz
Normal file
BIN
Linux-0.96/sources/usr.bin/zip10c.tar.gz
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.bin/zoo.tar.gz
Normal file
BIN
Linux-0.96/sources/usr.bin/zoo.tar.gz
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/calendar.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/calendar.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/dungeon.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/dungeon.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/gnuchess-3.1.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/gnuchess-3.1.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/hangman.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/hangman.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/lander-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/lander-src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/life.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/life.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/moria.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/moria.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/rain.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/rain.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/rogue.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/rogue.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/sokoban-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/sokoban-src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/tetris-src.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/tetris-src.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/tetris.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/tetris.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/torus.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/torus.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/worms.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/worms.tar.Z
Normal file
Binary file not shown.
BIN
Linux-0.96/sources/usr.games/yahtzee.tar.Z
Normal file
BIN
Linux-0.96/sources/usr.games/yahtzee.tar.Z
Normal file
Binary file not shown.
Reference in New Issue
Block a user