]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoAdd ^ getpid() for better srandom results
Andrey A. Chernov [Mon, 10 Mar 1997 07:46:03 +0000 (07:46 +0000)]
Add ^ getpid() for better srandom results

27 years agoDetect failure open condition for direct mode now
Andrey A. Chernov [Mon, 10 Mar 1997 06:54:58 +0000 (06:54 +0000)]
Detect failure open condition for direct mode now
Don't assume that modem descriptor must be >=3 in CloseModem,
just assume it is any valid descriptor >=0

27 years agoInitial import of the Brooktree PCI-TV drivers. I have not tested
Mark Murray [Mon, 10 Mar 1997 06:38:26 +0000 (06:38 +0000)]
Initial import of the Brooktree PCI-TV drivers. I have not tested
these, they may not even compile. I am importing them on behalf
of the submitters.
Submitted by: amancio, smp

27 years agoDon't waste time scanning tun_in+10 descriptors, scan exactly what
Andrey A. Chernov [Mon, 10 Mar 1997 06:21:02 +0000 (06:21 +0000)]
Don't waste time scanning tun_in+10 descriptors, scan exactly what
we need now.
Don't assume that file descriptor can't be 0 (many places)
Protect FD_* macros from being used with negative descriptors
Shorten MS EXT show help to fit 80 cols

27 years agoCatch up with the original.
Hiroyuki Hanai [Mon, 10 Mar 1997 03:04:05 +0000 (03:04 +0000)]
Catch up with the original.

27 years agoUpdate MAKEDEV to handle lots of tun devices, consistent with the tun device
Daniel O'Callaghan [Mon, 10 Mar 1997 02:10:58 +0000 (02:10 +0000)]
Update MAKEDEV to handle lots of tun devices, consistent with the tun device
selection code in usr.sbin/ppp/os.c (tun0-tun127, rather than tuna and tunb).
Also, make it make all devices up to and including the requested one.

27 years agoCatch up with the original.
Hiroyuki Hanai [Mon, 10 Mar 1997 01:09:48 +0000 (01:09 +0000)]
Catch up with the original.

27 years agoAdd comments.
Wolfram Schneider [Sun, 9 Mar 1997 23:10:56 +0000 (23:10 +0000)]
Add comments.

27 years agoSync with /etc/mtree/BSD.*.dist
Wolfram Schneider [Sun, 9 Mar 1997 22:39:56 +0000 (22:39 +0000)]
Sync with /etc/mtree/BSD.*.dist

27 years agoAdd registration help screen.
Jordan K. Hubbard [Sun, 9 Mar 1997 22:35:12 +0000 (22:35 +0000)]
Add registration help screen.

27 years agoAdd a registration screen so we can finally start counting our little user
Jordan K. Hubbard [Sun, 9 Mar 1997 22:25:49 +0000 (22:25 +0000)]
Add a registration screen so we can finally start counting our little user
puppies.

27 years agoreplace non-existant ioctl [GP]IO_STRMAP with what really does exist,
John-Mark Gurney [Sun, 9 Mar 1997 20:53:20 +0000 (20:53 +0000)]
replace non-existant ioctl [GP]IO_STRMAP with what really does exist,
[GS]ETFKEY...

Definately a 2.2 Candidate

a clean up of this page is to follow....  but I'm not sure I'll have it
before 2.2 is to be released...

27 years agocdefs cleanup
Andrey A. Chernov [Sun, 9 Mar 1997 20:09:17 +0000 (20:09 +0000)]
cdefs cleanup

27 years agoI remove pending signals completely, they are not useless, they are
Andrey A. Chernov [Sun, 9 Mar 1997 20:03:51 +0000 (20:03 +0000)]
I remove pending signals completely, they are not useless, they are
dangerous! Signal handlers themself must be fixed to not call malloc,
but no pended handlers, it will be correct fix. In finite case each signal
handler can set some variable which will be analized later, but calling
handler functions manually is too dangerous (f.e. signals not blocked while
the handler or handlers switch executed in this case). Of course this
code can be fixed instead of removing, but it not worth fixing in any case.

Should go into 2.2

In addition sig.c code shows following dangerous fragments (there can be more,
but I stop after two):

