Commit Graph

15902 Commits

Author SHA1 Message Date
Adam David
6415a04ebd YY --> CC 1996-09-10 21:19:56 +00:00
Poul-Henning Kamp
980b7c9573 Rather than adding more gunk here, clean some of it up:
devread() had a bogus interface, cleaned up.
	Bread() did an unneeded bcopy(), don't.
Saves 80 bytes and some time.
1996-09-10 21:18:40 +00:00
Poul-Henning Kamp
3f8da92bc8 Add -c flag to fmt to center lines. 1996-09-10 19:50:23 +00:00
Jordan K. Hubbard
f7c176c92b Remove the code which has restart looking at the modtime. That's just
moronic!  We don't care about the time in restart mode, only the size.
It's *mirror* mode which cares about modtimes.
1996-09-10 19:49:41 +00:00
Peter Wemm
a77d162973 Argh! there's no need for moused to be setuid-root! Now that it
works from startup, and works with XFree86 via /dev/sysmouse, it should
be started at boot and left running.

Pointed out by: Sujal Patel <smpatel@umiacs.umd.edu>
1996-09-10 19:17:25 +00:00
Peter Wemm
9545a0eaa4 Hack workaround XFree86 switching failure when used with /dev/sysmouse
and xdm, possibly in general.

What was happening was that the server was doing a tcsetattr(.. TCSADRAIN)
on the mouse fd after a write.  Since /dev/sysmouse had a null t_oproc,
the drain failed with EIO.  Somehow this spammed XFree86 (!@&^#%*& binary
release!!), and the driver was left in a bogus state (ie: switch_in_progress
permanently TRUE).

The simplest way out was to implement a dummy scmousestart() routine to
accept any characters from the tty system and toss them into the void.

