Commit Graph

22714 Commits

Author SHA1 Message Date
bde
2169970781 Removed temporary SMP header fix. 1997-06-30 23:37:54 +00:00
bde
f894577e80 Removed -I path to gdb's readline. This didn't do much in -current
because the -I path to config/libreadline had precedence, but in
2.2 it help hide the bug that the -I path to the non-contrib
libreadline was garbage.
1997-06-30 23:10:54 +00:00
jkh
187083fd1d sysconfig -> rc.conf
PR:		3978
Submitted by:	Janick.Taillandier@ratp.fr
1997-06-30 19:10:50 +00:00
yokota
abbe25e6df options.i386:
- Added the psm options PSM_HOOKAPM and PSM_RESETAFTERSUSPEND.

LINT:
- Added the psm options PSM_HOOKAPM and PSM_RESETAFTERSUSPEND.
- Added comments on the flag 0x20 for syscons.
- Clarified descriptions on the flags (0x02, 0x04) regarding the cursor
  shape in syscons.
1997-06-30 14:37:43 +00:00
yokota
856fc0ee1c Fixes annoying behavior and a bug regarding the destructive
cursor (CHAR_CURSOR)

1. Reduced the number of calls to set_destructive_cursor().  The
destructive cursor produced noticeable overhead on the system.  It was
caused by draw_cursor_image() calling set_destructive_cursor() every
so often.

set_destructive_cursor() absolutely needs to be called when

a) the character code under the cursor has changed either because
   the cursor moved or because the screen was updated or the mouse
   pointer overlapped the cursor.
b) Or a new font has been loaded,
c) or the video mode has been changed,
d) or the cursor shape has been changed,
e) or the user switched virtual consoles.

2. Turn off the configuration flag CHAR_CURSOR (destructive cursor) in
scattach() if we have a non-VGA card.  The destructive cursor works
only for VGA.

3. Removed redundant calls to set_destructive_cursor() in some places.

4. Fixed the "disappearing mouse pointer" problem. The mouse pointer
looked hidden under the destructive cursor when it overlaped the cursor.

A slightly different version of the patch was reviewd and OKed by
sos and ache.
1997-06-30 13:31:49 +00:00
bde
f29ee43d5e gdb.info still needs a near-copy of hsuser.texinfo to avoid the
reference to the programming manual.  Use this near-copy of the version
of hsuser.texinfo in contrib/libreadline instead of the stale near-copy
in contrib/gdb.
1997-06-30 12:57:58 +00:00
yokota
b50ca5ad08 Add experimental APM support for some laptops.
If the configuration option PSM_HOOKAPM is defined and the APM device
is available, the psm driver will issue the ENABLE command to the
pointing device at the resume APM event if the device was open when
the system went into suspended mode. If the option
PSM_RESETAFTERSUSPEND is specified in addition to PSM_HOOKAPM, the
driver will try to reset the pointing device before sending the
ENABLE command.

Built-in PS/2-type pointing devices in some laptops (all the reports I
heard were about Toshiba models) sometimes don't work immediately
after the system is resumed. The device MAY become available after a
while. The system may exhibit the same symptom in other OS's too
(no, FreeBSD is not the only OS that is suffering :-).

I don't know the correct way of solving this yet, but it's been
reported that issuing the ENABLE command after resumption wakes up the
pointing device.

Without PSM_HOOKAPM, the psm driver behaves in the same way as before.

Problem reported in the bsd-nomads mailing list in Japan.
1997-06-30 12:52:57 +00:00
charnier
f2926cd74c Use EX_USAGE in usage(). 1997-06-30 11:24:18 +00:00
charnier
ac2d4da5ec Remove lines inside #ifdef 0/#endif. 1997-06-30 11:10:18 +00:00
ache
959eed0f42 Add LC_TIME=C to date 1997-06-30 10:59:25 +00:00
kato
3ca4efbacf Synchronize with sys/i386/isa/syscons.c and syscons.h revisions 1.219
and 1.30, respectively.
1997-06-30 10:00:47 +00:00
kato
f43f2d2ae6 Synchronize with sys/i386/i386/machdep.c revision 1.252. 1997-06-30 09:58:39 +00:00
kato
a0e4dd5e54 Synchronize with sys/i386/conf/Makefile.i386 and files.i386 revisions
1.100 and 1.166, respectively.
1997-06-30 09:57:33 +00:00
charnier
e8dddcf334 Add usage(). 1997-06-30 06:51:20 +00:00
charnier
5491fe1a12 Document -k flag. 1997-06-30 06:50:07 +00:00
charnier
73bb150bd4 Use err(3) instead of local redefinition. Change argument name in man
page to sync with usage string.
1997-06-30 06:48:46 +00:00
charnier
3bc3b31051 Add usage string. Typo in man page. 1997-06-30 06:45:53 +00:00
charnier
d06218467a Uncompress is under .Nm not .Ar. 1997-06-30 06:44:07 +00:00
charnier
ab2673feab Mdoc'ify man page. Use err(3). Remove whoami. 1997-06-30 06:42:43 +00:00
charnier
fa69c34676 Use err(3). Add DIAGNOSTIC section name in man page. 1997-06-30 06:40:16 +00:00
charnier
76e5b09556 Add missing -s flag in usage string. 1997-06-30 06:37:15 +00:00
jkh
15f6351c22 YAMF22 - deletes and preserve option fixes. 1997-06-30 03:15:40 +00:00
brian
ce12228bbe Allow specification of a umask for local socket
creation in "set server" command.
1997-06-30 03:03:38 +00:00
jkh
b1268608f7 Whoops, only attempt to back up the file if it exists. :-} 1997-06-30 02:57:40 +00:00
wosch
0912969d89 Delete old comment about /bin/mail. We don't have a /bin/mail.
Sync with /etc/master.passwd and RFC 2142. In detail:
added:
	man, news, operator, usenet (->news), xten