This fragment

    if (fn == SIG_DFL || fn == SIG_IGN) {
handler[sig-1] = (sig_type)0;
<------------- here
        signal(sig,fn);
    } else {

cause NULL pointer reference when signal comes
"here", but more worse fragment is below:

void handle_signals() {
    int sig;

    if (caused)
       for (sig=0; sig<__MAXSIG; sig++, caused>>=1)
           if (caused&1)
               (*handler[sig])(sig+1);
}

caused is bitmask which set corresponding bit on each signal coming.
And now imagine, what happens when some signal comes (bit sets) while loop
is executed (see caused>>=1 !!!)

In this light carrier drop situation was (as gdb shows)
1. SIGSEGV in handle_signals because some junk called as *handler reference.
2. Since SIGSEGV was pended too (== never happens),
it can cause various range of disasters.

27 years agoMakefile generates boths IBM-PC and PC-98 version of object code in
KATO Takenori [Sun, 9 Mar 1997 16:46:05 +0000 (16:46 +0000)]
Makefile generates boths IBM-PC and PC-98 version of object code in
apm_init.inc.  The PC-98 version of object is included in `#ifdef
PC98'.

Pointed-out by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>

27 years agoAdded PC-98 specific function to get battery status.
KATO Takenori [Sun, 9 Mar 1997 16:40:13 +0000 (16:40 +0000)]
Added PC-98 specific function to get battery status.
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>

27 years agoUse __ieee754_sqrt() instead of sqrt() internally. Similarly for the
Bruce Evans [Sun, 9 Mar 1997 16:29:29 +0000 (16:29 +0000)]
Use __ieee754_sqrt() instead of sqrt() internally.  Similarly for the
float versions.  Using sqrt() was inefficient.

Obtained from: NetBSD

27 years agoAdd reference to `PMake - A Tutorial'
Wolfram Schneider [Sun, 9 Mar 1997 15:51:07 +0000 (15:51 +0000)]
Add reference to `PMake - A Tutorial'

27 years agoInclude <machine/asm.h> instead of kernel-only <machine/asmacros.h>.
Bruce Evans [Sun, 9 Mar 1997 14:01:11 +0000 (14:01 +0000)]
Include <machine/asm.h> instead of kernel-only <machine/asmacros.h>.

27 years agoMoved userland assembler macros from <machine/asmacros.h> to
Bruce Evans [Sun, 9 Mar 1997 13:57:33 +0000 (13:57 +0000)]
Moved userland assembler macros from <machine/asmacros.h> to
<machine/asm.h>.

27 years agoClarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.
Stephen McKay [Sun, 9 Mar 1997 13:16:48 +0000 (13:16 +0000)]
Clarified the behaviour of dup2(fd1,fd2) when fd1==fd2 and when fd1 is invalid.

Safe for 2.2!

27 years agoSupport comments in password database (/etc/master.passwd).
Wolfram Schneider [Sun, 9 Mar 1997 12:21:45 +0000 (12:21 +0000)]
Support comments in password database (/etc/master.passwd).

Comments in group database (/etc/group) are currently not
supported - adduser silently delete blank lines and comments.

27 years agoDocument comments.
Wolfram Schneider [Sun, 9 Mar 1997 12:20:48 +0000 (12:20 +0000)]
Document comments.

27 years agoCloned src/lib/libc/i386/DEFS.h to create <machine/asm.h> for the i386.
Bruce Evans [Sun, 9 Mar 1997 10:39:15 +0000 (10:39 +0000)]
Cloned src/lib/libc/i386/DEFS.h to create <machine/asm.h> for the i386.
The former file was too hard to get at from other parts of the src tree
and will go away.

27 years agoYAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
Bruce Evans [Sun, 9 Mar 1997 10:21:26 +0000 (10:21 +0000)]
YAMInTheWrongDirectionF22 (part of rev.1.28.2.3: set B_CLUSTEROK for
commits).

27 years agoDon't use a dot in the chown command. Fixed some minor style bugs.
Bruce Evans [Sun, 9 Mar 1997 09:41:44 +0000 (09:41 +0000)]
Don't use a dot in the chown command.  Fixed some minor style bugs.
Building things at install time under ${DESTDIR} was too hard to fix.

Bruce

27 years agoFixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Bruce Evans [Sun, 9 Mar 1997 07:27:18 +0000 (07:27 +0000)]
Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.

27 years agoDon't use a dot in the chown command. In fact, don't use a chown command.
Bruce Evans [Sun, 9 Mar 1997 07:12:37 +0000 (07:12 +0000)]
Don't use a dot in the chown command.  In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.

27 years agoAdded forgotten directories netns and pccard. The bug was masked by
Bruce Evans [Sun, 9 Mar 1997 06:57:00 +0000 (06:57 +0000)]
Added forgotten directories netns and pccard.  The bug was masked by
bogons in /usr/src/include/Makefile.

27 years agoUpdate a number of routines to reflect the actual name
Mike Pritchard [Sun, 9 Mar 1997 06:10:36 +0000 (06:10 +0000)]
Update a number of routines to reflect the actual name
of the routine that caused the panic.

27 years agoDon't use a dot in a chown command. In fact, don't use any commands
Bruce Evans [Sun, 9 Mar 1997 06:08:22 +0000 (06:08 +0000)]
Don't use a dot in a chown command.  In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.

27 years agoUpdate a number of panic messages to reflect the actual name
Mike Pritchard [Sun, 9 Mar 1997 06:00:44 +0000 (06:00 +0000)]
Update a number of panic messages to reflect the actual name
of the routine that caused the panic.

27 years agoAdd table of contents. Remove stale comments.
Wolfram Schneider [Sun, 9 Mar 1997 02:23:40 +0000 (02:23 +0000)]
Add table of contents. Remove stale comments.

27 years agoThe CIRCLEQ_ENTRY example was wrong. Part of PR# 2917.
Mike Pritchard [Sun, 9 Mar 1997 00:49:00 +0000 (00:49 +0000)]
The CIRCLEQ_ENTRY example was wrong.  Part of PR# 2917.

27 years agoThe first argument to fts_set was wrong. Part of PR# 2917.
Mike Pritchard [Sun, 9 Mar 1997 00:43:49 +0000 (00:43 +0000)]
The first argument to fts_set was wrong.  Part of PR# 2917.

27 years agoPause() is made obsolete by sigsuspend(2), not sigpause(3).
Mike Pritchard [Sun, 9 Mar 1997 00:42:46 +0000 (00:42 +0000)]
Pause() is made obsolete by sigsuspend(2), not sigpause(3).
Part of PR# 2917.

27 years agoFix a number of typos, one of which is part of PR# 2917.
Mike Pritchard [Sun, 9 Mar 1997 00:33:19 +0000 (00:33 +0000)]
Fix a number of typos, one of which is part of PR# 2917.

27 years agoAdd comments.
Wolfram Schneider [Sun, 9 Mar 1997 00:14:00 +0000 (00:14 +0000)]
Add comments.

27 years agoAdd new variables COMPRESS_CMD and COMPRESS_EXT.
Wolfram Schneider [Sat, 8 Mar 1997 23:46:56 +0000 (23:46 +0000)]
Add new variables COMPRESS_CMD and COMPRESS_EXT.

bsd.doc.mk:
rename GZIPCMD to DCOMPRESS_CMD, add DCOMPRESS_EXT
bsd.info.mk:
rename GZIPCMD to ICOMPRESS_CMD, add ICOMPRESS_EXT
set INFOTMPL to ${INFODIR}/dir-tmpl
bsd.man.mk
rename ZEXTENSION to MCOMPRESS_EXT, MCOMPRESS to MCOMPRESS_CMD

27 years agoDon't use a dot in the chown commands. In fact, don't use any commands
Bruce Evans [Sat, 8 Mar 1997 21:41:41 +0000 (21:41 +0000)]
Don't use a dot in the chown commands.  In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Install with mode ${NOBINMODE} instead of 444.

27 years agoAdded comments regarding 3Com PCMCIA cards:
Nate Williams [Sat, 8 Mar 1997 20:04:20 +0000 (20:04 +0000)]
Added comments regarding 3Com PCMCIA cards:
- Multi-function ethernet/modem cards are not supported
- 3c589D is not supported
- Add advice on how to setup the driver to work with 3c589 cards.
- State how to select the network connector.

27 years agoDon't use dot in a chown command. The chown command has been a no-op
Bruce Evans [Sat, 8 Mar 1997 19:47:08 +0000 (19:47 +0000)]
Don't use dot in a chown command.  The chown command has been a no-op
for years since it is for a symlink.

27 years agoInstall opie.h in /usr/include
Paul Traina [Sat, 8 Mar 1997 19:42:41 +0000 (19:42 +0000)]
Install opie.h in /usr/include

27 years agoMake OPIE's public API use BSD conventions.
Paul Traina [Sat, 8 Mar 1997 19:42:17 +0000 (19:42 +0000)]
Make OPIE's public API use BSD conventions.

27 years agoDon't use a dot in the chown commands. In fact, don't use any commands
Bruce Evans [Sat, 8 Mar 1997 19:28:07 +0000 (19:28 +0000)]
Don't use a dot in the chown commands.  In fact, don't use any commands
except `install'.  Changed $() to ${}.  Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).

27 years agoFixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@.
Bruce Evans [Sat, 8 Mar 1997 19:06:23 +0000 (19:06 +0000)]
Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@.

27 years agoCleaned up some messages, added a check to remove a leftover popd file
Wolfram Schneider [Sat, 8 Mar 1997 18:04:45 +0000 (18:04 +0000)]
Cleaned up some messages, added a check to remove a leftover popd file
from /var/mail, added a routine to delete the removed user's files
from /tmp, /var/tmp, & /var/tmp/vi.recover, and added code to kill any
running processes owned by the removed user).  I've also added a flag
for non-interactive execution, cleaned up the man page, and adjusted
my address.

