Commit Graph

2998 Commits

Author SHA1 Message Date
marcel
d4e7039177 Unbreak doscmd after the sigset_t change:
doscmd heavily depends on struct sigcontext which luckily is mostly passed
between functions as usion regcontext_t. By redefining union regcontext_t in
terms of mcontext_t almost all bases are covered.

It also seems to me that doscmd was in a transitional state. The redundant
definitions made it difficult to get a clear overview and could easily cause
oversight. To make sure my changes were ok, I went as far as to complete the
transition. It was not exactly necessary, but I expect to have to come back
here some more ("whistle" if I'm wrong :-).
1999-09-29 20:09:19 +00:00
marcel
5bf7ce284b sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
1999-09-29 15:18:46 +00:00
billf
f3e2a0e313 -Wall fixes.
Submitted by:	nrahlstr
1999-09-27 00:36:03 +00:00
chris
6f65528a75 Capitalization errors:
* Gcc -> gcc
* Gnu -> GNU
1999-09-25 21:47:27 +00:00
phantom
353c1a6746 Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
markm
d8bdd85855 Change edistribution to krb4 in preaparation for K5 1999-09-19 22:26:02 +00:00
markm
323c69d480 Fix for new Kerberos4. 1999-09-19 22:11:15 +00:00
green
09b47bdea7 "Disks" is more correct than "Disks" could be. 1999-09-19 18:04:54 +00:00
peter
9751ab22ae Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
hoek
86df52f412 Don't disallow null search patterns --- they are interpreted as being
identical to the previous pattern.

Noticed-by:	Jeroen Ruigrok/Asmodai
1999-09-14 21:20:58 +00:00
sheldonh
d003c4a860 Correct some hard sentence breaks. Only those surrounding the previous
commit and those which cause ugly nroff output have been fixed, since
the purpose of the style guideline which they contravene is to reduce
the sizes of deltas.

Reported by:	bde
1999-09-14 11:46:04 +00:00
ache
f882733396 use %OB for months names 1999-09-12 13:33:33 +00:00
ache
c597d9a1cb Redefine KEY_HOME as BOL like in pico, joe and lot of others and line edition
Add KEY_END as EOL
1999-09-12 10:08:18 +00:00
ache
b50a7124e7 Remove all \n from __COPYRIGHT(...) string - assembler can't parse them
in .ident and produce warning
1999-09-12 00:23:44 +00:00
hoek
94581eee51 s/with historical makefils//. Also, relocate and change the description
of VPATH to be a little sexier.  I'd say it looks a bit like Claudia
Schiffer now, which I consider a definate improvement.  We're also a little
more subtle about saying that VPATH is for backward(s) compatibility.

Submitted-by:	chris, bde, and myself
                [although none of their descriptions were as sexy
                 M(|is|r)s Schiffer, of course].
1999-09-11 15:11:56 +00:00
hoek
316ad4142e Remove the #include of sys/param.h. It was meant to improve portability
for BSD less than 4.4 where sys/cdefs.h DNE but can be simulated with
param.h.  Unfortunately, the additional include did little to actually
improve portability since we've lost portability in several other chunks
of make code (err(), sysctlbyname(), probable more).

Partly submitted by:	bde
1999-09-11 13:17:35 +00:00
hoek
506d7f351f Unduplicate IDs from comments, do $Id -> $FreeBSD$ (submitted-by: bde) 1999-09-11 13:08:02 +00:00
hoek
f95e7771ee Remove assertion of Shigio Yamaguchi's copyright, by request in bin/13607. 1999-09-10 23:40:39 +00:00
julian
be0f1c4ed2 Allow 'make' to check out elements within archive libraries.
"Make no longer properly parses archive files, so using archive members
      as make targets, as described in PSD:12 section 4.2, does not work."

Really should be merged into 3.3 before we ship if we can..
it's a trivial fix.

PR:		bin/13039, bin/10274
Submitted by:	Mikko Tyolajarvi mikko@dynas.se
1999-09-10 20:51:59 +00:00
ru
90cd63d0b3 Unbroke `make -s' case.
PR:		13676
Submitted by:	wollman
1999-09-10 07:39:25 +00:00
sheldonh
4000b20086 Improve shell documentation:
* Consistently misspell built-in as builtin.

* Add a builtin(1) manpage and create builtin(1) MLINKS for all shell
  builtin commands for which no standalone utility exists.  These MLINKS
  replace those that were created for csh(1).

* Add appropriate xrefs for builtin(1) to the csh(1) and sh(1) manpages,
  as well as to the manpages of standalone utilities which are supported
  as shell builtin commands in at least one of the shells. In such
  manpages, explain that similar functionality may be provided as a
  shell builtin command.

* Improve sh(1)'s description of the cd builtin command. Csh(1) already
  describes it adequately. Replace the cd(1) manpage with a builtin(1)
  MLINKS link.

* Clean up some mdoc problems: use Xr instead of literal "foo(n)"; use
  Ic instead of Xr for shell builtin commands.

* Undo English contractions.

Reviewed by:	mpp, rgrimes
1999-09-08 15:40:46 +00:00
markm
1d1d38e057 Fix Common Error brokenness. 1999-09-06 20:22:47 +00:00
billf
3f6da772cd -Wall: remove unused variable, initialize variable to avoid gcc stupidity. 1999-09-06 20:21:19 +00:00
billf
05fb6e762f Don't depend on the fact that variables default to int. 1999-09-06 20:15:56 +00:00
billf
b6f5158016 Cast pw_change and pw_expire to long and fix the format specifier accordingly. 1999-09-06 20:07:12 +00:00
peter
cc8565d1c5 Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
we have enough pseudo-options already.
1999-09-06 17:30:03 +00:00
sheldonh
a86e7e27bb Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by:	mpp
1999-09-06 13:14:24 +00:00
peter
130a567e83 Zap $Locker$ 1999-09-06 11:25:35 +00:00
peter
4aca858082 Zap $Source$ 1999-09-06 07:34:27 +00:00
peter
f7fdcd93d4 $Revision$ -> $FreeBSD$ 1999-09-06 07:33:51 +00:00
peter
73b5a006db Zap $Revision$ 1999-09-06 07:33:18 +00:00
peter
30861c2b1a Tidy up $Log$ debris 1999-09-06 07:32:15 +00:00
chris
1eef2252ef Remove unused variables. 1999-09-05 23:27:53 +00:00
peter
2ba0669ae5 $Id$ -> $FreeBSD$ 1999-09-05 19:13:04 +00:00
phantom
ba06c7bc7e mdoc(7) style fixes
PR:		docs/13409
Reviewed by:	mpp
1999-09-05 05:50:38 +00:00
markm
1f1e44eabe Perl support in vi is broken if perl has thread support built in.
Document this. Minor nitpick in other comments.
1999-09-04 10:27:12 +00:00
markm
3f27ca1140 Build this from contrib/ now. 1999-09-04 09:52:36 +00:00
hoek
a14fe466b1 Thorough revamp of how input commands are processed. This allows customization
of user keys (documentation pending).  The only key whose semantics have
changed is the capital 'N' key, which now performs a repeat-search in the
opposite direction (just like in vi).

This commit is a little bulkier than what I had originally planned.  I'm not
completely happy with the direction it went, but it's definately an
improvement, and the alternative is to continue becoming irrelevant compared
to GNU less.  (Does anyone even _use_ /usr/bin/more these days?)
1999-09-03 22:31:21 +00:00
nik
7d240ed581 Correct the information about Lincoln's assasination (shot on 14-4, died
on 15-4).

The Nagasaki bomb was dropped on August 9th, not August 8th.

Submitted by:   Tony Sumner <solon@macaulay.demon.co.uk>
1999-09-03 17:33:11 +00:00
dbaker
e15986424e column counter (cnt) not reset to 0 on display of '\r' which could cause
unnecessary forced linewraps on some terminals.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 23:07:29 +00:00
chris
17831c333c Properly document -P and -p flags. 1999-09-01 22:56:44 +00:00
chris
066bdb9078 Remove unused variable `ch'. 1999-09-01 22:26:36 +00:00
dbaker
029cf048cd Corrected apparent omission in program logic which was causing the
insertion of redundant crlf's.  Eliminated the venetian-blind effect
in walled text.

Submitted by:	David McNett <nugget@slacker.com>
1999-09-01 22:21:24 +00:00
hoek
0a4037f637 Slay a grammar gremlin. 1999-09-01 20:25:44 +00:00
phk
237070fe4d unifdef -Uvax -Uhp300 -Uluna68k -Umips -Utahoe 1999-09-01 11:25:25 +00:00
markm
934f2bc97e FreeBSD District court of Appeals - TN3270 vs Ports
Judge:		TN3270, you are charged with being superfluous to
		requirement, and have been found guilty.
		Defence, do you have any final words?
Defence lawyer:	Yes,..
		*!BLAM!*
Judge:		Contempt of court!! That blood is disgusting! Sergeant?
Sergeant:	Sah!?
Judge:		Get that mess out of here.
Sergeant:	Sah!!
Judge:		Anyone else have anything else to say?
		...
Judge:		Executioner!
Executioner:	My lord?
Judge:		Carry out the sentence, forthwith!
Executioner:	As my lord wishes...
		*!BLAM!* *!BLAM!* *!BLAM!*
Judge:		Any more matters for the court today?
		...
1999-08-31 08:55:39 +00:00
markm
6aee941745 Remove tn3270 from the build, preparatory to a short trial and a
brutal sentence. Once the dateline has crossed the repository,
tn3270 is history. Folk who want it, please use the new port.
1999-08-30 20:57:06 +00:00
peter
04d539c0b6 Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch
of conflicting symbols with ncurses.
1999-08-30 10:03:27 +00:00
peter
5f5c0c401a We're using ncurses now. 1999-08-30 08:28:47 +00:00
peter
c87e1a3786 Take a shot at making this work under termcap/terminfo ncurses. It
cheats a bit by accessing the termcap string buffer.  A better solution
is needed.
1999-08-30 08:27:31 +00:00