It would probably be more correct to intercept scwrite()'s to the mouse
device, but that's executed for every single write to the screen.
Supplying a start routine to eat the characters is only executed for the
mouse port during startup/shutdown, so it should be faster.
1996-09-10 19:14:49 +00:00
Bruce Evans
80f495ec7e Backed out last change. It depends on the future change of adding
-I- to CFLAGS.  <sb.h> must currently be used to give the version
of sb.h in the current directory, while "sb.h" in the buggy version
gave the (wrong) version in the source directory.  Searching in the
source directory first is normal, but is the reverse of the order
suggested by the 4.4Lite2 #include style.  -I- will remove the
ambiguities.
1996-09-10 19:09:12 +00:00
Peter Wemm
13379e47c1 gut and overhaul moused, it was simply not working for me on any mouse
I could find.  This change does the following:
  - s/usage()/break;/ in handling the -s switch.
  - use err/warn instead of fprintf(stderr, ... strerror()); exit(1);
  - implement Hitachi PUMA HitTablet support from the XFree86 code,
    whatever the hell that is. :-)
  - correctly implement baud rate setting, too much was cut from the
    XFree86 code, the critical parts were a sweep over all likely
    mouse powerup baud rates to switch it to the reqested rate.
  - logitech support was busted (at least on mine, which is autosensing
    and runs in either mmseries or logitech mode depending on the handshake
    code at startup.  Among other things, you talk to it at 1200, then
    switch to the target baud later.

Some remaining problems..  samplerate setting is missing, but I've not
found where this is meant to be set yet.  I presume this is resolution
setting of some kind.
1996-09-10 18:20:46 +00:00
Jordan K. Hubbard
3a22ddb646 Clean up some of my earlier butchery of Satoshi's list of topics. This
looks much better.
1996-09-10 15:16:37 +00:00
Jordan K. Hubbard
bb7ab80677 Add HP NICs (missed in previous commit). 1996-09-10 15:14:38 +00:00
Peter Wemm
aaa315477e add bison, gperf 1996-09-10 14:04:37 +00:00
Peter Wemm
4a82da6962 add bmakefiles 1996-09-10 14:03:12 +00:00
Peter Wemm
fd88f67390 Make this compile. they use a variable "abort" which is prototyped. 1996-09-10 13:58:10 +00:00
Peter Wemm
b5a85b5ef7 This commit was generated by cvs2svn to compensate for changes in r18214,
which included commits to RCS files with non-trunk default branches.
1996-09-10 13:48:14 +00:00
Peter Wemm
dcd8284393 Import the FSF release of gperf-2.1a, used in the build of gcc-2.7.2.1
(to be imported soon).
1996-09-10 13:48:14 +00:00
Peter Wemm
78c10f4a0d Add bmakefiles to compile bison. 1996-09-10 13:23:46 +00:00
Peter Wemm
ca1e085bd0 This commit was generated by cvs2svn to compensate for changes in r18210,
which included commits to RCS files with non-trunk default branches.
1996-09-10 13:12:03 +00:00
Peter Wemm
9f36c7f497 Import the FSF release of bison-1.25 onto the vendor branch.
In case you're wondering, the gcc-2.7.2.1 import uses this to generate
code.  The size of the generated code is bigger than the entire bison
release, making this a saving.  The bison doc is pretty good apparently.
1996-09-10 13:12:03 +00:00
Peter Wemm
2fdc74a617 Change the last -Wall cleanup so that the tputs declaration doesn't
conflict with the other declarations in other files.  tputs() is
traditionally declared to return int, not void.  curses.h has it as int.
ncurses has int and actually sets the return value.  This problem has
been causing the ircII port to not compile.

(I've only minimally tested this, I do not have libtermcap on my systems)
1996-09-10 12:42:10 +00:00
Satoshi Asami
29dde1ef71 More merge. Change "pc98" to "isa" in a few places. Misc. cleanup.
Add some more devices to userconfig.c.

Submitted by:	The FreeBSD(98) Development Team
1996-09-10 09:39:22 +00:00
Bruce Evans
f313170d3c Updated #includes to 4.4Lite style. 1996-09-10 08:32:01 +00:00
Julian Elischer
b0a76b8898 No code changes what so ever, but added about 150 lines of comments
Sorry if this makes it harder to merge in lite2 stuff but hey..
At least I can figure out what is going on whenever I end up going through those
files again..

do we have a policy regarding commenting existing code?
1996-09-10 07:10:05 +00:00
John Dyson
9fea9a6f5b The whole issue of not support VOP_LOCK for VBLK devices should be
rethought.  This fixes YET another problem with unmounting filesystems.
The root cause is not fixed here, but at least the problem has gone
away.
1996-09-10 05:28:23 +00:00
John Fieber
1e76740a30 Add usr.bin/sgmls to the build-tools target.
This should prevent make world from falling over in share/doc.
1996-09-10 04:21:36 +00:00
Peter Wemm
73b2606378 personal (ie: with the crontab command) cron tabs were broken by the
last change. :-(
ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
1996-09-10 03:38:20 +00:00
Peter Wemm
5c817731db Ok, lets try this again, shall we? It was definatly my mistake, not
Steve's.. :-]
1996-09-10 02:42:33 +00:00
John Fieber
7006eca8ae Remove obsolete subdirs of usr/share/sgml/FreeBSD. 1996-09-10 02:26:28 +00:00
Peter Wemm
1018bd8d3c ack! back these out so I can see what I did wrong. It looks like a
patch-by-hand botch, but it sig-11's during make world.
1996-09-10 02:07:27 +00:00
John Dyson
ae9b8c3a66 Make sure that the pager is allocated before it is needed. Hangs
can occur if the pager is not allocated in time.
1996-09-10 01:42:34 +00:00
Peter Wemm
18e4c9579e Fix for PR#1248, sh doesn't expand past ${9}
Submitted by: Steve Price <sprice@hiwaay.net>
1996-09-10 01:24:11 +00:00
Bill Fenner
83fa788e4d Change strcpy() to strncpy() in several places, and give gethostname()
the real buffer size.  Note that the strncpy(domain, ...) doesn't need to
be a strncpy(), since it is copying from itself to itself, but belts
and suspenders don't hurt and this is not time-critical code.

Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7

Submitted by:	Karl <karl@codebase.mcs.net>
1996-09-10 00:50:13 +00:00
John Fieber
937dec3f90 Fix an incorrect mailing list name.
Submitted by:	Dan Janowski <danj@netcom.com>
1996-09-09 23:21:27 +00:00
Paul Traina
a7c2b4b01a Turn off KTRACE on MFS boot floppy. 1996-09-09 21:25:40 +00:00
Søren Schmidt
fa1e8cdd2f Fix the bug that caused switch to ttyv02 when pressing the numpad enter. 1996-09-09 20:54:02 +00:00
Garrett Wollman
f87313106d Set subnetsarelocal to false. In a classless world, the other case
is almost never useful.  (This is only a quick hack; someone should
go back and delete the entire subnetsarelocal==1 code path.)
1996-09-09 20:17:24 +00:00
Andrey A. Chernov
02601dae20 Remove sleep before moused, problem fixed with new consolectl device 1996-09-09 19:59:14 +00:00
Søren Schmidt
b1538b1658 The poor nsccons variable was gone agian this time hidden by
an ifdef , wonder who broke it this time :)

Submitted by:	 ache
1996-09-09 19:02:26 +00:00
Søren Schmidt
a41cbc45be Fix for the problem that moused hangs if it is started from /etc/rc
Introduces the /dev/consolectl device for controlling various
console related things (given syscons is used).
1996-09-09 18:47:47 +00:00
Poul-Henning Kamp
b6b34a5e0f DISTDIR is a reserved variable for make release
s/DISTDIR/DIST_DIR/g
1996-09-09 18:05:29 +00:00
Jordan K. Hubbard
2252262f79 Doh! Actually read the patch I applied and see what it was *trying* to do,
then make it do that.
Error-of-my-ways-pointed-out-by: Bob Willcox <bob@luke.pmr.com>
1996-09-09 15:32:26 +00:00
John Fieber
eec8e73501 Document the -f ps option.
Suggested by:	Jordan Hubbard <jkh@freebsd.org>
1996-09-09 14:15:28 +00:00
Rodney W. Grimes
8b3cbd0cef Remove the portion of revision 1.36 that added the #ifdef's for CPU
types as per discussions with Stefan Esser.
1996-09-09 06:09:45 +00:00
Jordan K. Hubbard
99949bf4d9 Mention the fact that HP NICs are now supported.
Submitted-by: "A JOSEPH KOSHY <koshy@india.hp.com> "
1996-09-09 03:57:49 +00:00
Jordan K. Hubbard
2ef1ee1df9 Add ISBN number.
Submitted-by: Steve Price <sprice@hiwaay.net>
1996-09-09 03:43:29 +00:00
Jordan K. Hubbard
7a7ca10a0d Close PR#1587 and 1586
Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>

Incorporate new development section, since Satoshi seems to have wandered
off for a bit and I have too much stuff stacking up in my handbook directory.

Submitted-By: asami
1996-09-09 01:56:58 +00:00
Andrey A. Chernov
df28808d40 Use real device for mousedport, because /dev/mouse usually linked
with /dev/sysmouse when moused is active
Add comment about this fact
1996-09-09 00:17:14 +00:00
Andrey A. Chernov
d71651da35 Use the same perm/owner for sysmouse as for others mouse devices 1996-09-09 00:02:44 +00:00
Andrey A. Chernov
814c1905ad Make sysmouse device for syscons 1996-09-08 23:56:27 +00:00
Paul Traina
30aaae26c6 Fix some buffer overflow problems... 1996-09-08 23:50:23 +00:00
John Dyson
4334b0d815 Fixed the use of the wrong variable in vm_map_madvise. 1996-09-08 23:49:47 +00:00