Commit graph

14438 commits

Author SHA1 Message Date
James Raynard ce51cf0392 Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer
Added $Id$'s to files that were lacking them (gpalmer), made some
cosmetic changes to conform to style guidelines (bde) and checked
against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde)

One last code cleanup:-

Removed spurious casts in fseek.c and stdio.c.
Added missing function argument in fwalk.c.
Added missing header include in flags.c and rget.c.
Put in casts where int's were being passed as size_t's.
Put in missing prototypes for static functions.
Changed second args of __sflags() inflags.c and writehook() in vasprintf.c
from char * to const char * to conform to prototypes.

This directory now compiles with no warnings with -Wall under
gcc-2.6.3 and with considerably less warnings than before with the
ultra-pedantic script I used for testing. (Most of the remaining ones
are due to const poisoning).
1996-06-22 10:34:15 +00:00
Andrey A. Chernov 55c148f316 Do not produce empty cat file in debug mode 1996-06-22 08:05:11 +00:00
Gary Palmer 372fa2cd81 Try to make it a bit clearer that our send-pr comes pre-configured
with a submitter-id, and that a new one is not required.
1996-06-22 06:59:25 +00:00
Poul-Henning Kamp d589bd24ad Add tcl related directories. 1996-06-22 06:02:47 +00:00
Poul-Henning Kamp e767093fa3 Add man-page section 'n' and LIBTCL macro. 1996-06-22 06:01:57 +00:00
Andrey A. Chernov c1ee7500f9 Update my pgp key 1996-06-22 05:47:46 +00:00
James Raynard 10871c9884 Document the fact that it only works if the trace record is a regular file. 1996-06-22 02:15:28 +00:00
Alexander Langer 2df2f6af71 Flush out the rules before adding entries. This prevents duplicate
rules from appearing when switching back and forth from single to
multi-user modes.
1996-06-22 00:54:36 +00:00
Peter Wemm 51a109a174 Set the rmx.rmx_expire to 0 when creating fake ethernet addresses for the
broadcast and multicast routes, otherwise they will be expired by
arptimeout after a few minutes, reverting to " (incomplete)". This makes
the work done by rev 1.27 stay around until the route itself is deleted.
This is mainly cosmetic for 'arp' and 'netstat -r'.
1996-06-21 21:45:58 +00:00
Peter Wemm 17b944a6a7 When writing the settings for stop bits and output hardware flow control,
things tend to work better if you write the settings to the correct
register.. (*blush*).  This subtle bug has been haunting me for ages, and
will solve a few problems that have been reported to me.