Submitted by: ghelmer@cs.iastate.edu (Guy Helmer)

27 years agoMake /dev/urandom fd static, or it pick up random descriptor
Andrey A. Chernov [Sat, 8 Mar 1997 18:01:40 +0000 (18:01 +0000)]
Make /dev/urandom fd static, or it pick up random descriptor
(stack garbadge) and read from it

Should go into 2.2

27 years agoEnable some aliases.
Wolfram Schneider [Sat, 8 Mar 1997 16:35:39 +0000 (16:35 +0000)]
Enable some aliases.
Add example for variable CDPATH, commented out.

27 years agoAdd my pgp key
Guido van Rooij [Sat, 8 Mar 1997 16:27:59 +0000 (16:27 +0000)]
Add my pgp key

27 years agoAllow comments in group database.
Wolfram Schneider [Sat, 8 Mar 1997 16:21:40 +0000 (16:21 +0000)]
Allow comments in group database.

The character `#' introduces a comment. Leading spaces and tabs are
ignored: '^[ \t]*#.*\n$'

Count an empty line - only spaces, tabs or newline - also as a comment.
(to be compatibel with password database comments). '^[ \t]*\n$'

27 years agoYAMF22
Jordan K. Hubbard [Sat, 8 Mar 1997 16:17:49 +0000 (16:17 +0000)]
YAMF22

27 years agoUse the common nchstats struct instead of a private one for ncs_2passes
Bruce Evans [Sat, 8 Mar 1997 16:09:38 +0000 (16:09 +0000)]
Use the common nchstats struct instead of a private one for ncs_2passes
and ncs_pass2.  The public one is already used for other cd9660 statistics
and the private one was effectively invisible.

27 years agoFixed missing initialisation of vp->v_type for types Pfile and Pmem
Bruce Evans [Sat, 8 Mar 1997 16:06:34 +0000 (16:06 +0000)]
Fixed missing initialisation of vp->v_type for types Pfile and Pmem
in procfs_allocvp().  This fixes at least stat() of /proc/*/mem.

stat() of /proc/*/file already worked.  I think procfs_allocvp() isn't
actually called for type Pfile.

27 years agoMake mv more robust. A race has been fixed, as well as an extra warning
Guido van Rooij [Sat, 8 Mar 1997 16:05:44 +0000 (16:05 +0000)]
Make mv more robust. A race has been fixed, as well as an extra warning
added when sbits are cleared.
Fixes PR 1351 and 1377 (I hope).

27 years agoSync with /etc/mtree/BSD.root.dist.
Wolfram Schneider [Sat, 8 Mar 1997 15:54:56 +0000 (15:54 +0000)]
Sync with /etc/mtree/BSD.root.dist.

27 years agoSynchronize with sys/i386/boot/biosboot/Makefile revision 1.55.
KATO Takenori [Sat, 8 Mar 1997 15:46:59 +0000 (15:46 +0000)]
Synchronize with sys/i386/boot/biosboot/Makefile revision 1.55.

27 years agoFixed the hash formula. Lite2 doesn't have phashinit(), so Lite2's hash
Bruce Evans [Sat, 8 Mar 1997 15:22:14 +0000 (15:22 +0000)]
Fixed the hash formula.  Lite2 doesn't have phashinit(), so Lite2's hash
formula uses `& nchash'.  This is very broken when nchash is a prime
number instead of 1 less than a power of 2, but the Lite2 formula was
merged in.

