Commit Graph

680 Commits

Author SHA1 Message Date
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
Andrey A. Chernov
81301998fc Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
Andrey A. Chernov
a17f442eba Add comment about SYSV-ism 1994-11-15 13:32:35 +00:00
Andrey A. Chernov
fb05aa973e Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
Poul-Henning Kamp
8ab1d79d16 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
Bruce Evans
069fcad2d9 Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
Bruce Evans
a3a5ddcb52 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
Jordan K. Hubbard
c9902b6aaa Fix merge conflicts. 1994-11-13 06:11:02 +00:00
Jordan K. Hubbard
be25b01844 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
Jordan K. Hubbard
b3f6f5fbb3 Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
Andrey A. Chernov
af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Poul-Henning Kamp
ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
Andrey A. Chernov
f3bd8e8cb8 Add include 1994-11-08 00:50:00 +00:00
Andrey A. Chernov
b817889f67 Add missing values.h (it isn't part of libg++ anymore) but it
accords ANSI standard, provides backward 1.x compatibility and
used in many applications.
1994-11-08 00:47:04 +00:00
David Greenman
3237032fdc Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
Poul-Henning Kamp
b80d982b84 As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
Bruce Evans
374047c149 Restore my fixes to 2.6.0. The changes should not affect anything except
profiling and wchar_t.  Profiled libraries will shrink.

tm.h:
Our wchar_t is int, not unsigned short.
Always link statically if profiling.
Define all the SPECs together.

final.c, tm.h:
Don't emit unused profiling code and data.

aux-output.c:
Always preserve the PIC register if profiling.

aux-output.c, tm.h:
Implement FUNCTION_PROFILER_EPILOGUE (currently not used).

New:
tm.h:
Set the target defaults in the correct way.
1994-11-06 21:32:11 +00:00
David Greenman
1e8ee278b6 From Johannes Stille:
When we get an EN8 response while we're already sending the file using
the i protocol, this can happen:

In send.c, flocal_send_await_reply() is called. This function calls
flocal_send_fail() to process the aborted transfer. After this, we run
into the branch that calls ffileseekend() to force the end of the
actual transfer.

Now flocal_send_fail() frees qtrans, but qtrans is still used later!

I propose to fix this by moving the usfree_send(qtrans) out of
flocal_send_fail(), as in the patch I append to this mail.

...

I have found a race condition in the uucp 1.05 code. The typical result
is that the connections mysteriously fails with "conversation failed",
even while all files were transmitted. This is the problem:

At least for the i protocol, the code to send a packet can receive and
process packets after sending.
In several places in the code, we send a command and then prepare to
receive an answer.
Now the answer might already arrive during the call that sends the
command while we aren't ready to process it.

The general solution is IMHO first to do all preparations and only as a
last step to send out the command.

Reviewed by:	John Dyson
Submitted by:	Johannes Stille
1994-11-06 10:17:13 +00:00
Poul-Henning Kamp
bf859da2b2 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
Jordan K. Hubbard
fb59d6ab65 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
Gary Clark II
e4aaba56f5 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
Poul-Henning Kamp
84e25b852b Bump the version-number of the "shared-gcc-internals" library. Will only
affect you if you decided to use that feature.
1994-11-03 20:37:05 +00:00
Gary Clark II
15aafd644b Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
Gary Clark II
05fd6621b0 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
Gary Clark II
31da8cb88e Install libs into /usr/lib/perl. The discussion we had did not come to
a point so...  If any thing besides here I would vote for /usr/include.
1994-11-03 20:02:15 +00:00
Jordan K. Hubbard
03076d6bbf Remove obsolete __386BSD__ predefine. 1994-11-03 14:29:57 +00:00
Poul-Henning Kamp
fe7dee4700 ----------------------------------
GCC-2.6.1 COMES TO FREEBSD-current
----------------------------------
Everybody needs to 'make world'.

Oakland, Nov 2nd 1994.  In a surprise move this sunny afternoon, the release-
engineer for the slightly delayed FreeBSD-2.0, Poul-Henning Kamp (28),
decided to pull in the new version 2.6.1 of the GNU C-compiler.
The new version of the compiler was release today at noon, and hardly 9
hours later it was committed into the FreeBSD-current source-repository.
"It's is simply because we have had too much trouble with the version 2.6.0
of the compiler" Poul-Henning told the FreeBSD-Gazette, "we took a gamble
when we decided to use that as our compiler for the 2.0 release, but it
seems to pay of in the end now" he concludes.
The move has not been discussed on the "core" list at all, and will come as
a surprise for most Poul-Hennings peers.  "I have only discussed it with
Jordan [J. K. Hubbard, the FreeBSD's resident humourist], and we agreed that
we needed to do it, so ... I did it!".  After a breath he added with a grin:
"My email will probably get an all time 'disk-full' now!".
This will bring quite a flag-day to the FreeBSD developers, the patch-file
is almost 1.4 Megabyte, and they will have to run "make world" to get
entirely -current again.  "Too bad, but we just had to do this."  Was
the only comment from Poul-Henning to these problems.
When asked how this move would impact the 2.0 release-date, Poul-Hennings
face grew dark, he mumbled some very Danish words while he moved his fingers
in strange geometrical patterns.  Immediately something ecclipsed the Sun, a
minor tremor shook the buildings, and the temperature fell significantly.
We decided not to pursure the question.

-----------
JOB-SECTION
-----------
Are you a dedicated GCC-hacker ?
We BADLY need somebody to look at the 'freebsd' OS in gcc, sanitize it and
carry the patches back to the GNU people.  In particular, we need to get
out of the "i386-only" spot we are in now.  I have the stuff to take a
gnu-dist into bmake-form, and will do that part.

Please apply to phk@freebsd.org

No Novice Need Apply.
1994-11-03 06:52:42 +00:00
Paul Traina
e8aae93744 Put a real man page in for cpp(1)... it needs to be converted to the mandoc
macros,  but it's good enough for now.
Obtained from: gcc 2.6.0 gnu distribution
1994-11-02 08:18:25 +00:00
Andrey A. Chernov
734d3eaf71 Enhance inputbox to pass initial prompt (optional) 1994-11-02 01:41:52 +00:00
Andrey A. Chernov
76ab56f350 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
Jordan K. Hubbard
2af60dc4f7 Translate README to english. :-) 1994-11-02 00:39:42 +00:00
Jordan K. Hubbard
ad26d58d52 Link g++ -> c++, like I did with gcc -> cc. This is evil, but it's
now at least orthogonal evil.
1994-11-01 21:28:00 +00:00
Jordan K. Hubbard
4d9190ae3a Add LINKS to get gcc back. 1994-11-01 20:51:29 +00:00
Andrey A. Chernov
f60854c594 Fix beforeinstall compare
Submitted by: jc@cleat.irbs.com
1994-11-01 17:32:46 +00:00
Paul Traina
8cbbf1b79e Don't reinstall includes when not necessary 1994-11-01 09:13:02 +00:00
Andrey A. Chernov
9570a6deea Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
Paul Traina
1dd5e27809 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00
Jordan K. Hubbard
faa28a39e9 Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.
1994-10-28 05:36:38 +00:00
Andrey A. Chernov
646556067f Add refresh after each line of program output,
some pgms may have long waiting time between output lines.
1994-10-28 04:05:32 +00:00
Andrey A. Chernov
b140921eef prgbox example added 1994-10-28 03:22:29 +00:00
Andrey A. Chernov
78e71dffd1 Add --prgbox option to test new prgbox() function 1994-10-28 03:12:46 +00:00
Andrey A. Chernov
3f20de5a5f Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Garrett Wollman
7d22abd50c Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library).  The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.
1994-10-27 23:16:54 +00:00
Jordan K. Hubbard
71e0221b87 Repair the damage done by whomever blew the last commit. Now it
compiles again.
1994-10-26 15:23:04 +00:00
Andrey A. Chernov
9e4cb8b6dc Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
Bruce Evans
de708661a9 Add perl. 1994-10-25 16:59:57 +00:00
Paul Richards
0adfb6eb99 Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
L Jonas Olsson
0abc0dba57 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
L Jonas Olsson
1f967df0a4 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
David Greenman
b2075ecc44 Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
1994-10-25 07:02:23 +00:00
Andrey A. Chernov
2e1e6f4685 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
Garrett Wollman
5e21ecefa9 Completed last fix: don't use backquotes in here-documents; it confuses
ash.  (The backquotes were only used to implement a slower version of
${foo-$bar} anyway.)
1994-10-22 23:47:21 +00:00
Garrett Wollman
2c0f145076 Fill in SUBMITTER= line correctly. 1994-10-22 23:34:57 +00:00
Garrett Wollman
469247c74c I really, really don't want to know why adding a blank line between
__EOF__ and a done command lets fixes this script for ash...
1994-10-22 23:32:01 +00:00
Nate Williams
29656de043 Adding cvsinit back to the subdirs since it shouldn't have been removed
in the first place.
1994-10-22 19:36:22 +00:00
Paul Traina
1666a8c2af remove cvsinit from subdir list 1994-10-22 16:59:52 +00:00
Nate Williams
2f822e9be7 Added cvsinit shell script as a runnable command.
Submitted by:	 CVS mailing list.
1994-10-22 04:51:40 +00:00
Andrey A. Chernov
8961fb9fd4 Allow '#' in address in rmail arguments
Obtained from: taylor-uucp list
1994-10-22 03:51:36 +00:00
Andrey A. Chernov
d60b2c616a Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
Andrey A. Chernov
2a9cdd71dd Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
Andrey A. Chernov
8a585590ef Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
Andrey A. Chernov
51c3256355 Don't exit silently, if initscr failed; put error message 1994-10-19 04:45:41 +00:00
Andrey A. Chernov
e314eb04c7 Check initscr() for NULL 1994-10-19 04:10:48 +00:00
Garrett Wollman
7b82c373ed Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.
1994-10-15 21:39:54 +00:00
Andrey A. Chernov
0f61271c87 Add LDADD += -lcurses 1994-10-12 02:13:39 +00:00
Andrey A. Chernov
e46d877d8d Add LDADD+= -ltermcap 1994-10-12 02:06:02 +00:00
Andrey A. Chernov
ad37120909 SHARED_LDADD --> LDADD 1994-10-12 01:54:38 +00:00
Andrey A. Chernov
52f2c9a10a Output error diagnostics, if occurse.
Add radiolist test.
1994-10-11 23:52:16 +00:00
Andrey A. Chernov
52bc859d7c Use libdialog now. 1994-10-11 23:51:09 +00:00
Andrey A. Chernov
02d988ba01 libdialog added 1994-10-11 23:34:13 +00:00
Andrey A. Chernov
3728ed9c8f Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00
Andrey A. Chernov
296c81b4e8 Implement HOME/END keys for line edit 1994-10-10 22:32:07 +00:00
Andrey A. Chernov
7f6f3361ff Implement insert-mode line editing 1994-10-10 19:49:22 +00:00
Andrey A. Chernov
a73699e164 Back out part of ctype fixes, unneded with new ctype 1994-10-09 15:22:35 +00:00
Paul Traina
20e8cfc673 Cosmetic cleanup 1994-10-09 00:46:16 +00:00
Andrey A. Chernov
d341e762bb Dialog added 1994-10-08 15:19:12 +00:00
Andrey A. Chernov
c8389f985d Moved from ports, arrow keys allowed to edit input,
back tab key understanded now
1994-10-08 15:16:41 +00:00
Andrey A. Chernov
109de6c0ab Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse
1994-10-07 13:13:32 +00:00
Andrey A. Chernov
1546c307a6 Make ~%take work: ignore \r
Obtained from: taylor-list
1994-10-02 23:10:39 +00:00
Andrey A. Chernov
09b7b3dcca Make -a option optional, uux fails in other case with new sendmail-style
<> address in return-receipts
Obtained from: taylor-list
1994-10-02 23:09:41 +00:00
Paul Richards
c4447d4ef1 Removed NOOBJ so obj directory gets built if wanted. 1994-10-02 14:43:12 +00:00
Andrey A. Chernov
02ea062a10 #define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu
1994-10-02 11:12:40 +00:00
Bruce Evans
2fdcac7375 Don't build profiled libraries. (NOPROFILE= yes. I don't like the negative
logic or lack of checking of truth values.  There are too many ways to spell
"yes".  Some Makefiles spell it as "no".)
1994-09-28 03:59:29 +00:00
Adam David
834a987d6c previous fix was not complete 1994-09-25 08:03:24 +00:00
Adam David
d111a6bea7 Dumped core when prompt == NULL 1994-09-25 04:57:44 +00:00
David Greenman
32bff95b55 Fixed a couple of compiler warnings related to wrong prototypes. 1994-09-23 08:28:43 +00:00
Bruce Evans
00f21b4680 Don't build profiled library. 1994-09-20 22:03:09 +00:00
Bruce Evans
f44ca047d4 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
Garrett Wollman
0385520e72 For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.
1994-09-19 21:37:50 +00:00
Garrett Wollman
b4aca961be Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x  1 bin   bin   155648 Sep 18 18:00 cc1*
-r-xr-xr-x  1 root  bin  1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r--  1 bin  bin  1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x  1 bin  bin  491520 Sep 18 18:27 /usr/libexec/cc1plus*
1994-09-18 22:35:55 +00:00
Rodney W. Grimes
a861b63c28 Add q modifier (for long longs) support to -Wformat.
Reviewed by:	bde
1994-09-18 21:25:02 +00:00
Steven Wallace
504e8b978b Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
Bruce Evans
dd8e0158cf Unmap hints file when finished with it, so that it can go away
completely when ldconfig unlinks it.  If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
1994-09-15 20:48:55 +00:00
Bruce Evans
87ad8e3b91 Install libregex.h with the correct owner, group and mode. 1994-09-15 19:52:50 +00:00
Jordan K. Hubbard
804cf603f2 Add NOMAN, fix Id. 1994-09-15 13:12:23 +00:00
Jordan K. Hubbard
8b1439553b Add NOMAN, fix Id line. 1994-09-15 13:11:36 +00:00
Jordan K. Hubbard
26ee2894d4 Set NOMAN properly, correct Id line. 1994-09-15 13:10:41 +00:00
Jordan K. Hubbard
69a282d8fb Change install -c to install ${COPY} as per Rod's comments. At least
we've got one Makefile that uses this in the tree now! :-)
1994-09-15 12:42:45 +00:00
Jordan K. Hubbard
b25b5fa574 Fix typo, add -c to install so that files aren't moved out on first
install! :-)
1994-09-15 12:10:03 +00:00
Jordan K. Hubbard
4db3aa263c Cleaned up comments, added Id lines. 1994-09-15 12:09:36 +00:00
Jordan K. Hubbard
0e55043ece Add texinfo to the list of SUBDIR targets. 1994-09-15 11:11:32 +00:00
Steven Wallace
3f7f52979b Added ${DESTDIR} in the line
CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd
1994-09-15 05:17:59 +00:00
Gary Clark II
a78a18e9b9 Import of GNU Info 3.0 in bmake format 1994-09-13 13:51:34 +00:00
Rodney W. Grimes
2276db83cf Include of bsd.prog.mk should almost always be the last line of the file.
Fix missing ${DESTDIR} in 2 places (rgrimes)
Submitted by:	bde
1994-09-12 05:10:07 +00:00
Rodney W. Grimes
88782905c0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
Gary Clark II
083b473477 Deleted checks for libcrypt as not nessecery for 2.0. 1994-09-11 19:55:57 +00:00
Gary Clark II
25ea820e44 Added CURDIR directives for some installs.
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:53:02 +00:00
Gary Clark II
dbd17e6ab8 Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:52:29 +00:00
Gary Clark II
5ada09a7ad Changed AF_LOCAL to AF_LOCAL_XX so as not to conflict with 4.4 socket.h
Added casts to shutup warnings in doio.c
1994-09-11 03:17:33 +00:00
Paul Traina
5c6fac27eb libg++ include files being installed in /usr/include instead of
/usr/include/g++

