Commit Graph

914 Commits

Author SHA1 Message Date
Paul Traina
8454052590 rename ngroff to groff 1995-03-18 01:23:06 +00:00
Nate Williams
738ff67657 Gcc v2.6.3 currently has a problem with templates. Specifically, with
default switches, template functions get EXTERNAL linkage in each file
in which they occur, causing multiple definition errors during
linking.  The enclosed patch (from gnu.g++.bug) appears to solve the
problem (I enclose the accompanying message as well).

This patch fixes the multiply defined template functions bug
which was introduced in 2.6.1.

Submitted by:	"Justin T. Gibbs" <gibbs@estienne.cs.berkeley.edu>
Obtained from:  Jason Merrill at cygnus support on G++ mailing list
1995-03-17 21:24:25 +00:00
Andrey A. Chernov
dd970fbdb0 Fix savestring & gdb conflict
Moreover, this fix not breaks any pgm which uses readline's savestring
1995-03-17 21:11:53 +00:00
Rodney W. Grimes
f71681dcf8 Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by:	phk
1995-03-17 07:52:23 +00:00
Andrey A. Chernov
0efbb29eec Upgrade 1995-03-17 01:40:52 +00:00
Joerg Wunsch
01e694c2e2 Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
Poul-Henning Kamp
c66585d539 Disabled gdb until it compiles. I need make world to work... 1995-03-13 19:14:05 +00:00
Andrey A. Chernov
4ad6de4413 Bump SHLIB_MAJOR to 263 to match ../Makefile.inc 1995-03-13 01:30:02 +00:00
Andrey A. Chernov
c14b1eb830 Add cmp -s to beforeinstall target 1995-03-12 23:21:29 +00:00
Poul-Henning Kamp
0282d7a383 Don't install shared libgcc, we can't do it this way.
I will uuencode and check in to a "compat20" area the 2.0-RELEASE version.
1995-03-12 20:17:07 +00:00
Bruce Evans
dad6f71aed Remove the last vestige of COMMENT_BEGIN. 1995-03-12 11:47:20 +00:00
Bruce Evans
60ae9f8840 Undo most of the changes in the gcc-2.6.3 "upgrade"
- Don't define NO_IMPLICIT_EXTERN_C here.  It is already the default
  (defined in i386/bsd.h).
- Don't lose the fixed comment about FUNCTION_PROFILER.
- Don't lose the define of NO_PROFILE_DATA.

Replace the unused define of COMMENT_BEGIN by the less-unused define
of ASM_COMMENT_START.  COMMENT_BEGIN was only defined in i386-specific
files and was not used in any part of gcc-2.6.3.  ASM_COMMENT_START
is defined for several targets and is used for stuff that we don't
support (dwarf).
1995-03-12 11:45:12 +00:00
cvs2svn
36d59faf6a This commit was manufactured by cvs2svn to create branch 'VENDOR-cvs'. 1995-03-12 10:18:55 +00:00
Joerg Wunsch
8dcdb65e4e Add my script here to make people's life easier when importing new
stuff.  I'd like to have it in CVS, and i figured that this might be
the best place to go.

Someone (phk?) could install it into /usr/local/bin on freefall, for
convenience.