Merged some cosmetic changes from Lite2, rev.1.21 and Lite1.  The merge
was difficult because the Lite2 code is essentially ours (phk's) except
where Lite2 improved or broke it.

Summary of the Lite2 changes:
- in the copyright, phk's rights have been transferred to the Regents.
  This change should be reviewed.
- nchENOENT went away; the "no" vnode is now simply 0.
- comments were improved.
- style was "improved".
- goto instead of Fanatism (sic) was considered bad :-).
- there are some small changes to support whiteouts.
- new cache entries are added in more cases.  More work is required
  near here to change the hash table size if kern.desiredvnodes is
  changed using sysctl.
- rescanning of the hash bucket in cache_purgevfs() was removed.  This
  change should be reviewed.

27 years agoFix style bugs and other bugs in the NFS fix.
Guido van Rooij [Sat, 8 Mar 1997 15:14:30 +0000 (15:14 +0000)]
Fix style bugs and other bugs in the NFS fix.

27 years agoAdd variable MAIL.
Wolfram Schneider [Sat, 8 Mar 1997 14:41:44 +0000 (14:41 +0000)]
Add variable MAIL.

27 years agoAllow comments in password database. The comments are copied from
Wolfram Schneider [Sat, 8 Mar 1997 14:09:24 +0000 (14:09 +0000)]
Allow comments in password database. The comments are copied from
the password file into /etc/master.passwd and optional (-p) into
/etc/passwd. Enable this feature with the compile
option -DPASSWD_IGNORE_COMMENTS.