Submitted by:	pst
1994-09-10 07:15:59 +00:00
Gary Clark II
82c0a999f5 Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
Garrett Wollman
74492d4f90 Bogus little commit to see if my change to log_accum.pl actually worked.
CVS:
1994-09-09 22:22:36 +00:00
Paul Richards
5f8b2ae494 Added some missing ${.CURDIR} and removed some that shouldn't have
been there. It should build and install fine with and without an
obj dir now.
1994-09-09 19:50:44 +00:00
Paul Richards
4516078c93 Enabled send-pr 1994-09-09 19:48:23 +00:00
Rodney W. Grimes
99551f06bc ljo:
You need to fix the libio/_G_config.h file around lines 42-44. After
  that everything should be OK. You should have seen many warning error
  messages about this file. There are missing "short" "char" keywords
  the file.

Michael:
  Apply the following patch

rgrimes:
  The patch to include/_G_config.h is highly questionable and has been
  marked as such.

Reviewed by:    rgrimes
Submitted by:   L Jonas Olsson <ljo@ljo-slip.DIALIN.CWRU.Edu>
Submitted by:   Michael Reifenberger <root@rz-wb.fh-sw.de>
1994-09-09 15:12:31 +00:00
Rodney W. Grimes
b54a9a158c Reenable libg++ 1994-09-09 15:10:37 +00:00
Bruce Evans
4c06fcce4e Disable one of my extensions (function profiler epilogues) that
we're not ready for yet.  gcc and all profiled libraries will need
to be recompiled.  I suspect that the dependencies aren't complete
enough to do this automatically.
1994-09-02 20:39:41 +00:00
David Greenman
6439f9e911 Use gnumalloc to help reduce memory consumption. 1994-08-29 17:38:28 +00:00
Paul Richards
d007e3fbbb Added misc category
Submitted by:	Paul Richards
1994-08-29 07:35:02 +00:00
Paul Richards
20c894b6fb Fix some bad spacing in send-pr.sh that stopped mail working,
changed the category selection.
Submitted by:	Paul Richards
1994-08-29 06:15:30 +00:00
Paul Richards
e348d9c3a8 Set up the problem categories.
Reviewed by:
Submitted by:
1994-08-29 04:13:24 +00:00
Paul Richards
096e440005 Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
1994-08-29 04:02:54 +00:00
Bruce Evans
2577a8acef Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
Bruce Evans
85b64443ae Use standard clean, cleandir and obj targets.
Don't use $@.