Suggested by: phk
1995-03-12 10:18:54 +00:00
Poul-Henning Kamp
fd6eef4fd9 Remove a bunch of funtions that are in libc already.
Add back the shared libgcc, now that we don't use it to link against.
1995-03-12 09:37:26 +00:00
Nate Williams
c6bc11c2f6 Added support for #pragma weak.
Obtained from: NetBSD
1995-03-11 04:07:26 +00:00
Nate Williams
b18f8c1dda Updated the sources to gcc 2.6.3 with FreeBSD changes already applied.
Note: This isn't the most correct way, but it works and it's fast.
1995-03-11 03:51:44 +00:00
David Greenman
28b6ade77a Back out Poul's hack that forces static libgcc. This has been fixed via
gcc instead.
1995-03-10 19:41:50 +00:00
David Greenman
c683527908 Define LINK_LIBGCC_SPECIAL_1 so that gcc will build static with libgcc. 1995-03-10 19:39:32 +00:00
Poul-Henning Kamp
93ccf2fa5e Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together with.
The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue,  this
alows us to find the length of any counted BB.  This is a cheap and somewhat
reasonable measure of actual cost.
1995-03-10 08:24:09 +00:00
Paul Richards
0d09ae1111 Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.
1995-03-09 19:56:23 +00:00
Jordan K. Hubbard
fdf5c453e0 We can't bail out on generating the pic archive yet.
Submitted by:	bde
1995-03-06 12:17:49 +00:00
Poul-Henning Kamp
3d496ce9e4 Don't make the shared libgcc. I don't belive we need the libgcc_pic.a
anymore, so I killed that as well.
1995-03-06 08:04:05 +00:00
Poul-Henning Kamp
316f7f7725 Never again shall we link libgcc dynamic. It was a big mistake in the
first place and we were too long in finding out.  Now we know, and the
damage is hard to fix.  This is part one:  ld will not link gcc dynamic,
if specified as "-lgcc".

Suggested by:	dyson & davidg
1995-03-06 08:00:23 +00:00
Nate Williams
0be9c260c5 Install the include file in the same way that all other includes file are
in the 'beforeinstall' target.
1995-03-06 05:51:32 +00:00
Bill Paul
e7969ab094 Added support for bootparams map. 1995-03-05 22:48:50 +00:00
Poul-Henning Kamp
fcb2469be6 "Various very violent dissections
disables dysfunctional disinformed namei's,
needlessly negating namei cache."

These hacks cuts the number futile attempts made by cc and ccp to find
cross-compilers and other weird stuff.  A make of the BOOTFLP kernel
has 20% less namei calls now, that is from 30647 down to 24563 calls.
1995-03-05 20:34:41 +00:00
Nate Williams
c79eac4c4c Weak symbol support from NetBSD. This should bring us in sync with the
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs.  We should be binary
compatible now with all their libraries.

Obtained from: NetBSD
1995-03-04 17:49:20 +00:00
Nate Williams
d6212a19ca Add the abilitity to compile the Lites code with the native FreeBSD assembler.
(This adds minor support for the .bss directive)

Submitted by:	Many folks, but I believe Remy Card was the first person to
                propose this change.
1995-03-02 20:29:18 +00:00
Andrey A. Chernov
2270889953 Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox
1995-03-02 01:03:39 +00:00
Joerg Wunsch
c71243fd9a typo.
Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
1995-02-28 23:16:33 +00:00
Andrey A. Chernov
6c5f92f17f Fix two quad_t casts, one reported by wcp@lpds.sublink.org 1995-02-26 23:48:51 +00:00
Joerg Wunsch
def5a1b108 Patch bei Wolfram to avoid processing duplicate directories.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-02-26 19:35:06 +00:00
Bruce Evans
eac78dccac Install manpath.config.sample with the correct mode. It should be installed
elsewhere.
1995-02-26 03:03:15 +00:00
Jordan K. Hubbard
5865e890a7 Correct a few typos. 1995-02-24 11:21:34 +00:00
Andrey A. Chernov
e6c16d383f Implement --hline "line" and --hfile file 1995-02-23 22:42:44 +00:00
Andrey A. Chernov
fdcf149868 Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing
1995-02-23 22:36:56 +00:00
Poul-Henning Kamp
7d6349eb5f Don't rely on execute bit. 1995-02-23 05:48:38 +00:00
Nate Williams
f8972f58e8 Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository.  This is often seen by
people with remote CVS trees that have applied their local patches to the
master site.  a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<stig@inse.com>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes.  They're different from the ancestor but not from each other...
Why bother?  The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

    Party on...
    Stig
