freebsd kernel with SKQ
Go to file
Steven Wallace 473fbdbe96 Add a hack to emulator to emulat spx device for local X connections.
This is truly a hack.  The idea is taken from the Linux ibcs2 emulator.

To use this feature, you must use the option,
	options		SPX_HACK
in your config.

Also, in /compat/ibcs2/dev, you must do:

lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 X0R@ -> /dev/null
lrwxr-xr-x  1 root  wheel         7 Oct 15 22:20 nfsd@ -> socksys
lrwxr-xr-x  1 root  wheel         9 Oct 15 22:20 socksys@ -> /dev/null
crw-rw-rw-  1 root  wheel   41,   1 Oct 15 22:14 spx

Do NOT use old socksys driver as that has been removed.
This hack needs /compat/ibcs2/dev/spx to be any device that does NOT
exist/configured (so the now non-existant spx major/minor works fine).
When an open() is called, the error ENXIO is checked and then the
path is checked.  If spx open detected, then a unix socket is opened
to the hardcoded path "/tmp/.X11-unix/X0".

As the Linux hacker author mentioned, the real way would be to detect
the getmsg/putmsg through /dev/X0R and /dev/spx.  Until this true
solution is implemented (if ever), I think this hack is important
enough to be put into the tree, even though I don't like it dirtying
up my clean code (which is what #ifdef SPX_HACK is for).
1995-10-16 05:52:55 +00:00
bin Fix my breakage of the $0 handling during $ENV processing. 1995-10-09 17:56:32 +00:00
eBones Remove MAKE_EBONES conditionals. They were originally placed here because 1995-10-11 00:04:09 +00:00
etc Add pccard.conf to makefile. 1995-10-10 09:47:51 +00:00
games Prototype atof() so that the -speed option works. Closes bin/733. 1995-09-23 09:44:11 +00:00
gnu A one-liner: 1995-10-11 14:30:51 +00:00
include Due conflict to some obsoleted applications (dump/restore) rename 1995-09-23 15:14:25 +00:00
lib Add moncontrol.3 -> monstartup.3 link here. 1995-10-15 17:40:20 +00:00
libexec Added a -D option to set the TCP_NODELAY socket option. This improves 1995-10-15 03:40:57 +00:00
lkm Revert to default entry point. 1995-10-15 17:00:49 +00:00
release Fix the selection routine. 1995-10-15 17:22:24 +00:00
sbin Totally revamp the man page, update to the state of affairs. 1995-10-07 12:05:00 +00:00
secure Remove MAKE_EBONES conditionals. They were originally placed here because 1995-10-11 00:04:09 +00:00
share the man-link for moncontrol soesn't belong here... 1995-10-15 17:39:21 +00:00
sys Add a hack to emulator to emulat spx device for local X connections. 1995-10-16 05:52:55 +00:00
tools malloc.c A program to benchmark and test malloc. 1995-10-15 12:29:12 +00:00
usr.bin Fix ALPHA range 1995-10-15 16:53:43 +00:00
usr.sbin Fix the selection routine. 1995-10-15 17:22:24 +00:00
COPYRIGHT
CVS-INFO
HW.TROUBLE
Makefile Remove extraneous blank in libraries target (from 2.1). 1995-09-17 03:38:54 +00:00
README
TODO

   -----------------------------------------
       FreeBSD 2.0  ---  ALPHA Release                 ,        ,
   -----------------------------------------          /(        )`
                                                      \ \___   / |
Welcome to the ALPHA release of FreeBSD 2.0 - the     /- _  `-/  '
first public snapshot of our new 4.4BSD Lite based   (/\/ \ \   /\
operating system environment.  This install proce-   / /   | `    \
dure is also at the ALPHA stage, and contains only   O O   ) /    |
the minimum functionality required by an             `-^--'`<     '
*EXPERIENCED* person to install the system.         (_.)  _  )   /
It is our hope, of course, that the feedback         `.___/`    /
provided from this snapshot will                       `-----' /
greatly assist us in making the release   <----.     __ / __   \
of 2.0 much more user friendly.  Your     <----|====O)))==) \) /====
comments and criticisms are very          <----'    `--' `.__,' \
valuable to us, so please don't hesitate               |        |
in contacting us!  Full details on where and            \       /	/\
how to provide feedback are given below.           ______( (_  / \______/
                                                 ,'  ,-----'   |
This install procedure is ALPHA code, and        `--{__________)
may very possibly *DESTROY* the contents of your
ENTIRE DISK!  Please do not proceed with this installation
unless you've adequately backed up your data first!

If any errors occur during this installation, you can see them
by toggling over to the alternate screen - type ALT-F2 to switch
over, ALT-F1 to switch back to the install screen.  The debugging
output on the second screen may be very valuable to us in understanding
your bug report, so please be sure to take note of it when reporting
any failures in the installation!  Thanks!

Menus and scrolling output windows may be traversed with the arrow
and Page Up/Page Down keys.  To suspend the installation at any point,
hit ESC twice.  Hitting TAB will move the focus to different controls.
If you've ever dealt with a DOS installation, you'll know how to deal
with this.

For a more complete description of what's new in this release, please
see the release notes.

For more documentation on this system, it is recommended that you purchase
the 4.4BSD Document Set from O'Reilly Associates and the USENIX Association.
ISBN 1-56592-082-1  We have no connection with O'Reilly, we're just
satisfied customers!

Have fun, and please let us know of any problems you encounter with
this release!

Comments should be sent to:

	hackers@FreeBSD.org

Bug reports should be sent using the `send-pr' utility, if you
were able to get the system installed, otherwise to:

	bugs@FreeBSD.org

And general questions to:

	questions@FreeBSD.org


Please have patience if your questions are not answered right away -
this is an especially busy time for us, and our volunteer resources
are often strained to the limit (if not somewhat past!).

Thanks!

				The FreeBSD Project