Uniformize the man Makefiles for shell scripts.  It should't take such
large Makefiles to install one script and one man page each.
1994-08-28 18:33:48 +00:00
Bruce Evans
6ad617743b Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
Bruce Evans
0641ff3b3d Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
1994-08-28 18:18:19 +00:00
Bruce Evans
b8d38c6e17 Centralize declarations of library names. 1994-08-28 18:12:38 +00:00
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Bruce Evans
05e598dc37 We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
1994-08-28 16:04:56 +00:00
Garrett Wollman
e410457b74 Install ld.so immutable. 1994-08-26 19:11:14 +00:00
Bruce Evans
e4d49cce30 Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
Paul Richards
7cd7695691 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
Jordan K. Hubbard
bd240d5233 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
Paul Richards
6f1537dd90 Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:
1994-08-23 17:18:58 +00:00
Paul Richards
c13a11ac11 Added -f to rm so install doesn't abort if the file doesn't exist.
Reviewed by:
Submitted by:
1994-08-20 06:28:37 +00:00
David Greenman
e4e244ac16 Don't explicitly define __FreeBSD__ - this is no longer necessary. 1994-08-19 12:24:45 +00:00
Garrett Wollman
0a9783e5a2 Define __FreeBSD__ to be 2. 1994-08-10 06:12:51 +00:00
Jordan K. Hubbard
1a7466e84a Nuke GNU pr.
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
Jordan K. Hubbard
40735e19b9 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
Jordan K. Hubbard
6464a7f87d Delete two redundant declarations of _exit() and exit().
Submitted by:	jkh
1994-08-09 15:15:04 +00:00
Jordan K. Hubbard
ec94de0d83 Remove kgdb for now until we figure out what our gdb strategy is going
to be (having two sucks, and this one doesn't even work for 2.0 now!).
Submitted by:	jkh
1994-08-09 14:48:35 +00:00
Jordan K. Hubbard
1eb04b89a8 Remove redundant (and conflicting) definition of sys_errlist.
Submitted by:	jkh
1994-08-09 12:07:44 +00:00
Jordan K. Hubbard
7129790a6c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
Jordan K. Hubbard
aeddb76205 Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size.  Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:
1994-08-08 20:24:12 +00:00
Poul-Henning Kamp
61d5ffaf10 I belive this should be makeable under 2.0. There may be outstanding
issues in these areas:
    .h's installed
    .hP's installed
    -lcurses interaction
    files needed in ~/legal for copyleft reasons.
1994-08-08 05:52:55 +00:00
Poul-Henning Kamp
250fc6c839 This gcc-2.6.0 should work with 2.0 1994-08-08 04:45:29 +00:00
Poul-Henning Kamp
1490bf4054 Added -Dbsd4_4, this should close the problem with sys_errlist. 1994-08-08 04:36:16 +00:00
Poul-Henning Kamp
e277531771 gcc260.patch:
moved to the logical name.
libg++-2.6.patch:
	FOO_MAX in limits.h isn't in hex under 2.0 (for the time being ??)
libg++-2.6.tcl:
	it works on my 1.1.5.1 system.  I cannot test it here until gcc-2.6.0
	is installed.
gnu2bmake.tcl:
	enhanced various ways.
README:
	says "don't hack the bmaked sources"
gcc-2.6.0.tcl:
	added the gen-* and md files to the bmaked sources.  Not used by
	makefiles.  Do I need to add other files Garrett ?
1994-08-08 04:30:17 +00:00
Jordan K. Hubbard
e151425678 cc -> cc26 (until Poul-Henning decides how he wants this to look).
Submitted by:	jkh
1994-08-07 21:00:46 +00:00
Jordan K. Hubbard
e59e670cbe Remove libg++ until we have a working one again.
Submitted by:	jkh
1994-08-07 20:58:04 +00:00
Garrett Wollman
82b5b51335 Regenerate conf.h with configure script from original package. 1994-08-05 22:33:44 +00:00
Garrett Wollman
00dc83228f Need -lcompat to link under 2.0. 1994-08-05 22:04:02 +00:00
Garrett Wollman
50098afdd6 Bump shared-library version numbers. 1994-08-05 21:33:53 +00:00
Garrett Wollman
fed0531ef5 Last commit was slightly half-baked; try again. Use <sys/cdefs.h> to get
__P defined, rather than trying to do it ourselves.
1994-08-05 21:31:51 +00:00
Garrett Wollman
17e8000b6f Use __GNU_P not __P. 1994-08-04 20:57:07 +00:00
Garrett Wollman
f785cf91ff Use __GNU_P ratherthan __P. 1994-08-04 20:53:14 +00:00
Poul-Henning Kamp
b75deec600 Here comes the right import of gcc-2.6.0. 1994-08-02 20:15:59 +00:00
Poul-Henning Kamp
94e6204340 This is the tcl-scripts which will convert gcc-2.6.0 to bmake form,
a patch to gcc from Bruce, and to libg++ by me.  I will check in the
actual compiler when Jordan has put in the rest of src/gnu.
1994-08-02 05:22:24 +00:00
Jordan K. Hubbard
66b58bf8b3 Add Chris Demetriou's --unlink changes.
I know that I said earlier that this should be unconditional behaviour,
but I thought about it a little more and concluded that the principle of least
surprise dictates that I make it an option.
1994-06-28 07:12:43 +00:00
Rodney W. Grimes
8ffbd12df2 Fix serious off by one error for FreeBSD keyword, this has been driving
me nuts as it was on by default and that is NOT what I wanted.
1994-06-22 00:51:42 +00:00
Jordan K. Hubbard
a37e71f354 Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.
1994-06-17 17:22:16 +00:00
Rich Murphey
699e1b82fb Changes from Paul Kranenburg which bring us into sync with his sources:
handling of errors through the standard err() and warn()
 more fixes for Geoff Rehmet's NULL pointer bug.
 fixes NULL pointer bugs when linking mono and nested X servers.
 supports a `-nostdlib' option.
 accept object files without a symbol table
 don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.
1994-06-15 22:41:19 +00:00
Jordan K. Hubbard
2ded984659 Make gzip static by default. This is needed because it's such a
frequent companion to tar.
1994-06-15 19:16:58 +00:00
Jordan K. Hubbard
60d5ec6677 Make tar static by default. Don't scream, you'll thank me for this
someday.
1994-06-15 19:16:04 +00:00
Adam David
1d13a7db2a correct location of corefile data segment 1994-06-15 08:24:25 +00:00
Geoff Rehmet
86a13e77dd Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>
Paul Kranenburg's description:
ld is in error here, assuming that symbols with N_EXT set always have an
entry in the (global) symbol table: this is not the case for C++ generated
constructor/destructor symbols. I can reproduce your failure by fudging
a "multiply defined" constructor symbol by hand. Checking for `g == NULL'
seems to be a ok as a fence for now.

So:
for now, in do_file_warnings() we check if g == NULL, before trying to generate
any warning messages.  This prevents a NULL pointer dereference.
1994-06-14 12:45:41 +00:00
Andrey A. Chernov
afd4f2eb3b Add LIBREADLINE and LIBTERM to DPADD 1994-06-14 11:00:35 +00:00
Rodney W. Grimes
e189281415 Clean up small error in the ncvs code that was causing rcs co to be
called with -K-Keoptions -Kioptions.  This should fix the problem with
$Id$ still getting changed.

I am also install both ncvs and ocvs on freefall with this change as
ocvs still had the bug with -I \! which I fixed but did not reinstall.
1994-06-14 02:57:09 +00:00
Andrey A. Chernov
b36ac09a51 Remove PAGE_SIZE redifinition (from param.h) 1994-06-13 08:03:32 +00:00
Andrey A. Chernov
cc27e4f00d Change includes in proper way, i.e.
"readline.h" --> <readline/readline.h>
Remove -I./readline from Makefile (again!)
1994-06-12 08:51:09 +00:00
Paul Richards
71dda56bca Moved -DTRAD_CORE from gdb/Makefile to bfd/Makefile 1994-06-11 16:20:42 +00:00
Paul Richards
d9a0f8b58d Modev -DTRAD_CORE for gdb/Makefile to bfd/Makefile 1994-06-11 16:20:07 +00:00
Paul Richards
8e2c96f286 Put back -I${.CURDIR}/readline in Makefile.
The sources are just broken and given that an extra -I flag is going
to be needed it may as well be as above to guarantee that the library
will build.
1994-06-11 15:18:01 +00:00
Paul Richards
7f26aa0a67 Added kgdb subdir. 1994-06-10 16:51:29 +00:00
Paul Richards
013d389608 Two files I "lost" the first time.
GDB4:
1994-06-10 15:57:46 +00:00
Paul Richards
ea8c7ac7d0 GDB-4.12 from ports with support for shlibs but not the kernel.
This is a greatly pared down version of the full gdb-4.12, all the
config stuff has been removed and the supporting libraries have
been stripped to a minimum. This is a 1.1.5 only port, I'll do a
more complete port for 2.0 which will have all the config stuff
and will install the gnu support libraries as system libraries like
we do for readline.

There wasn't much point for 1.1.5 since only gdb would use them so I
went for saving space instead. For 2.0 I'll config all the
other gnu tools to use them as well.
1994-06-10 13:42:18 +00:00
Andrey A. Chernov
c171789359 Remove -I./readline, unneded with make includes 1994-06-10 07:35:49 +00:00
Geoff Rehmet
fe88cc599b Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
1994-06-05 21:57:16 +00:00
Geoff Rehmet
67bc1dabe4 Manual pages are now installed via the bsd.man.mk macro, since the
existing arrangement in this makefile doesn't allow for compressed
manual pages.
1994-06-05 20:39:58 +00:00
Andreas Schulz
91b1841dd2 Add the -r and -s flags to the Usage string. 1994-06-05 19:04:11 +00:00
Andrew Moore
e015b4cf7d Call fpsetmask(3) so awk doesn't dump core on FP exceptions.
Upgrade to version 2.15.5
1994-05-31 18:58:00 +00:00
Andrey A. Chernov
4a62bda2ae Back out previous change and allow uucico to run by others,
this required by several programs
1994-05-31 15:55:43 +00:00
Andrey A. Chernov
9c07bcf01d Don't need to restrict cu, it can be able to check permissions by itself 1994-05-31 07:47:39 +00:00
Andrey A. Chernov
70db166b79 Allow uux and uucp to run by others,
we can got problems with various mailers in other case
1994-05-31 07:37:25 +00:00
Andrey A. Chernov
33dddc66c6 I forget to add BINGRP=$(group) 1994-05-31 05:46:42 +00:00
Andrey A. Chernov
336116b49a Disallow uucp execution to others.
It maybe not so nice, but if any user can easily shut up your
mail feed with big file isn't nice too.
1994-05-31 05:37:12 +00:00
Andrey A. Chernov
5974426b37 Allow group "dialer" to run cu
Disallow others to run cu
1994-05-31 05:23:39 +00:00
Andrey A. Chernov
241ca242fb Don't allow others to run uuconv 1994-05-31 05:13:08 +00:00
Andrey A. Chernov
a537d2cfa6 Don't allow others run uuchk 1994-05-31 05:11:12 +00:00
Andrey A. Chernov
ac0c045974 Don't allow others run uuxqt 1994-05-31 05:09:03 +00:00
Andrey A. Chernov
5789078704 Don't allow others run uucico 1994-05-31 05:08:11 +00:00
Andrey A. Chernov
3af2612b6a Change group to uucp group 1994-05-31 04:41:32 +00:00
Geoff Rehmet
7a34df0d8f Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.
1994-05-28 20:19:25 +00:00
Geoff Rehmet
cd9681ffd1 Add comments to Makefile.inc's about libg++ and shlib nos. 1994-05-28 09:56:30 +00:00
Geoff Rehmet
4c640372f4 Remove explicit specification of SHLIB major and minor nos. 1994-05-27 10:53:33 +00:00
Geoff Rehmet
29e950a20d Bump all minor nos. of libs in /usr/src/gnu/lib.
shlibs are now version 1.1
1994-05-26 08:17:25 +00:00
Rodney W. Grimes
02fab103c2 Got this fix from think.com:
The following two patches should allow the documented "-I !" option to
skip the ignore lists and import/update all files in the directory.

I need it to force certain files to import (ie, csh.a which is part of
the csh documentation).
1994-05-26 06:06:47 +00:00
Andrey A. Chernov
40a845cd5b Fix -z key, patch from Taylor 1994-05-25 20:14:52 +00:00
Andrey A. Chernov
120a306987 Documentation added 1994-05-25 19:04:00 +00:00
Rodney W. Grimes
628b2ef68c Got this from think.com, nice patch to add Index: lines to cvs diff output
so you can put it right into patch.
Patch by Brian Berliner.
1994-05-24 08:16:26 +00:00
Rodney W. Grimes
b0ca86919b Enhancements to use now -K option to rcs so that certain keywords are
NOT touched by cvs.  Only takes effect if -DFREEBSD_DEVELOPER, and installs
as ncvs when this is defined.  You must also have the changes to rcs
for this to work.
1994-05-24 08:11:37 +00:00
Andrey A. Chernov
4039f70287 Fix catman to produce zipped cats, like man does.
In other (old) case we have both kind of cats at once.
1994-05-23 22:13:36 +00:00
Andrey A. Chernov
8ada725ee1 Fix multiply slash problem 1994-05-20 00:34:30 +00:00
Jordan K. Hubbard
0c8096059c A perfectly good libgnuregex.a and you can't use it! No header was being
installed.  Do so now as gnuregex.h
1994-05-19 17:40:01 +00:00
Andrey A. Chernov
442f2b9758 We have BROKEN_SETREUID by Taylor point of view 1994-05-17 23:15:30 +00:00
Jordan K. Hubbard
c3331fde7e Stop toasting folks' /etc/manpath.config files. 1994-05-17 12:50:36 +00:00
Rich Murphey
aa8b11faa3 Add X11R6 to manpath in preprataion for XFree86 3.0. 1994-05-17 11:26:12 +00:00
Rodney W. Grimes
de2addd6e8 To truely have the OLD behavior of RCS by default make the expansion
of $FreeBSD$ false by default.  This should keep them out
of the pre 2.x repository. (Or at least make them useless in it).
1994-05-15 22:15:14 +00:00
Rodney W. Grimes
d4a0daa9e2 Add -K option to pass keywordlists to rcs so we can disable and enable
specific keyword expansion on cvs co and cvs patch commands.
1994-05-14 10:51:13 +00:00
Rodney W. Grimes
bb30c9992f No longer use FSYNC_ALL by default, we do not have the stability problems
with the system as we once did.  This should greatly increase the speed
of rcs and therefore cvs.
1994-05-14 07:02:40 +00:00
Rodney W. Grimes
9200d155f1 Add new option -K from David Dawes that allows you to turn on and off
specific keyword substitution during a rcs co command.
Add the new keyword FreeBSD that is IDENTICAL in operation to $Id$.
1994-05-14 07:00:23 +00:00
Andrey A. Chernov
075964620a Make local changes more portable. 1994-05-14 01:18:07 +00:00
Andrey A. Chernov
9e9eefe958 Upgrade to readline 2.0 from bash1.14.1 1994-05-13 15:48:04 +00:00
Rodney W. Grimes
9419fa2ffe If you want no manual pages so NOMAN=, not MAN1=NOMAN! 1994-05-12 06:09:23 +00:00
Poul-Henning Kamp
969ecba525 typo. 1994-05-12 00:42:59 +00:00
Poul-Henning Kamp
2924ea82c2 made -v produce tip-revision, which was what I wanted in the first place... 1994-05-12 00:37:59 +00:00
Poul-Henning Kamp
d22eb64459 Added -v option to rlog. This gives a quick way to get a list of versions. 1994-05-11 22:39:44 +00:00
Andrey A. Chernov
9bf8bc6311 Add PAREN_MATCHING to CFLAGS 1994-05-11 16:30:27 +00:00
Andrey A. Chernov
877fea92de Remove #ifdefs which may confuse external packages which include
this headers
1994-05-11 16:25:34 +00:00
Andrey A. Chernov
aec37cc797 Add HAVE_VARARGS_H to CFLAGS
Add VISIBLE_STATS to CFLAGS, fix complete.c for successful
compilation with VISIBLE_STATS
1994-05-11 15:49:43 +00:00
Andrey A. Chernov
b276b1cd0d Add some note, how to tune readline to 8-bit clean mode 1994-05-11 15:19:11 +00:00
Andrey A. Chernov
2fe3320436 Add VI_MODE to CFLAGS 1994-05-11 15:11:01 +00:00
Andrey A. Chernov
3d31134301 Back out forced 8-bit mode, it can be tudned from ~/.inputrc file 1994-05-11 15:09:10 +00:00
Andrey A. Chernov
28c0b6c0e5 Add note about additional changes 1994-05-10 06:48:07 +00:00
Andrey A. Chernov
ae59cc03cd Make readline 8-bit clean 1994-05-10 06:32:12 +00:00
Andrey A. Chernov
f567656ef4 Back out previous fix, correct place to fix is octave program 1994-05-10 01:21:11 +00:00
Andrey A. Chernov
11e697311b Correct rl_attempted_completion_function type to Function *
for successful compilation with octave
1994-05-10 01:16:18 +00:00
Andrey A. Chernov
9cadef18e6 Merged with new readline 2.0 from bash 1994-05-09 23:24:44 +00:00
Andrey A. Chernov
ce4acff5b6 Merge with much improved version from gdb4.11 1994-05-09 20:36:08 +00:00
Andrey A. Chernov
9b39195f89 Install history.h to /usr/include/readline too, gdb4 include it 1994-05-09 18:43:40 +00:00
Andrey A. Chernov
13adc6f931 Remove readline copy, now gdb use gnu lib tree libreadline 1994-05-09 18:13:54 +00:00
Andrey A. Chernov
e9ca3bdf0e libreadline added 1994-05-09 16:11:10 +00:00
Andrey A. Chernov
8a67c71748 Port readline lib into gnu system tree.
Really we don't need copy of this library into each program
(gdb f.e.)

P.S. it is much cleaner port than /usr/ports version and based
on /usr/ports version. /usr/ports version will be removed.
1994-05-09 15:59:10 +00:00
Andrey A. Chernov
8d29233fea Upgrade to version 1.05 1994-05-07 18:14:43 +00:00
Andrew Moore
675d65c40e Add GNU regex.h 1994-05-06 08:34:11 +00:00