The character `#' introduces a comment. Leading spaces and tabs are
ignored: '^[ \t]*#.*\n$'

Count an empty line - only spaces, tabs or newline - also as a comment.
An empty line at the bottom of /etc/master.passwd is a common
novice error and increased my mail load: '^[ \t]*\n$'

27 years agoYAMF22
Jordan K. Hubbard [Sat, 8 Mar 1997 12:58:29 +0000 (12:58 +0000)]
YAMF22

27 years agoUnpend all signals before execv, it not makes any sense to pend them here
Andrey A. Chernov [Sat, 8 Mar 1997 12:15:58 +0000 (12:15 +0000)]
Unpend all signals before execv, it not makes any sense to pend them here

Should go into 2.2

27 years agoUnpend fault signals like SIGSEGV, etc
Andrey A. Chernov [Sat, 8 Mar 1997 12:11:26 +0000 (12:11 +0000)]
Unpend fault signals like SIGSEGV, etc
It is too dangerous to continue with them in any case

Should go into 2.2

27 years agoCorrect a bogus URL to bash in an example.
Jordan K. Hubbard [Sat, 8 Mar 1997 11:44:08 +0000 (11:44 +0000)]
Correct a bogus URL to bash in an example.

27 years agoAdd ^ getpid() to make more random results for subsequent calling.
Andrey A. Chernov [Sat, 8 Mar 1997 11:40:15 +0000 (11:40 +0000)]
Add ^ getpid() to make more random results for subsequent calling.
Add proper type casting to random calls

Should go into 2.2

27 years agoAdd a missing docfile (whoops! Overlooked).
Jordan K. Hubbard [Sat, 8 Mar 1997 11:34:25 +0000 (11:34 +0000)]
Add a missing docfile (whoops!  Overlooked).

27 years agoYAMF22
Jordan K. Hubbard [Sat, 8 Mar 1997 11:06:50 +0000 (11:06 +0000)]
YAMF22

27 years agoUnpend all killing signals to shut down this thing immediately,
Andrey A. Chernov [Sat, 8 Mar 1997 10:04:21 +0000 (10:04 +0000)]
Unpend all killing signals to shut down this thing immediately,
or it is impossible to kill it in some situations.
Unpend yet one SIGARLM (see timer.c commit)

Should go into 2.2

27 years agoDon't pend SIGALRM (Timer Service) due to
Andrey A. Chernov [Sat, 8 Mar 1997 09:55:42 +0000 (09:55 +0000)]
Don't pend SIGALRM (Timer Service) due to
1) When carrier dropped, old variant often forget to detect it cause
unkillable loop forever (because SIGTERM pended too, but it will be
separate commit)
2) Time intervals accuracy reasons

Should go into 2.2

27 years agoAPI cleanups (use const char * where appropriate)
Paul Traina [Sat, 8 Mar 1997 06:22:51 +0000 (06:22 +0000)]
API cleanups (use const char * where appropriate)

Cannidate for: 2.2 (please!)

27 years agoWhen removing IN_RECURSE support during the Lite/2 merge, read/write
John Dyson [Sat, 8 Mar 1997 04:33:47 +0000 (04:33 +0000)]
When removing IN_RECURSE support during the Lite/2 merge, read/write
to/from mmaped regions was broken.  This commit fixes the breakage, and
uses the new Lite/2 locking mechanisms.

27 years agoYAMF22
Jordan K. Hubbard [Fri, 7 Mar 1997 16:39:32 +0000 (16:39 +0000)]
YAMF22

27 years agoMake enumerated list more cosmetically appealing.
Jordan K. Hubbard [Fri, 7 Mar 1997 15:31:17 +0000 (15:31 +0000)]
Make enumerated list more cosmetically appealing.

27 years agoRemove unnecessary check for vp->v_mount being null. Pointed
John Dyson [Fri, 7 Mar 1997 14:40:54 +0000 (14:40 +0000)]
Remove unnecessary check for vp->v_mount being null.  Pointed
out by BDE.

27 years agoUpdate installation info for upcoming releases.
Jordan K. Hubbard [Fri, 7 Mar 1997 12:35:57 +0000 (12:35 +0000)]
Update installation info for upcoming releases.

27 years agoMade sure the string formated by strftime() is properly
Kazutaka YOKOTA [Fri, 7 Mar 1997 11:04:01 +0000 (11:04 +0000)]
Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.

27 years agoMade sure the string formated by strftime() is properly
Kazutaka YOKOTA [Fri, 7 Mar 1997 10:54:19 +0000 (10:54 +0000)]
Made sure the string formated by strftime() is properly
null-terminated.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.

27 years agoMade set_controller_command_byte() less verbose. It used to print a
Kazutaka YOKOTA [Fri, 7 Mar 1997 10:22:55 +0000 (10:22 +0000)]
Made set_controller_command_byte() less verbose. It used to print a
debug message whenever one of lock keys were pressed, if the system
was started with the `-v' option.

