Commit Graph

49119 Commits

Author SHA1 Message Date
ache
1b57c1627c Make signal handler safe - don't use stdio (pointed by bde)
Staticize some color functions
Add yet one tolower() call which is forgotten after check
Don't check for OOPS - not really needed
2000-06-06 06:52:03 +00:00
green
ba3f3c2ac7 Allow "DenyUsers" to function. 2000-06-06 06:16:55 +00:00
ache
f2c52a3829 Wording: reset to normal ANSI value -> reset to the normal color 2000-06-06 06:14:37 +00:00
wpaul
0b1df3a8a2 - Call mii_pollstat() after we bring up the link on a 1000baseTX card
after autoneg so we make sure to set the link state and duplex mode
  correctly.
- Make sure to set the 'ignore pause frames' bit on the XMAC.
- Small linewrap fix.
2000-06-06 02:56:37 +00:00
ache
5bc77f44a4 Reflect reality:
yellow -> brown
white -> light grey
2000-06-06 00:42:24 +00:00
chris
5895c7a8d4 Instead of completely disallowing VOP_SETATTR, just do it where there is
an underlying vnode.

Suggested by:	bde
2000-06-06 00:35:39 +00:00
ache
7d22f1b9d1 ANSI attribute -> video attribute, was confused by wrong syscons comment 2000-06-06 00:19:51 +00:00
ache
247cbb9a19 Cosmetique: fix comments - don't use 'ansi' word for non-ansi (adapter) colors 2000-06-06 00:13:40 +00:00
rwatson
447d7154d8 o Minor spelling/grammar nits in intro header about conference
- s/netoworking/Networking/
    - s/are/is/