Also, take a shot at fixing the serial BREAK processing, what was there
before never really worked.  (There is a PR on this I think)
1996-06-21 21:35:01 +00:00
Andrey A. Chernov b08645daa4 Close security holes and restore suid bit
Restore writting cat's functionality
1996-06-21 18:49:36 +00:00
Jordan K. Hubbard 0e47b59f75 Add John Hay to list of developers and add him as an entity. I don't
know how this got overlooked so long! :-(  Sorry, John!
1996-06-21 13:16:37 +00:00
Søren Schmidt ab35f219ac Oops, fix a bug that caused updates to the screen to happen, without
anything actually changed, in this case the mousepointer logic.
1996-06-21 11:31:09 +00:00
Søren Schmidt ad771aa134 Moused is the daemon that provides the connection between the cut&paste
functionality in syscons and the real mouse hardware. If moused is
run one can switch on/off the mousepointer with vidcontrol -m on/off.
There is no manpage yet, but a fairly descriptive usage message....

Reviewed by:sos
Submitted by:	Michael Smith
Obtained from:Some of the mouselogic comes from XFree86
1996-06-21 09:24:09 +00:00
Søren Schmidt bfa09c9c30 Added new -m option, that enable / disables the mousepointer on
a textmode screen.
1996-06-21 07:20:13 +00:00
Søren Schmidt de4d1b835e Some news for syscons (long overdue):
Real support for a Textmode mousecursor, works by reprogramming the
charset. Together with this support for cut&paste in text mode.
To use it a userland daemon is needed (moused), which provides
the interface to the various mice protokols.
Bug fixes here and there, all known PR's closed by this update.
1996-06-21 07:19:18 +00:00
John Dyson 2a4eb04bfd Improve algorithm for page hash queue. It was previously about
as bad as it could be.  This algorithm appears to improve fork
performance (barely) measurably.
1996-06-21 05:39:22 +00:00
Alexander Langer 4be1e61baf Code clean up. Prototypes, parentheses around assignments used in
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#include necessary files.
1996-06-21 02:39:19 +00:00
Jordan K. Hubbard 485f5a7718 Handle the `distribute' target. 1996-06-20 23:52:45 +00:00
Bill Fenner 94334d8fc4 Use the route that's guaranteed to exist when picking a source address
for ARP requests.

The NetBSD version of this patch (see NetBSD PR kern/2381) has this change
already.  This should close our PR kern/1140 .

Although it's not quite what he submitted, I got the idea from him so
Submitted by:	Jin Guojun <jin@george.lbl.gov>
1996-06-20 22:53:08 +00:00
Mark Murray 460e479128 Remove $log's. 1996-06-20 21:31:46 +00:00
Nate Williams a866b5490e Don't un-necessarily include varargs.h. 1996-06-20 21:06:53 +00:00
Jordan K. Hubbard e0752a1775 Try to get some of the most egregiously old cruft out of here. 1996-06-20 19:45:23 +00:00
Julian Elischer 6ede0fb59d Submitted by: archie@whistle.com
This program should COMPLAIN about uids > 65K but not abort.. they are after
all legal, and some of us NEED them!
1996-06-20 19:19:29 +00:00
Jordan K. Hubbard b5bc989d0c Whoops - I made `make clean' chatty by mistake. 1996-06-20 18:51:28 +00:00
Jordan K. Hubbard 16a34ebd54 Add pre-world and post-world hooks so that people can do site specific
cleanup or preinitializion of /usr/src before and after the world target
is run.
1996-06-20 18:47:04 +00:00
Jordan K. Hubbard a9ef0b2904 Make pkg_install understand and use libftpio instead of its own
copies of the ftp support routines.  Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
1996-06-20 18:33:55 +00:00
Bill Fenner d7e74838d6 Remove one last rip_output from inetsw (gpalmer missed it in rev 1.30) 1996-06-20 17:52:32 +00:00
Adam David 161e125cb3 added fetch 1996-06-20 17:47:24 +00:00
Jordan K. Hubbard 267d69d56a Update net.inet.ip.forwarding example to give right value.
Indicate that gateway in /etc/sysconfig is *really* the correct way
if you have an /etc/sysconfig file.  Other small tweaks.
Requested by:	Guy Helmer <ghelmer@alpha.dsu.edu>
1996-06-20 17:17:03 +00:00
Jordan K. Hubbard 731ec3ace6 Make certain small things more consistent with the other stdio man pages. 1996-06-20 15:49:54 +00:00
Nate Williams 17040b78cd Put the 'debug' messages of the type:
/kernel: in_rtqtimo: adjusted rtq_reallyold to 1066
  /kernel: in_rtqtimo: adjusted rtq_reallyold to 710
inside of #ifdef DIAGNOSTIC to avoid the support questions from folks
asking what this means.
1996-06-20 15:41:23 +00:00
Joshua Peck Macdonald fc3be6aea0 I hate to read a man page that almost has useful information
but falls a little short.  I added a comment on the null
termination of struct group's gr_mem field.

Reviewed by:	jkh
1996-06-20 14:13:15 +00:00
Adam David faa0e467b2 libforms is no more 1996-06-20 13:38:15 +00:00
David Greenman 1293685583 Properly account for non-page aligned buffers. 1996-06-20 08:07:30 +00:00
David Greenman ac269d78be Minor KNF formatting change to vmapbuf() and vunmapbuf(). 1996-06-20 01:47:21 +00:00
Nate Williams baba307627 Whoops, forgot one FreeBSD specific change necessary for the lex .mk
macros to work.
1996-06-19 22:25:32 +00:00
Nate Williams 32c1db0624 Don't try to do a 'make bootstrap all install' in one commend. Break it
into two make commands so that make will recognize that it doesn't need
to buid scan.c w/lex.
1996-06-19 21:19:56 +00:00
Jordan K. Hubbard 40582d7142 Remove libforms, it was never used. 1996-06-19 21:19:37 +00:00
Jordan K. Hubbard eeb1baccd6 Remove libforms - it's unused. 1996-06-19 21:18:24 +00:00
Jordan K. Hubbard 81faaafaf6 Remove ncftp 1996-06-19 21:13:45 +00:00
Jordan K. Hubbard e551cc4df4 Nuke this thing. 1996-06-19 21:13:05 +00:00
Nate Williams d7d0ca4c97 Added lex to the bootstrap target. 1996-06-19 20:48:48 +00:00
Nate Williams 693e59976b Finish the import and merge in FreeBSD specific changes.
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
1996-06-19 20:48:06 +00:00
Jordan K. Hubbard 036346c9c7 Add a newline - it seems to want it. 1996-06-19 20:36:35 +00:00
Nate Williams 9c38336b2b This commit was generated by cvs2svn to compensate for changes in r16514,
which included commits to RCS files with non-trunk default branches.
1996-06-19 20:26:48 +00:00
Nate Williams 0a985cc317 Flex version 2.5.3 from Vern Paxson at LBL. 1996-06-19 20:26:48 +00:00
Nate Williams f9651e7e52 Print out the IRQ rather than the IRQ mask when printing out the
resources allocated to the driver when DEBUG is defined.
1996-06-19 17:27:55 +00:00
Garrett Wollman b8dc74a3a8 Set IFF_RUNNING on the loopback interface. 1996-06-19 16:24:10 +00:00
Nate Williams a85fadfc45 Macro expressions should be fully parenthesized! Fix the MAXMEM
definition although it would work as it was written.

options        "MAXMEM=(128*1024)"

Suggested by:	bde
1996-06-19 15:37:52 +00:00