deleted:
	ingres
added as comment:
	info, marketing, sales, support, abuse, noc, security,
	ftp, hostmaster, webmaster, www, bit-bucket, dev-null
1997-06-29 23:09:07 +00:00
bde
2460dddefe Implemented `-c command'.
Fixed bitrot (__dead went away; EOF is now wrong for the getopt failure
value).

Moved sleep command to the end of the main loop to avoid mismatch between
main loop and the report loop.  There is an extra iteration that could be
used to calibrate the loop overhead, but was used to report wrong results.

Fixed usage message.
1997-06-29 22:43:01 +00:00
ache
c715149a85 dev->id_flags --> flags
(not compiles otherwise)
1997-06-29 22:23:32 +00:00
bde
17a5dafb00 Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).
1997-06-29 21:40:54 +00:00
bde
3d5b4610f0 Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).

Split long lines.
1997-06-29 21:36:33 +00:00
bde
a247e37185 Print fs_maxfilesize. 1997-06-29 20:59:03 +00:00
bde
6ca2cd7010 Prepare to remove the declaration of sys_siglist from <unistd.h>.
It should only be declared in <signal.h> if at all.  Modload used
to depend on getting it from <unistd.h> because it only included
<sys/signal.h>.
1997-06-29 20:38:38 +00:00
steve
fb8554878f Zap register keyword usage and convert: bcopy -> memmove, bzero -> memset,
index -> strchr, and rindex -> strrchr.
1997-06-29 19:50:26 +00:00
steve
7cf440d97b Merge conflicts and make this compile -Wall clean. 1997-06-29 19:00:29 +00:00
steve
3be795b30f This commit was generated by cvs2svn to compensate for changes in r27074,
which included commits to RCS files with non-trunk default branches.
1997-06-29 18:50:34 +00:00
steve
cdedd796f3 Import of NetBSD's rbootd version 19970629 1997-06-29 18:50:34 +00:00
bde
3fd9956ac7 Removed most unused files (about 8M total). 1997-06-29 18:12:14 +00:00
jkh
6f9e389895 Protect against CVSROOT not being set.
Submitted by:	fenner
1997-06-29 18:07:01 +00:00
bde
43bbfc5abd Removed unused files (about 8MB total). 1997-06-29 18:06:40 +00:00
bde
ccd156ecf5 Updated generated files (makesyscalls.sh changed). Only sysproto.h
really changed.
1997-06-29 17:47:32 +00:00
bde
1b78d73cc7 Don't generate unused nested #include of <sys/aio.h>. 1997-06-29 17:39:57 +00:00
bde
2d03283ebc Fixed the fix for not using -fomit-frame-pointer with -pg. The previous
fix stopped it being used in all cases, because substitution on unset
variables does not work.

When profiling, put -malign-functions=4 in CFLAGS instead of in PROF.
This fixes the histogram counts for profiling support functions.  It
gives bogus but harmless extra alignment for genassym etc.
1997-06-29 16:39:11 +00:00
yokota
26268f9b90 A fix/work-around for ThinkPad 535.
Add a new configuration flag, KBD_NORESET (0x20) to tell scprobe() not
to reset the keyboard.

IBM ThinkPad 535 has the `Fn' key with which the user can perform
certain functions in conjunction with other keys. For example, `Fn' +
PageUP/PageDOWN adjust speaker volume, `Fn' + Home/End change
brightness of LCD screen. It can also be used to suspend the system.

It appears that these functions are implemented at the keyboard level
or the keyboard controller level and totally independent from BIOS or
OS.  But, if the keyboard is reset (as is done in scprobe()), they
become unavailable.  (There are other laptops which have similar
functions associated with the `Fn' key. But, they aren't affected by
keyboard reset.)

ThinkPad 535 doesn't have switches or buttons to adjust brightness and
volume, or to put the system into the suspend mode. Therefore, it is
essential to preserve these `Fn' key functions in FreeBSD. The new
flag make scprobe() skip keyboard reset.

If this flag is not set, scprobe() behaves in the same say as before.

(If we only knew a way to detect ThinkPad 535, we could skip keyboard
reset automatically, but...)
1997-06-29 15:11:40 +00:00
brian
993a6e3ba9 Fix HUP handling while dialing.
Pointed out by:	ache
1997-06-29 13:54:31 +00:00
bde
54580001e4 Fixed clobbered vendor Id. 1997-06-29 11:52:51 +00:00
bde
bfd1b62812 Attempt to fix clobbered vendor Id. 1997-06-29 11:43:31 +00:00
obrien
ddac02b672 ``-C ${WRKDIR} -xzf'' are no longer the default args for EXTRACT_BEFORE_ARGS 1997-06-29 10:51:55 +00:00
jkh
d7c9ca45eb Add support for @option preserve - moves existing files out of the way
before replacing them (using pkgname to make this hopefully unique).
Delete also moves them back, if they exist, resulting in a package
which can be "backed out" with reasonable safety.
1997-06-29 10:41:49 +00:00
obrien
d864dead3e Add magic for FIGlet fonts and controlfiles
Obtained from:	Figlet v2.2 release.
1997-06-29 10:06:56 +00:00
steve
7bd28b3f36 Add a blurb on how to import newer versions of patch(1) so
that others don't make the same bone-headed mistakes that
I just did.

Obtained from: Peter Wemm's version of this file in contrib_cvs
1997-06-29 07:20:16 +00:00
steve
e6efd720f1 -Wall clean. 1997-06-29 06:56:24 +00:00