2000-06-06 00:08:26 +00:00
ache
d9db3b3863 initial -> normal (since this term used in syscons too)
Explicitly mark ANSI colors from non-ANSI
2000-06-06 00:03:38 +00:00
ache
cda81cb1a9 Properly mark all sequences which set initial colors.
Clean color tables.
2000-06-05 23:50:00 +00:00
ache
016e949aa3 Specify parameters ranges for E[...x 2000-06-05 23:24:37 +00:00
obrien
b0024b9d67 Consistently protect f28 with noat/at pairs.
This may be be necessary.  But we are taking the conservative approach at
the moment.

Reviewed by:	mjacob, gallatin
2000-06-05 23:05:22 +00:00
ache
2a6bfc59ca Document E[39m and E[49m
Describe whole E[...x set
2000-06-05 23:01:58 +00:00
ache
74134f6c45 cons25*: fix "op" to set initial (and not default) color pair.
NOTE: you need to recompile old kernel first, "op" will not work otherwise
2000-06-05 22:21:31 +00:00
ache
68919f78ec Implement ANSI E[39m and E[49m to set fg and bg to initial (not to default!)
values. E[x is bad because set them to default values and should be used only
in reset sequence.
2000-06-05 22:16:11 +00:00
ache
af7185e20d Get rid of curses completely - use tgoto instead of tparm 2000-06-05 20:54:46 +00:00
cracauer
4f7cf52071 Do SIGINT cleanup for SIGQUIT as well. 2000-06-05 20:38:47 +00:00
ache
bb8d736bb0 Kill yourself in ^C handler, not exit(1) to allow script to sense signal 2000-06-05 20:08:50 +00:00
ache
f2b2cff75d Cosmetique of prev. optimization - don't use global variable 2000-06-05 19:56:52 +00:00
ache
5bc31495b7 Don't use curses includes, include termcap.h instead
Don't use curses functions, use tputs instead
Add ^C reaction - reset colors
Optimization - don't turn off colors after EACH file printed.
Fix wrong ctype macro arg type in LSCOLORS parsing
2000-06-05 19:39:39 +00:00
wpaul
c3d31e9304 Don't bother checking the link state in dcphy_status() if the interface
isn't up.
2000-06-05 19:37:15 +00:00
ache
5051e56f81 Don't use curses includes, include termcap.h instead
Add ^C reaction set
2000-06-05 19:36:06 +00:00
ache
6a455e7b42 Don't use ncurses, use termcap
Add DPADD
2000-06-05 19:34:31 +00:00
rwatson
0b4c36a2ec o bde suggested moving the SYSCTL from kern_mib to the more appropriate
kern_prot, which cleans up some namespace issues
o Don't need a special handler to limit un-setting, as suser is used to
  protect suser_permitted, making it one-way by definition.

Suggested by:	bde
2000-06-05 18:30:55 +00:00
wilko
c2edee8c58 Correct info on AS2[01]00
Submitted by: Andrew Gallatin
2000-06-05 17:48:40 +00:00
ru
96199a91ad /usr/mdec has gone 1.5 years ago. 2000-06-05 16:14:51 +00:00
rwatson
53275f25df o Mention kern.suser_permitted
Obtained from:	TrustedBSD Project
2000-06-05 14:56:01 +00:00
rwatson
68239103ca o Introduce kern.suser_permitted, a sysctl that disables the suser_xxx()
returning anything but EPERM.
o suser is enabled by default; once disabled, cannot be reenabled
o To be used in alternative security models where uid0 does not connote
  additional privileges
o Should be noted that uid0 still has some additional powers as it
  owns many important files and executables, so suffers from the same
  fundamental security flaws as securelevels.  This is fixed with
  MAC integrity protection code (in progress)
o Not safe for consumption unless you are *really* sure you don't want
  things like shutdown to work, et al :-)

Obtained from:	TrustedBSD Project
2000-06-05 14:53:55 +00:00
rwatson
051a92f4cd o Remove unneeded off_t variable to clean up compile warning
Obtained from:	TrustedBSD Project
2000-06-05 14:22:51 +00:00
nyan
78e26067f4 Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver. 2000-06-05 13:33:39 +00:00
nyan
29e2987f18 Sync with sbin/i386/fdisk/fdisk.c revision 1.37.
(Don't try to open the /dev/rXXX device.)
2000-06-05 13:28:49 +00:00
nyan
6a7aa7f3d9 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
brian
2957ed6969 Specify a trigger address of 0.0.0.0 here so that we can sucessfully
negotiate with broken ppp implementations that won't supply an IP
number unless we suggest 0.0.0.0

Noted by:	Andrew Parry <andrew.parry@db.com>
2000-06-05 10:59:43 +00:00
hsu
ce8639fd44 Add missing increment of allocation counter. 2000-06-05 06:34:41 +00:00
joe
d65592899e Don't look up the ANSI sequences each time a colour is changed,
this is extremely inefficient, instead write them all down at the
beginning.

The correct sequence to switch colours off is to first use 'op' if
it exists, otherwise use 'oc'.  If neither of these exist then we
shouldn't be doing colour with this terminal.

Reviewed by:	ache
2000-06-05 03:51:29 +00:00
grog
243ad5208b parity ops: Correctly recognize the end of the plex. Previously we
were running off the end and generating worrying but harmless messages
about parity errors that wouldn't go away.
2000-06-05 03:01:07 +00:00
joe
ed202d13d9 Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
2000-06-05 02:25:55 +00:00
joe
6bddd8294a * Re-implement colour support using termcap's AF and AB capabilities
to manage the ANSI colour sequences.  Colour support is disabled
  unless the TERM environment variable references a valid termcap.

* Allow optional compilation of the colour support in the Makefile,
  defaulting to yes.  This allows us to switch it off for fixit
  floppies and other mediums where space is an issue and the extra
  bloat of statically linking with ncurses isn't acceptable.

* Display a warning if colour is requested with '-G' but support
  for it isn't compiled in.
2000-06-05 02:14:01 +00:00
ache
e0bbf8350a Remove libxpg4 2000-06-04 23:16:14 +00:00
rwatson
791168a446 o Introduce libposix1e capability support routines, which provide a
standardized interface to the capability support in TrustedBSD.
o Not currently enabled in Makefile, as this code depends on syscalls
  and include files that will be committed at a later date.

Obtained from:	TrustedBSD Project
2000-06-04 22:17:11 +00:00
rwatson
d12b21d070 o Fix incorrect descriptions of cap_get_flag() and cap_set_flag() in
capabilities summary manpage, cap(3).

Obtained from:	TrustedBSD Project
2000-06-04 22:14:10 +00:00
rwatson
de14938f8d o Build and install POSIX.1e capabilities man pages
o Add shared library version 2 to libposix1e given API changes, et al
o Commented out cap_*.c as that is not currently being compiled into
  the library (pending syscalls being committed)

Obtained from:	TrustedBSD Project
2000-06-04 21:25:31 +00:00
rwatson
4b16d857fd o Add posix1e(3) references to acl.3 and cap.3
Obtained from:	TrustedBSD Project
2000-06-04 21:23:20 +00:00
rwatson
1cb9ff5220 o Add mention of capabilities documentation + APIs
o Switch reference to www.trustedbsd.org instead of POSIX.1e implementation
  page
o Add cross references to capabilities man pages
o Remove extended attribute not implemented "BUGS" entry

Obtained from:	TrustedBSD Project
2000-06-04 21:18:20 +00:00
rwatson
9f516a06e7 o Introduce man pages for POSIX.1e capability API
- cap.3 describing library interface
  - cap_*.3 describing specific API calls

APIs to follow relatively soon, code to follow later.

Obtained from:	TrustedBSD Project
2000-06-04 21:15:16 +00:00
dmlb
a88c20a239 Cosmetic and capture a register dump _before_ I've downloaded values to
the card.
2000-06-04 21:14:57 +00:00
dmlb
b0f0c7adfc As part of the IFF_RUNNING stuff, we've added an extra flag so callers
can request that runq routines should check IFF_RUNNING before executing.
2000-06-04 21:14:26 +00:00
rwatson
8f2f5fdfd0 o Remove extra cross reference from acl.3 to acl.3
o Remove "BUGS" entries indicating that there's nowhere to store ACLs as
  we now have extended attributes.

Obtained from:	TrustedBSD Project
2000-06-04 21:10:59 +00:00
wilko
80927a9482 First shot at documenting DemiSable, Sable, Lynx & Rawhide. Owners/users
of these machines please comment!
2000-06-04 18:33:25 +00:00