1995-02-20 18:47:18 +00:00
Jordan K. Hubbard
e28d028200 Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed. 1995-02-19 09:52:52 +00:00
Jordan K. Hubbard
53d8c5c063 A much more winning default dir file. 1995-02-19 09:50:27 +00:00
Joerg Wunsch
27dd3ef3b9 Wolfram now also submitted a man page for this.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-02-15 22:52:52 +00:00
Andrey A. Chernov
108497c8b6 Remove dir creating, done by mtree
Add missing file name for cmp
1995-02-15 20:59:13 +00:00
Andrey A. Chernov
12430b365a Changes for new _menu interface 1995-02-15 19:48:10 +00:00
Andrey A. Chernov
895aadbcfb file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
1995-02-15 19:44:08 +00:00
Bill Paul
0e59c1bde3 More DESTDIR lossage. Hopefully this will solve the case of the missing NIS
scripts.
1995-02-15 04:35:55 +00:00
Bill Paul
f464a3788e Fix losing Makefile so that it properly honors DESTDIR when installing
/var/yp/Makefile and /usr/libexec/mknetid. *grumble* *mutter* *mutter*
1995-02-15 04:33:52 +00:00
Jordan K. Hubbard
8c5da82528 Import the ISDN userland utilities. Just about ready to start shaking
this baby out in earnest..
1995-02-15 00:46:26 +00:00
Rodney W. Grimes
a533e22a54 Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.
1995-02-14 21:47:04 +00:00
Rodney W. Grimes
99fd7a9b42 Add missing ${DESTDIR} so that the sample dir file ends up in the
correct place.
1995-02-14 21:15:58 +00:00
Jordan K. Hubbard
47d5df1d7d The destructor always assumed that it would be called on objects created from
ONE constructor routine.  This was bogus - there is also a system provided
constructor which does not allocate a pattern buffer.  Make less assumptions.
1995-02-14 12:35:03 +00:00
Andrey A. Chernov
21edcfa248 Pass prgbox exit code to main exit code 1995-02-13 19:49:42 +00:00
Andrey A. Chernov
7b5de861cd Much better error handling added. 1995-02-13 18:51:50 +00:00
Poul-Henning Kamp
46fe71cc98 Add -D__BSD__ and don't write "LINUX" on a CD as default. 1995-02-13 06:54:47 +00:00
Jordan K. Hubbard
bb71d76710 Try to clean up some of these nasty warnings.. This code is not just
twisted, it's seriously evil!
1995-02-12 09:53:03 +00:00
Jordan K. Hubbard
ad23c66664 Add mkisofs to list of targets. 1995-02-12 09:51:53 +00:00
Jordan K. Hubbard
8c96ef7169 Walnut Creek's local hacks to this code. Bob says he'll clean them up
RSN and send them back to Eric.
1995-02-12 08:16:50 +00:00
Jordan K. Hubbard
03d08911fe Changes to make it compile under FreeBSD. 1995-02-12 08:06:09 +00:00
Jordan K. Hubbard
6f50ceba0f Original virgin sources for version 1.2 of mkisofs, by Eric Youngdale of
Yggdrasil Computing Inc.  This is a useful concession to us CDROM mastering
weenies out here.
Obtained from: Yggdrasil Computing, Inc.
1995-02-12 08:00:42 +00:00
Bruce Evans
b185266a8a Quiet `make -s'. 1995-02-08 20:12:08 +00:00
Bill Paul
6c1bb9003f Hurm... I could have sworn I added usr.sbin to the top level GNU
Makefile. Apparently I was mistaken. *groan*
1995-02-07 19:10:39 +00:00
Jordan K. Hubbard
19c408ae08 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <markd@grizzly.com>
1995-02-07 13:33:42 +00:00
Bill Paul
df76d2a332 Do proper job of reaping child 'ypxfr' processes (we could sometimes
leave a zombie lying around until the next map transfer came alone).

Also fixed some minor typos on the man page.
1995-02-07 05:04:53 +00:00
Bill Paul
6e532401dd Removed annoying changelog entries from ypclnt.c, added usage() function
to ypxfr.c.
1995-02-06 23:35:49 +00:00
Bill Paul
5920e7589e Wrote manual page for ypxfr, modified Makefile to install it. 1995-02-06 22:15:21 +00:00
Bill Paul
714f0adda1 Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.
1995-02-05 21:48:04 +00:00
Bill Paul
c807d0240e Created manual page for ypserv and changed Makefile to install it.
Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).
1995-02-04 21:32:04 +00:00
Poul-Henning Kamp
ed81a94967 added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-02-04 20:27:23 +00:00
Bill Paul
1d709ccef1 Created yp_mkdb(8) manual page, modified Makefile to install it. 1995-02-04 04:26:20 +00:00
Bill Paul
a613523aa3 Changed some comments. 1995-02-04 00:13:21 +00:00
Bill Paul
a50aabb5d6 Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet. 1995-02-03 22:01:17 +00:00
Bruce Evans
9504046bea Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
1995-02-03 20:25:59 +00:00
Ugen J.S. Antsilevich
a351d38006 Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
Bill Paul
2700d33c07 Added ${.CURDIR}s to afterinstall target. 1995-02-03 03:44:41 +00:00
Bill Paul
4efbdedee3 Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.
1995-02-03 03:41:38 +00:00
Bill Paul
3e03108763 Removed reference in comments to -o option of yppasswdd: -o option
no longer exists.
1995-02-03 01:11:57 +00:00
Bruce Evans
dc3c30d9be Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00
Bill Paul
cf7979fba5 Cleaned up and updated the yppasswdd man page to reflect FreeBSD-specific
changes and new options. (more new man pages and an NIS tutorial to follow)
1995-02-02 17:25:58 +00:00
Bill Paul
e0f276ea94 Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
1995-02-01 23:30:02 +00:00
Bill Paul
e26ae5b13a Cleaned up usage() -- removed bogus references to opassfile, which isn't
used anymore (/var/yp/Makefile creates a new /var/yp/passwd file from
/var/yp/master.passwd using awk, so yppasswdd doesn't have to make it
anymore).
1995-02-01 23:27:46 +00:00
Bill Paul
7870fc7fdb /var/yp/Makefile doesn't create passwd file from master.passwd file
correctly (specified wrong fields to awk). Note that the files in question
are noe the local /etc/master.passwd and /etc/passwd files: this Makefile
expects there to be a seperate master.passwd file under /var/yp for NIS
database creation.
1995-02-01 23:05:36 +00:00
Bill Paul
ba3fbfe69c Added the yppwupdate script. This is a small shell script that yppasswdd
executes after it finishes updating the raw master.passwd file. The script
is just there to invoke /var/yp/Makefile to build new maps and yppush them.
We could have yppasswdd run /var/yp/Makefile directly, but this allws a bit
more flexibility: the user may decide to run some other commands too.
1995-02-01 02:13:15 +00:00
Bill Paul
85e33f94dc Added Makefile.yp and mknetid, which are needed to rebuild NIS maps.
mknetid is a script. Both are installed by an afterinstall which as
been added to the main Makefile.
1995-02-01 02:00:03 +00:00
Bruce Evans
e322e6a55a Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
1995-01-31 18:07:36 +00:00
Bill Paul
e35cfba7f2 Added SUNDIR entry for yppush 1995-01-31 09:48:48 +00:00
Bill Paul
9f6a77c541 Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
  header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
  hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
  that us.

- Incorporated some functions from the yps-0.21 library that yppush was
  dependent on.

Like ypxfr, this works, but could use come cleaning up.
1995-01-31 09:47:11 +00:00
Bill Paul
2fd1e2091b Added subdir entry for ypxfr 1995-01-31 09:29:38 +00:00
Bill Paul
c183a93033 Obtained from: The NYS project
This is a ported/modified version of the ypxfr program from the yps-0.21
package from the NYS project. This program is normally invoked by ypserv
when it receives a yppush command from an NIS master. It can also be
run from the command line to grab copies of maps when initializing a
slave server.

This program has been hacked in the following ways:

- rpcgen'ed new yp_xdr.c, yp_svc.c and yp_clnt.c files. The old ones were
  rather grody.

- Changed certain function names (prefended a _ to them) to avoid conflicts
  with certain functions lurking within libc. One major problem here is
  that ypxfr needs to bind to a YP master in order to work correctly,
  but it can't use the _yp_bind function inside libc because that
  function only lets you bind to a domain, not a specific host. Lots
  of head scratching here.

- Converted from GDBM to DB at gunpoint.

- Removed lots of really nasty looking DEBUG code to try to reduce clutter.

- Incorporated some of the library code supplied with yps-0.21 on which
  ypxfr was dependent.

This program still needs to be cleaned up just as a matter of principle:
I get all icky just looking at it sometimes.
1995-01-31 09:28:47 +00:00
Bill Paul
985124b508 New Makefiles for YP server stuff. 1995-01-31 09:14:03 +00:00
Bill Paul
6c394ac5f9 Obtained from: The NYS project
This is a ported/modified version of yppasswd from the NYS yppasswd-0.5
package. This package has code in it from both Olaf Kirch and Theo
de Raadt. There are GPL references and BSD-style copyright all over the
place... hopefully I won't get flamed into oblivion for commiting this.

This program has been modified from the original in the following ways:

- Changed the ALLOW_CHFN and ALLOW_CHSH compile-time options into
  run-time options.

- Demolished the password update functions and replaced them with
  routines to handle FreeBSD-style passwordd databases. It is expected
  that a seperate master.passwd file will be maintained for use with
  the NIS maps. yppasswd will have to be told where it is:

  % yppasswdd -m /var/yp/master.passwd

  A /var/yp/passwd file will be generated from /var/yp/master.passwd by
  /var/yp/Makefile. When yppasswdd has finished modifying the master.passwd
  file, it will invoke /usr/libexec/yppwupdate, which is a script that
  will run /var/yp/Makefile to generate new maps and push them.

Note that there are copies if pw_util.c and pw_copy.c here. This is
deliberate: they are *not* identical to the originals. Very similar, yes,
but not identical. *sigh*
1995-01-31 09:12:52 +00:00
Bill Paul
b4a640674a Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
  function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
  aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
  the server will refuse to serve the master.passwd.{byname|byuid} maps
  if the request doesn't come from a privileged port. Normally, only the
  superuser can issue such a request. Requests for the passwd.{bynam|byuid}
  maps aren't affected. There will be a small change made to getpwent.c
  in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
  relying on gethostbyname() and friends. The author noted in the original
  documentation that a loop condition could arise where the server would
  query itself for hostsname lookups. Using direct DNS lookups prevents
  this from happening.

- added code to properly fork() the server into the background unless
  invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
  changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.
1995-01-31 08:58:57 +00:00
Bill Paul
0faad4f4e7 Obtained from: The NYS project
This program is used for both generating and dumping NIS maps. It's very
similar to the 'makedbm' command in SunOS. This program was ported from
the yps-0.21 package. It's close to the original except for the GDBM to
DB conversions. This was simple compared to the other YP components.
1995-01-31 08:43:07 +00:00
Jordan K. Hubbard
053e19c19e Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
Andrey A. Chernov
255ec70534 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
Andreas Schulz
5992978871 Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
Bruce Evans
ceac74879e Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share.  It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work.  Stuff is built at install time...
1995-01-26 06:00:40 +00:00
Jordan K. Hubbard
8f5738c194 Finally add a freakin' man page for tar!
Submitted by:	John F. Woods <jfw@jfwhome.funhouse.com>
Obtained from: NetBSD
1995-01-26 00:14:11 +00:00
Bruce Evans
03a6bd1d69 Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
Bruce Evans
4c4b1af8c2 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
Bruce Evans
49da4dfc8d Makefile.dev:
Don't initialize CLEANFILES here.  Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:19:03 +00:00
Bruce Evans
fe0ac9ddfd Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},
which is not supposed to work for shell files, but somehow did with
the old `make'.
1995-01-24 17:58:47 +00:00
Jordan K. Hubbard
227756fca2 NOOBJS -> NOOBJ - it's more consistent. 1995-01-24 17:49:41 +00:00
Jordan K. Hubbard
398eaa8341 No object here. 1995-01-24 17:47:49 +00:00
Jordan K. Hubbard
03b41c8f3c Deal with this not having an object file. 1995-01-24 17:32:09 +00:00
Bruce Evans
725ae77af0 Fix path to makeinfo. 1995-01-24 04:13:34 +00:00
Jordan K. Hubbard
7884c1e534 Fix bogus dummy rule (sigh). 1995-01-23 23:43:35 +00:00
Jordan K. Hubbard
588a45c651 Fix bogus install rule. 1995-01-23 21:30:18 +00:00
Jordan K. Hubbard
aae156b27c Fix the bogus depend rule - boy, NetBSD's make catches a lot of
bogus Makefiles!
1995-01-23 21:19:45 +00:00
Andrey A. Chernov
bae50898b7 Infopages cleanup 1995-01-22 22:45:07 +00:00
Andrey A. Chernov
95f51c5b57 Add doc subdir 1995-01-22 21:56:38 +00:00
Andrey A. Chernov
ae46450f21 Add missing infopages 1995-01-22 21:54:49 +00:00
Bruce Evans
3c447b4f44 Don't build kgdb. It should go away soon. 1995-01-19 17:03:28 +00:00
Bruce Evans
b34bc5463d Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
Andrey A. Chernov
a5bf27a269 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
Andrey A. Chernov
586cc4e455 Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
Andrey A. Chernov
8af44ad204 Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff
1995-01-17 21:12:05 +00:00
Andrey A. Chernov
8cd8abf162 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
Andrey A. Chernov
a61b49098a Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
Andrey A. Chernov
32bb7861f2 koi8-r added 1995-01-17 20:17:31 +00:00
Andrey A. Chernov
1f1d79eb97 Back out prev change, don't load tty-char directly, it is already done
into nroff shell script
1995-01-17 20:11:04 +00:00
Andrey A. Chernov
3e6c1c6d90 Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
Andrey A. Chernov
a99d423620 Build ngroff instead of groff now 1995-01-17 19:28:56 +00:00
Andrey A. Chernov
309c205212 afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
Andrey A. Chernov
a5cf5392ff Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
Andrey A. Chernov
083ad6c648 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
Andrey A. Chernov
055e903386 Add missing file 1995-01-17 17:51:52 +00:00
Andrey A. Chernov
bc70277b5b Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
Jordan K. Hubbard
5238dbaecc Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by:	gj
1995-01-17 13:52:39 +00:00
Andrey A. Chernov
0293a7a389 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
Andrey A. Chernov
c1328812d5 Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
Andrey A. Chernov
e9844b337b Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)
1995-01-17 00:58:05 +00:00
Andrey A. Chernov
aab45466ff Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
1995-01-17 00:42:27 +00:00
Andrey A. Chernov
f94052d6fc Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
Andrey A. Chernov
9acd98f380 Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
Andrey A. Chernov
5b90fb0af3 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
Andrey A. Chernov
7ac7111d42 Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
Andrey A. Chernov
a7e36b1757 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
Andrey A. Chernov
7650ac4508 Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
Andrey A. Chernov
2875b41727 Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash
1995-01-16 23:02:07 +00:00
Andrey A. Chernov
23a4e9ded7 Add doc to SUBDIR 1995-01-16 17:56:20 +00:00
Andrey A. Chernov
98f978a585 Remove */doc 1995-01-16 17:53:43 +00:00
Andrey A. Chernov
9953d9b05d Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
Andrey A. Chernov
8ab90258e8 Add doc to SUBDIR list 1995-01-16 17:40:57 +00:00
Andrey A. Chernov
1d8834adda Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
Andrey A. Chernov
603ef010b6 Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages
1995-01-16 17:18:03 +00:00
Paul Traina
4f6d30a46a One last one... 1995-01-15 09:12:29 +00:00
Paul Traina
b5e6cd375f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
Paul Traina
d94fc6a011 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
Paul Traina
26444f9367 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
Paul Traina
f84f13d3d0 groff-1.09 1995-01-15 08:10:00 +00:00
Garrett Wollman
c81d9b5121 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
Jordan K. Hubbard
d15b7357a8 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
Andrey A. Chernov
21984e24b4 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
Jeffrey Hsu
add65270a0 Fix bug that created new files even when running in -C check mode.
Reviewed by: phk
1995-01-12 22:09:40 +00:00
Joerg Wunsch
d5453ba5c4 Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed.  Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
Jordan K. Hubbard
9d68e93aaf Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
Andrey A. Chernov
4d7b8c9269 dc/doc added 1995-01-12 02:56:15 +00:00
Andrey A. Chernov
bfb9b93ee9 Infopage installation 1995-01-12 02:54:14 +00:00
Andrey A. Chernov
cd54e1437f as/doc added 1995-01-12 02:50:50 +00:00
Andrey A. Chernov
81d5811672 Infopage installation 1995-01-12 02:48:42 +00:00
Andrey A. Chernov
eb0dc9c294 ptx/doc added 1995-01-12 01:35:31 +00:00
Andrey A. Chernov
72faa78f5b Use -lgnuregex properly
Install infopages
1995-01-12 01:30:34 +00:00
Andrey A. Chernov
fe80b9dc28 doc added 1995-01-11 16:40:08 +00:00
Andrey A. Chernov
ad04b53da0 Add annotate target 1995-01-11 16:38:10 +00:00
Andrey A. Chernov
eb9747a649 Install infopages 1995-01-11 16:29:45 +00:00
Joerg Wunsch
056dfea8f8 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
Andrey A. Chernov
514c347b58 awk/doc added 1995-01-11 06:56:12 +00:00
Andrey A. Chernov
09122d010b Infopage install 1995-01-11 06:53:40 +00:00
Andrey A. Chernov
4efe110a6d Use -lgnuregex 1995-01-11 06:42:25 +00:00
Andrey A. Chernov
e82aeeb5ef Use -lgnuregex
Tune for 8bit ctype
1995-01-11 06:14:14 +00:00
Andrey A. Chernov
712624913e Upgrade to code which should satisfy all things which we have 1995-01-11 06:12:04 +00:00
Andrey A. Chernov
49b95be03e Use -lgnuregex 1995-01-11 05:45:48 +00:00
Andrey A. Chernov
dc92878b84 Upgrade regex code to most recent that I found
Version number still not changed
1995-01-11 05:39:08 +00:00
Andrey A. Chernov
e88843d3cf Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
Andrey A. Chernov
35a3303073 Changes for 8-bit ctype 1995-01-11 04:56:51 +00:00
Andrey A. Chernov
ea822ebc88 libregex/doc added 1995-01-11 04:34:23 +00:00
Andrey A. Chernov
68206ccc06 Add infopage installation 1995-01-11 04:32:41 +00:00
Andrey A. Chernov
2e0ad30144 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
Andrey A. Chernov
b7091db2a5 send-pr/doc added 1995-01-10 20:04:35 +00:00
Andrey A. Chernov
0a172cf4d9 Add info installation 1995-01-10 20:02:15 +00:00
Joerg Wunsch
43c1db28c7 From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-10 18:12:50 +00:00
Joerg Wunsch
2563fac568 I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but  we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by:	roberto@blaise.ibp.fr (Ollivier Robert)
1995-01-09 17:52:25 +00:00
Paul Richards
10824ac8f3 Added a ports category to the list. 1995-01-08 21:38:12 +00:00
Andrey A. Chernov
82c1981ce5 Back out prev fix, now fixed in bsd.info.mk 1995-01-07 16:42:39 +00:00
Andrey A. Chernov
ca6887fcae Fix "make" vs "make all" 1995-01-07 01:08:54 +00:00
Andrey A. Chernov
8458a20f14 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
Bruce Evans
e15532385d Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
Steven Wallace
e86257e166 Change to
#define STANDARD_SEARCH_DIRS    "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
1995-01-05 02:36:29 +00:00
Andrey A. Chernov
00e87e70d1 Add readline/doc to SUBDIR 1995-01-04 22:38:51 +00:00
Andrey A. Chernov
9c596ee78f Fix format error 1995-01-04 22:21:06 +00:00
Andrey A. Chernov
687af2f4b8 Add dependances 1995-01-04 22:19:34 +00:00
Andrey A. Chernov
6f2b954ba5 Install infopages 1995-01-04 22:16:14 +00:00
Rodney W. Grimes
8546c86b55 Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
Bruce Evans
0a51c0612a Use new bsd.info.mk to avoid local rules and fix bugs in all' and depend'
targets.
1995-01-02 12:28:56 +00:00
Andrey A. Chernov
8abfb51a90 Add doc to subdirs 1995-01-01 21:58:01 +00:00
Andrey A. Chernov
c987ec8ecd Install info pages now 1995-01-01 21:55:23 +00:00
Rodney W. Grimes
1f2cdfec28 Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
Bruce Evans
47bcf800c3 Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.
1995-01-01 17:21:09 +00:00
Bruce Evans
2e8e965294 Fix previous commit. 1995-01-01 17:14:45 +00:00
Gary Clark II
b6490eb503 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
Bruce Evans
19bc776351 Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc.  The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen.  The kernel
has supported this since 1.1 or before.  The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().
1994-12-31 17:00:09 +00:00
Bruce Evans
ccd05d4df4 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
Bruce Evans
9d1e3dc7d8 Restore our local changes which were clobbered by the previous commit.
cvs is not being used effectively for gdb.  Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb.  The
revision logs get spammed for each release of gdb.
1994-12-31 16:34:59 +00:00
Bruce Evans
fcb54b3ee0 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
Bruce Evans
bdeaa9bbc3 Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
Jordan K. Hubbard
3c8ea7601e Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
Jordan K. Hubbard
01db5e69c1 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00
Andrey A. Chernov
7ccdf7da4c Upgrade from new bash 1994-12-30 14:39:39 +00:00
Andreas Schulz
d5a22d48c4 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
Nate Williams
7edb8c9b99 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
Nate Williams
de761939cf Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
Nate Williams
61f9ce8d32 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
Andrey A. Chernov
f6f38b4bc9 Upgrade to readline from bash 1.14.3 1994-12-12 03:23:04 +00:00
Andreas Schulz
a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Andreas Schulz
3b92fb1ec6 Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0. 1994-12-11 21:39:31 +00:00
Andreas Schulz
dc59b9fd8d Changed one occurence of rmail(1) to rmail(8). 1994-12-11 21:35:17 +00:00
Sean Eric Fagan
940ff2c0a9 Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
Andrey A. Chernov
c7d2093e06 Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation
1994-12-09 02:26:23 +00:00
Andrey A. Chernov
de0c026bbb Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
Andrey A. Chernov
9b39c00d7d Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
Andrey A. Chernov
97f0be939c More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
Andrey A. Chernov
3f3f840110 Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
Andrey A. Chernov
62c83be30c 8bit locale ajustment fix 1994-12-06 04:23:42 +00:00
Andrey A. Chernov
1d4039c723 Upgrade to version 2.0 1994-12-06 03:16:45 +00:00
Andreas Schulz
d025cfd6c5 Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
Andrey A. Chernov
9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andreas Schulz
a7f24f529c Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
Andreas Schulz
eafe5e1c1c Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
Andrey A. Chernov
3cab153245 Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
Andrey A. Chernov
97b8db5f63 For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script
1994-11-23 21:11:20 +00:00
Andrey A. Chernov
284cd8b7b9 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
Jordan K. Hubbard
5c52037561 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
Andrey A. Chernov
ef849892d9 Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
Andrey A. Chernov
2c154e8124 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
Andrey A. Chernov
5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Andrey A. Chernov
3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov
852ffa1977 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
Jordan K. Hubbard
d76158cc6e From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by:	jmb
1994-11-18 02:24:06 +00:00
Andrey A. Chernov
df5add3f69 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
Andrey A. Chernov
a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Andrey A. Chernov
f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov
45cb79a377 Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
Andrey A. Chernov
934a5f3e30 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
Andrey A. Chernov
1a796bb52a Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
Andrey A. Chernov
5c19f0147a Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>
1994-11-17 21:44:49 +00:00
Andrey A. Chernov
04339572bc Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
Andrey A. Chernov
4857d86d34 Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
Andrey A. Chernov
dc092b5e4c Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
Andrey A. Chernov
5f5d7caab1 Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
L Jonas Olsson
0066ef2281 Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.
1994-11-16 14:02:42 +00:00