Removed a couple of lines of dead code too.

27 years agoFix a bogon in pcvt that caused a characterset designation to not take
Joerg Wunsch [Fri, 7 Mar 1997 08:56:00 +0000 (08:56 +0000)]
Fix a bogon in pcvt that caused a characterset designation to not take
effect immediately, but required a following (normally redundant) G0
into GL mapping.  This adds one layer of indirection (thus might make it
slower), but fixes the broken box character drawing in pcvt.

Hellmuth and Bruce are unfortunately too busy too review this right now,
but i wanna have it in 2.2 since it has often been asked in the past.

27 years agoFix the new (kbdio) keyboard layer to correctly work if PCVT_SCANSET == 2
Joerg Wunsch [Fri, 7 Mar 1997 08:53:16 +0000 (08:53 +0000)]
Fix the new (kbdio) keyboard layer to correctly work if PCVT_SCANSET == 2
even early in the boot process (boot -c or -d).

Submitted by: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA)

27 years agoOops, had a couple of extra parens in a couple of lines.
Mike Pritchard [Fri, 7 Mar 1997 07:45:17 +0000 (07:45 +0000)]
Oops, had a couple of extra parens in a couple of lines.

27 years agoClean this man page up. Don't use hardcoded font escape codes.
Mike Pritchard [Fri, 7 Mar 1997 07:43:19 +0000 (07:43 +0000)]
Clean this man page up.  Don't use hardcoded font escape codes.
Other mdoc cleanup.

27 years agoFix (I hope) the NFS hole. This is only compile tested.
Gary Palmer [Fri, 7 Mar 1997 07:42:41 +0000 (07:42 +0000)]
Fix (I hope) the NFS hole. This is only compile tested.

Submitted by: (partly) davids@SECNET.COM via BUGTRAQ

