Commit Graph

24225 Commits

Author SHA1 Message Date
Philippe Charnier
14b374a5c4 Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
Rodney W. Grimes
825cbd5821 When calling the src/include Makefile use the shorthand ``all beforeinstall''
inplace of ``all installhdrs symlinks'' so those of us who run with
SHARED=copies get the right results.
1997-09-15 05:58:50 +00:00
Rodney W. Grimes
2b6f499962 Now that this has been merged over to RELENG_2_2 remove
the #if FreeBSD >= 3 wart I added while debugging.
1997-09-15 05:08:05 +00:00
KATO Takenori
b91a9de202 Synchronize with sys/i386/conf/files.i386 revision 1.176. 1997-09-15 04:00:32 +00:00
Peter Wemm
921af254ca Regenerate _after_ the commit to syscalls.master 1997-09-15 02:03:45 +00:00
Andrey A. Chernov
dfb33229a0 Sense *.ISO_8859-1 and *.KOI8-R locales from environment
PR: 4290
Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
1997-09-15 02:03:13 +00:00
Andrey A. Chernov
40d7476321 Fix neqn building:
1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance
1997-09-15 01:56:29 +00:00
Andrey A. Chernov
580117026e Change manual declarations of some functions to proper includes
Rewrote allowed character test to be more efficient
Fix screen position calculations: control and 8bit characters was
not counted properly
1997-09-15 01:03:16 +00:00
Andrey A. Chernov
fe38e2f8f4 Allow backspace too 1997-09-15 00:42:04 +00:00
Andrey A. Chernov
4541df7be4 disable upper controls and enable all other
8bit codes due to lack of locale knowledge in daemon
1997-09-15 00:27:49 +00:00
Andrey A. Chernov
07484d1f24 Oops, fix upper controls test 1997-09-15 00:17:38 +00:00
Andrey A. Chernov
77caf2118f Localize it. High controls disabled in any case.
Shut compiler warning about signal argument.
PR: 4466
1997-09-15 00:08:19 +00:00
Wolfram Schneider
c455f09b2d Add a simple manpage. 1997-09-14 23:43:22 +00:00
John-Mark Gurney
c740608242 docment the new sound drivers in LINT and add the necessary files to
files.i386.

We aren't sure if this new code and the old sound code will co-exist in a
kernel, so the device pcm0 line is left commented out in LINT.

Submitted-by:	Luigi Rizzo
1997-09-14 21:45:05 +00:00
John-Mark Gurney
b7da7b3e2a Import of Luigi Rizzo's sound code. For more information about the driver
check out the README that is included.

Submitted by:	Luigi Rizzo <luigi@labinfo.iet.unipi.it>
1997-09-14 21:42:12 +00:00
Wolfram Schneider
634a86ba38 Install gencat.1 manpage.
Obtained from: OpenBSD.
1997-09-14 20:23:02 +00:00
Poul-Henning Kamp
a3dd501081 In these days, waiting one full second for more to appear is far too long.
Let's try 250ms.
1997-09-14 19:02:13 +00:00
Joerg Wunsch
acb902182f Fix the broken VT_WAITACTIVE ioctl for the case where the third arg
was 0.

PR:		4164
Submitted by:	Joe Traister <traister@mojozone.org>

While i was at it, also fixed a broken return value for the VT_RELDISP
ioctl, iff the third arg was legally VT_TRUE, but the destination
screen was in process mode so the actual switch had to be deferred.
This was breaking the ability to directly toggle between two X servers
running on two VTs, since the server getting the bogus error return
was running wild, and competing with the other one for the hardware.
(Sigh, this was a very long-standing bug.)
1997-09-14 19:01:01 +00:00
Joerg Wunsch
755b925e24 Addf flags 0x10 to the sio0 line, so it is available as a potential
console.  This features backwards-compatibility to the era when sio(4)
was always available for a console.
1997-09-14 18:57:01 +00:00
Joerg Wunsch
a5b8be1a91 Explain the newer sio(4) flag values.
Fogotten by:	phk, bde
1997-09-14 18:55:41 +00:00
Wolfram Schneider
d6940a479f -p flag misdocumented in telnetd(8)
PR: 4462
Submitted by:  hfir@math.rochester.edu
1997-09-14 18:25:19 +00:00
Wolfram Schneider
8be26e5d0f Potential bufferflow in getpwent(), getpwnam() and getpwuid()
PR: bin/4134
Submitted by:	nick@foobar.org
1997-09-14 18:16:11 +00:00
Poul-Henning Kamp
146f72f251 What I did in my vacation. 1997-09-14 18:05:47 +00:00
Garrett Wollman
fa48aded4c Mention the multicast ping fix and changes to finger, fetch, and netstat. 1997-09-14 17:46:42 +00:00
Garrett Wollman
bdf9cff82b Talk a little bit about some of the networking changes in the kernel. 1997-09-14 17:35:30 +00:00
Poul-Henning Kamp
27262cac33 Add __getcwd() syscall, and have getcwd() take a shot at it.
If your kernel doesn't support __getcwd() or if __getcwd() cannot
deliver because of cache expiry, it does the canonical thing.
1997-09-14 16:57:27 +00:00
Poul-Henning Kamp
7822f1c624 Add a __getcwd() syscall. This is intentionally undocumented, but all
it does is to try to figure the pwd out from the vfs namecache, and
return a reversed string to it.  libc:getcwd() is responsible for
flipping it back.
1997-09-14 16:51:31 +00:00
KATO Takenori
e70ee0f24b Synchronize with sys/i386/isa/mse.c, pcaudio.c, sio.c and syscons.c
revisions 1.34, 1.37, 1.181 and 1.232, respectively.
1997-09-14 16:27:37 +00:00
Wolfram Schneider
5227e33604 Add some UUCP manpages. 1997-09-14 13:04:26 +00:00
Jordan K. Hubbard
4ba534c963 DTRT with ${viddev} in the same way as the other vidcontrol entries.
Reminded by:	bde
1997-09-14 12:16:36 +00:00
Peter Wemm
cf41704c63 Bruce wants the warning. 1997-09-14 11:28:30 +00:00
Peter Wemm
535db1806c Call poll(2) from within the resolver but adapt to older kernels without it
if necessary.  This removes the need to malloc large fd_set's for selecting
on high fd's (larger than FD_SETSIZE at libc compile time).