27 years agoAdd a missing semi-colon.
Mike Pritchard [Fri, 7 Mar 1997 06:15:54 +0000 (06:15 +0000)]
Add a missing semi-colon.

Submitted by: jmg

27 years agoCatch up with the original.
Hiroyuki Hanai [Fri, 7 Mar 1997 04:56:58 +0000 (04:56 +0000)]
Catch up with the original.

27 years agoSome minor mdoc cleanup.
Mike Pritchard [Fri, 7 Mar 1997 03:32:31 +0000 (03:32 +0000)]
Some minor mdoc cleanup.

27 years agoadd missing cvs Id lines.
John-Mark Gurney [Fri, 7 Mar 1997 03:28:23 +0000 (03:28 +0000)]
add missing cvs Id lines.

27 years agoUpdate this man page to reflect how setattr manipulates time
Mike Pritchard [Fri, 7 Mar 1997 03:16:52 +0000 (03:16 +0000)]
Update this man page to reflect how setattr manipulates time
values after the Lite2 merge.

27 years agoadd missing cvs Id lines
John-Mark Gurney [Fri, 7 Mar 1997 02:53:37 +0000 (02:53 +0000)]
add missing cvs Id lines

27 years agoadd missing cvs Id lines.
John-Mark Gurney [Fri, 7 Mar 1997 02:50:01 +0000 (02:50 +0000)]
add missing cvs Id lines.

27 years agoTypo fix.
Mike Pritchard [Fri, 7 Mar 1997 01:58:56 +0000 (01:58 +0000)]
Typo fix.

27 years agoFix a couple of typos.
Mike Pritchard [Fri, 7 Mar 1997 01:48:24 +0000 (01:48 +0000)]
Fix a couple of typos.

27 years agoAdd a -s option for setting the current vty. This should make
Brian Somers [Fri, 7 Mar 1997 01:34:47 +0000 (01:34 +0000)]
Add a -s option for setting the current vty.  This should make
life easier if a PS/2 mouse locks up the keyboard (frequent-ish,
but not repeatable).
Tidy up code (a bit) and make it -Wall

Is this a 2.2 candidate ? (although it doesn't -Wall in 2.2 because
of the lack of sys/sysproto.h

27 years agoMove pcvt towards using kbdio (finally!).
Joerg Wunsch [Thu, 6 Mar 1997 22:34:24 +0000 (22:34 +0000)]
Move pcvt towards using kbdio (finally!).

Warning: this won't work yet with PCVT_SCANSET=2 along in early
console mode (boot -c, or boot -d).

A big thanks to Kazutaka, and a word of apologies for delaying the
review for that long time...

Submitted by: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA)

27 years agoDon't clobber the TERM variable if it's already set (e.g. from /etc/ttys,
Joerg Wunsch [Thu, 6 Mar 1997 22:24:04 +0000 (22:24 +0000)]
Don't clobber the TERM variable if it's already set (e.g. from /etc/ttys,
or from a telnet session).  So basically, this setting will only get in
effect in the single-user shell.

Closes PR # 2395.

27 years agofix restarting http transfers and understanding response from server.
John-Mark Gurney [Thu, 6 Mar 1997 20:01:32 +0000 (20:01 +0000)]
fix restarting http transfers and understanding response from server.

Slight modification of patch by wollman.

Closes PR#2870

Reviewed by: wollman
Submitted by: Marc Slemko <marcs@znep.com>

27 years agoMerge Jason Thorpe's updated changer stuff into the actual system.
Joerg Wunsch [Thu, 6 Mar 1997 15:36:45 +0000 (15:36 +0000)]
Merge Jason Thorpe's updated changer stuff into the actual system.

Many things have been changing in the kernel since mid-1996, so there's
quite some amount of diffs here already.  It compiles, but i cannot
test it anywhere here.

2.2 candidate?

Closes PR # 1201.

27 years agoAcitvate chio(1).
Joerg Wunsch [Thu, 6 Mar 1997 15:30:53 +0000 (15:30 +0000)]
Acitvate chio(1).

27 years agoImport Jason Thorpe's contribution for an updated SCSI media changer
Joerg Wunsch [Thu, 6 Mar 1997 15:30:06 +0000 (15:30 +0000)]
Import Jason Thorpe's contribution for an updated SCSI media changer
device (now, finally!).