The syscall adaptive stuff only happens on the very first call.  SIGSYS
is masked, and if the call to poll fails with ENOSYS, then we use select
for the life of the program.  If poll does not fail with ENOSYS, then we
always use poll and skip the once-off signal masking gunk.

This may be overkill, but it saved my neck a few times while working on
multiple different sets of kernel sources, some with poll, some without.
1997-09-14 09:44:34 +00:00
Peter Wemm
387dcb61ff When calling strip, temporarily close the file, call strip and then
reopen it after strip has finished.  This makes it work when
/usr/bin/strip replaces the file rather than doing an in-place edit
(such as the binutils-2.8 strip, which is a variation of objcopy).
This is necessary if install(1) and strip(1) are going to cooperate
on an ELF system.
1997-09-14 08:21:44 +00:00
Peter Wemm
87963de0e4 Some updates for 3.0: mention changes for poll(2), issetugid(2),
async IO, getsid(2), setpgid(2), nanosleep(2), signanosleep(2),
fixes to sleep(3) and usleep(3), the a.out in-kernel linker.
1997-09-14 07:31:12 +00:00
Joerg Wunsch
81be6c75ba Explain a little more about the piping feature.
PR:		4122
1997-09-14 06:55:15 +00:00
Peter Wemm
16115af153 A poll(2) manpage.
Obtained from: NetBSD
1997-09-14 05:44:35 +00:00
Peter Wemm
ce234528d8 oops, I accidently committed a version without INFTIM at the last moment.
I'm not sure that this is the right place to put it, it is 'supposed' to
live in stropts.h.
1997-09-14 05:38:03 +00:00
Jordan K. Hubbard
2110cdc5e4 XFree86 3.3.1 updates
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
Peter Wemm
c4ea5f72e6 SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes
sys/poll.h).  Just provide a link, it's close enough. :-)  In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
1997-09-14 03:32:44 +00:00
Peter Wemm
b52c91dd7e Generate poll syscall stub 1997-09-14 03:29:55 +00:00
Peter Wemm
35b8b2ddab Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
Peter Wemm
ea8ef05f7e Update select -> poll.
I am not particularly happy with this stuff, I have no way to test it.
1997-09-14 03:12:54 +00:00
Peter Wemm
f8f6cbba92 Update network code to use poll support. 1997-09-14 03:10:42 +00:00
Peter Wemm
e0e8ed506f Update select -> poll 1997-09-14 03:09:01 +00:00
Peter Wemm
243ac7d85a select -> poll
Obtained from: NetBSD (I think)
1997-09-14 03:03:05 +00:00
Peter Wemm
f5d6cf0d60 select -> poll
flag missing vnode op table entries
1997-09-14 03:00:44 +00:00
Peter Wemm
a6aeade2c4 Convert select -> poll.
Delete 'always succeed' select/poll handlers, replaced with generic call.
Flag missing vnode op table entries.
1997-09-14 02:58:12 +00:00
Peter Wemm
51338ea83c Various select -> poll changes 1997-09-14 02:52:18 +00:00
Peter Wemm
a2f9bc72c1 vn_select -> vn_poll 1997-09-14 02:51:16 +00:00
Peter Wemm
d87652c3de Zap nxselect and noselect. 1997-09-14 02:50:28 +00:00