Commit Graph

501 Commits

Author SHA1 Message Date
dufault
d1845fae30 added libscsi 1995-01-24 12:10:42 +00:00
dufault
b54a6d6e67 This commit was generated by cvs2svn to compensate for changes in r5847,
which included commits to RCS files with non-trunk default branches.
1995-01-24 12:10:11 +00:00
dufault
42806a94ee SCSI library layered on SCIOCOMMAND 1995-01-24 12:10:11 +00:00
jkh
95528a36a7 Eliminate a bogus tab. 1995-01-24 00:13:56 +00:00
wollman
a81c47ed12 Don't call _doprnt, which doesn't exist; use vfprintf. 1995-01-23 22:53:12 +00:00
wollman
c960a8c381 Make Jordan happy:
1) Link against object directory version of libcom_err.so.
2) Don't try to install ss_err.h if we haven't made it yet.  It's not
   on the critical path for `make world' at this point.
1995-01-23 18:56:40 +00:00
dg
131128b25f First round of changes to clean up the RCSID mess in libc:
1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS.
2) Changed sccsid[] variables to rcsid[]
3) Moved all RCSID strings into .text
4) Converted all SCCSID's to RCS $Id$'s
5) Added missing $Id$'s after copyright.
1995-01-23 01:30:24 +00:00
dg
6d68d8b9b6 Changed LIB_SCCS and SYSLIB_SCCS #defines to LIB_RCS and SYSLIB_RCS. 1995-01-23 01:22:08 +00:00
dg
f370fd01af (Very) minor improvement from NetBSD/J.T.Conklin. 1995-01-22 22:03:45 +00:00
dg
8de5b6c254 Added leaner and meaner swab() function by J.T. Conklin. 1995-01-22 21:36:15 +00:00
wollman
d00fc29ff2 Fix from Rod so that std_rqs.c can get rebuilt properly when
doing a make world.
1995-01-21 23:30:31 +00:00
wollman
d4f6fcd0ee *** empty log message *** 1995-01-21 23:01:33 +00:00
wollman
a9a644156c In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
jkh
39b2be4f05 This commit was generated by cvs2svn to compensate for changes in r5739,
which included commits to RCS files with non-trunk default branches.
1995-01-20 04:13:07 +00:00
jkh
92a97f198b Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00
jkh
8e4f208589 Add the Packet Capture Library from Michael Reifenberger.
Submitted by:	mr
1995-01-20 04:13:07 +00:00
wollman
f2e8833127 Add libss. 1995-01-19 22:32:05 +00:00
wollman
904fd8b5fd Port to FreeBSD. 1995-01-19 22:28:38 +00:00
wollman
4aacfe84eb This commit was generated by cvs2svn to compensate for changes in r5717,
which included commits to RCS files with non-trunk default branches.
1995-01-19 21:28:01 +00:00
wollman
314433f416 MIT SIPB subsystem' library, needed for kadmin' and some other MIT programs. 1995-01-19 21:28:01 +00:00
wollman
749a13b9a3 Fix unbalanced #endif introduced by yesterday's change. 1995-01-19 19:01:50 +00:00
dfr
53cd1fe88b Fix handling of 'e' format floating point so that it prints trailing zeros
correctly.
1995-01-19 12:05:53 +00:00
wollman
7a8f245010 Prevent sites from shooting themselves in the foot while enabling/disabling
YP by disallowing `+' entries as logins in all cases.  (This handles the
case of a `+' entry in the password file but YP not running, which should
never happen but is easy enough to check for so we'll apply some
prophylaxis.)
1995-01-17 23:17:38 +00:00
ache
58c224af30 Back out bkgd changes, now acts per braindamaged sysv standard 1995-01-16 17:33:33 +00:00
wollman
d7880059b4 Modify klogin to:
1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
1995-01-14 22:57:41 +00:00
wollman
0916b5648b The Common Error Description Library, developed by MIT SIPB and used by
a number of (ex-)Athena programs.  Breaking my own rules for importing
somewhat, as this code does not appear to be actively maintained by anyone
(not that it really needs it).
1995-01-14 22:23:41 +00:00
wollman
47f2033076 This commit was generated by cvs2svn to compensate for changes in r5622,
which included commits to RCS files with non-trunk default branches.
1995-01-14 22:23:41 +00:00
paul
c5c663f9cc Added emacs ^A,^E,^B & ^F keybindings to field editor.
Changed a constant to a sizeof in test.c
1995-01-11 06:08:45 +00:00
paul
f8b1744d6d Change size of example form from 80x25 to 80x24 so it works
in a standard xterm.
1995-01-11 01:29:38 +00:00
jkh
38de8ba863 As long as I can't figure out why this doesn't work, I might as well
add some error checking to it and clean this up a bit.
1995-01-10 12:36:44 +00:00
paul
4ae722ef57 Place the cursor better on buttons.
Stop field display attributes getting clobbered.
1995-01-10 04:10:55 +00:00
paul
d61a06def0 New forms library. This provides some basic functions for writing
input forms. It has the following simple fields:

Text fields: Just titles, labels etc.

Input fields: An editable text field that may or may not have an
initial default value.

Labelled input field: This is an input field that has an initial
informative entry in it but it vanishes when you start editing the
field.

Toggle fields: These are fields with a pre-defined list of options
which you cycle through using the space bar.

Action fields: These are button type fields that call functions when
they are selected.

A simple demo is included in examples.
1995-01-10 04:00:37 +00:00
ats
9910561de5 Add the sys/types.h include to the necessary documented includes for the
getrusage call.
1994-12-31 18:50:57 +00:00
ache
955bc0aaab Fix compiler warnings about tputs argument 1994-12-28 14:30:19 +00:00
bde
6b4e986e75 fixunsdfsi.S:
Embalm.  Rewrite to do things much the same as gcc-2: use fistpq for speed
and elegance, and mishandle overflow consistently.  __fixunsdfsi() is no
longer called by gcc.
1994-12-27 13:37:38 +00:00
bde
ae18e55c2b sigsetjmp.S:
Remove unnecessary .text statement.
1994-12-27 13:34:04 +00:00
bde
8f0f6bfcbc Remove unnecessary .align statement. 1994-12-27 13:33:03 +00:00
bde
5880029ee9 Fix a spelling error and add a comment about possible improvements. 1994-12-27 13:12:34 +00:00
bde
dddacb9ae5 Fix the bug reported by Torbjorn Granlund <tege@cygnus.com>:
The documentation for mrand48 and lrand48 is mixed up.
mrand48 returns a full 32 bit number, while lrand48 only returns
31 bits.
1994-12-25 15:33:39 +00:00
guido
f43dc9ccd9 Add missing getdomainname manual page.
Reviewed by:
Submitted by:
Obtained from: 1.1.5.1 with a few modifictaions.
1994-12-18 14:06:39 +00:00
bde
36a4a41a09 Obtained from: 1.1.5
getcwd() has two off-by-one bugs in FreeBSD-2.0:

1. getcwd(buf, size) fails when the size is just large enough.
2. getcwd(buf + 1, 1) incorrectly succeeds when the current directory
   is "/".  buf[0] and buf[2] are clobbered.

(I modified Bruce's original patch to return the proper error code
[ERANGE] in the case of #2, but otherwise... -DG)

This program demonstrates the bug:

---
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>

int main(void)
{
    char buf[5];
    int errors;

    errors = 0;
    if (chdir("/tmp") != 0) {
        perror("chdir");
        abort();
    }
    if (getcwd(buf, 5) == NULL) {
        perror("oops, getcwd failed for buffer size = size required");
        ++errors;
    }
    if (chdir("/") != 0) {
        perror("chdir");
        abort();
    }
    buf[0] = 0;
    buf[2] = 1;
    if (getcwd(buf + 1, 1) != NULL) {
        fprintf(stderr,
                "oops, getcwd succeeded for buffer size = one too small\n");
        ++errors;
    }
    if (buf[0] != 0) {
        fprintf(stderr,
                "oops, getcwd scribbled on memory before start of buffer\n");
        ++errors;
    }
    if (buf[2] != 1) {
        fprintf(stderr,
                "oops, getcwd scribbled on memory after end of buffer\n");
        ++errors;
    }
    exit(errors == 0 ? 0 : 1);
}
1994-12-12 01:29:13 +00:00
bde
e658c91fbf Obtained from: 386BSD-0.1 patchkit; also fixed in 1.1.5
Compare unsigned chars.
Return the place after where the character was found and not the start
of the string.
1994-12-12 01:23:33 +00:00
bde
07e272ba5f Fix execl[e]. Multiple execle's failed because of bogus caching of the
pointer returned by realloc().  All callers free the pointer if the
execve fails.  Nuke the caching.  This essentially restores buildargv()
to the 1.1.5 version.  Also fix a memory leak if realloc() fails.  Also
nuke similar but non-broken caching in execvp().  malloc() should be
efficient enough.
1994-12-12 01:15:01 +00:00
ats
1a2909f840 Comment out the man page of rstat.1 from Makefile.inc. There is no rstat
command available yet.
Changed an entry in getprcent.3 from rpcinfo(8C) to rpcinfo(8).
Changed an entry in getrpcport.3 from 3R to 3.
Changed two entries in rpc.3 from 3N to 3.
1994-12-11 22:08:10 +00:00
ats
f829367c4b Added the mpool.3 manpage to the installed manpages. It is referred from the
other manpages and there is no conflict.
1994-12-11 22:03:05 +00:00
ache
5bfe7373e6 tputs prototypes... 1994-12-10 23:10:41 +00:00
ache
2a467c7131 tputs: (char) -> (int) 1994-12-10 23:02:33 +00:00
ache
965d6f2445 Prototypes... 1994-12-10 22:56:53 +00:00
ache
9f1ec2efa1 tputs: (char) -> (int) 1994-12-10 22:01:25 +00:00
ache
1fd643ec5b Fix tputs/tparm declarations 1994-12-09 22:02:19 +00:00
ache
9d8ac0137b Fix tputs declaration 1994-12-09 21:59:06 +00:00
ache
2a1cff7111 Fix tputs/tparm declarations 1994-12-09 21:52:47 +00:00
ache
25d3326dfa Describe tparm 1994-12-04 03:15:30 +00:00
ache
9af4cf3148 Add $Id$ 1994-12-04 02:49:24 +00:00
ache
867b2b7b91 termcap.h now belongs to system 1994-12-04 02:43:41 +00:00
ache
c69cd25487 Add termcap.h & tparm 1994-12-04 02:41:41 +00:00
ache
d6f34be3cf Move gdc/bs to games 1994-12-03 04:42:49 +00:00
ache
5106e2559d exit_standout don't turn most attributes off, fixed 1994-12-03 04:27:08 +00:00
ache
7d928ccee6 #ifdef out check for pending input, cause problems with
output-only pgms
1994-12-03 03:35:30 +00:00
ache
2971a9b5f7 bkgd() family fixes 1994-12-02 19:43:34 +00:00
ache
7a3e472a21 Implement chage_scroll_region properly 1994-12-02 07:35:48 +00:00
ache
8a2a333ba2 Upgrade to version 1.8.6 1994-12-02 06:40:24 +00:00
wollman
48f193add4 In _gethostbydnsaddr(), force RES_RECURSE into _res.options. This is
incredibly obnoxious, but also makes inverse mappings work when the local
resolver is in a cache-only configuration.  (Maybe this is actually
a bug in BIND?)
1994-12-01 22:25:38 +00:00
ache
bf34068be4 wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
1994-11-29 02:48:20 +00:00
ache
91dd4f8da4 Fix many duplicated attribute sets 1994-11-27 05:23:52 +00:00
ache
178744f0e2 Add wrefresh before doing putp when idlok 1994-11-27 03:08:12 +00:00
ache
b1affeefa7 Make idlok works properly with back color erase. 1994-11-27 02:22:09 +00:00
dg
2ae9cae768 Go back to Bruce's fix with a minor change that will allow a NULL string
pointer if len is 0. I should have looked at the revision history - I would
have found that Bruce already fixed the bug with len=0 over a month ago.
Whoever said that the bug was in 2.0 was wrong.
1994-11-25 08:58:53 +00:00
dg
fd183289f3 Fixed bugs related to returning NULL if length is zero. 1994-11-25 04:11:19 +00:00
ache
ac525bda28 Forget to exit alt charset mode, critical for non-cons25r
terminals wits as/ae
1994-11-24 15:09:30 +00:00
ache
5d6022cb61 Make this file more BSD-like 1994-11-21 23:03:23 +00:00
ache
349a9fe394 Fix scroll bug bringed by 'vi <several_small_files>'
and :n command then. :prev bug still exists because it syscons
bug itself, I work on it.
1994-11-21 14:16:31 +00:00
ats
ba75486667 Ooops, change back the LIBDIR macro to the SHLIBDIR macro for the shared
libs as told by Bruce. Now it works.
1994-11-19 14:01:58 +00:00
ats
c9c2e03689 Makefile:
Change the reference for the libtermcap libtermlib link from SHLIBDIR
to LIBDIR. SHLIBDIR is undefined in the standard case.
termcap.c:
Initialize a local variable to zero. Otherwise an erroneous free call
can happen and clobber the calling program.
Seen with vi and gdb. If you have TERMCAP set with a terminal entry and
set TERM with something like huhu, vi and gdb core dumps.
1994-11-18 12:38:43 +00:00
phk
429e4dc1ff Remove ${DESTDIR} from link-macros. Already applied behind the scenes. 1994-11-18 00:59:33 +00:00
ache
36e0f48312 Make newscr publicly available 1994-11-17 23:53:25 +00:00
dfr
197446d284 Added sysarch system call which is used my i386_get/set_ltd.c and is needed
for Wine support.  The current snapshot of wine works fine with this.

This should go into the beta as the code which it calls in the kernel is
already there, and works fine.
1994-11-17 10:50:55 +00:00
ache
9679e19712 Change rules to not generate term.h on second make depend 1994-11-16 11:54:09 +00:00
bde
c603fd4473 Install shared libraries in ${SHLIBDIR} instead of in ${LIBDIR}.
Add missing ${DESTDIR}'s.
1994-11-14 06:45:23 +00:00
bde
8cb56044aa Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in
$(DESTDIR)/$(LIBDIR) (I need SHLIBDIR.  The / was a bug and the
$(...) style was inconsistent.)

Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in
$(DESTDIR)/$(LIBDIR).

Change remaining $(...) to ${...}.
1994-11-14 06:44:45 +00:00
phk
1c74ec5ce8 Added routines to read the canonical UNIX configuration file. This will
later be applied to a number of programs (inetd for instance) to clean
out the bogus code doing the same thing, modulus all the bugs.

If you need to read a '#'-is-a-comment-file, please use these routines.

I realize that the shlib# should be bumped (for the non-US world:
increased by something), but will defer this until something significant
happens.
1994-11-13 20:47:44 +00:00
paul
8132c0788a Fix some bugs with forms that have only text fields.
Add an extern form to forms.h for apps to pick up.
1994-11-13 07:43:43 +00:00
paul
70648651b9 The start of a forms editor library. Currently implements text and
input fields. It reads a template file passed to init_forms(char *)
and creates a curses based form editor. See the examples directory
for a basic demo.
1994-11-13 06:45:44 +00:00
ljo
dbb00a7316 Remove z_abs. It is already in libm.a 1994-11-11 12:58:12 +00:00
ljo
2d9fa7acc5 Add missing z_abs. In BSD tradition this is in libm.a. 1994-11-11 12:56:27 +00:00
jkh
eb44e2d545 From: Michael Reifenberger <root@rz-wb.fh-sw.de>
z_abs is missing in libf2c.
Could someone please commit the following patch?

Submitted by:	mr
1994-11-11 07:27:04 +00:00
ache
7ea4c09bc1 Add 57600, 115200 ro baudrate() 1994-11-10 13:10:21 +00:00
ache
b5235b16ef Forget to change = to += in previous commit 1994-11-08 17:33:22 +00:00
ache
4f25274485 Add missing link for shared libtermlib 1994-11-08 17:31:52 +00:00
phk
3a6f130649 *** ATTENTION *** YOU MIGHT BE ABOUT TO BE HOSED *** ATTENTION ***
This effectively changes the non-DES password algoritm.

If you have the "securedist" installed you will have no problems with this.
(Though you might want to consider using this password-encryption instead
of the DES-based if your system is likely to be hacked)

If you are running a -current system without the "securedist" installed:
YOU WILL NEED TO CHANGE ALL PASSWORDS !!    There is no backwards mode.

Suggested procedure is:
	Update your sources
	cd /usr/src/lib/libcrypt
	make clean
	make all
	make install
	passwd root
		<set roots new password>
	change password for any other users on the system.

This algorithm is expected to be much better than the traditional DES-
based algorithm.  It uses the MD5 algorithm at what it is best at, as
opposed to the DES algorithm at something it isn't good at at all.  The
algorithm is designed such that it should very hard to shortcut the
calculations needed to build a dictionary, and to make partial knowledge
(Hmm, his password starts with a 'P'...) useless.  Of course if somebody
breaks the MD5 algorithm this looses too.

The salt is 48 bits (8 char @ base64).
The encrypted password is 128 bits.

And I am positively delighted to say that it takes 34 msec to crypt() a
password on a Pentium/60Mhz, so building a dictionary is not really an
option for hackers at the moment.
1994-11-07 21:07:09 +00:00
phk
64fd87abc6 Added "const" to the arguments here and there. 1994-11-07 20:48:35 +00:00
phk
32c6962fe3 A semicolon was lost. 1994-11-07 19:54:55 +00:00
jkh
55d31de697 From: "gj%pcs.dec.com@inet-gw-1.pa.dec.com" <garyj@rks32.pcs.dec.com>
Given the right circumstances, a call to kvm_open can result in a core
dump.

The diff belows fixes this (note that this change is already in the
NetBSD code). Could somebody apply this?

Gary J.
Submitted by:	gj
1994-11-07 09:42:24 +00:00
ache
3be9b53777 This curses fix allows to print something in lower right corner
if insert_character is available or don't print, if not
1994-11-06 15:30:37 +00:00
ache
8c77d76dd8 Several fixes for 'back_color_erase' curses problem 1994-11-06 09:30:36 +00:00
ache
1134c6508e Fix curses bug with delete character and standout 1994-11-06 08:33:34 +00:00
nate
06b009752a Date: Wed, 26 Oct 1994 15:44:49 -0600
From: Chris Torek <torek@bsdi.com>
Here is a semi-official patch (apply to /usr/src/lib/libc/stdio/fseek.c,
rebuild libc, install).  The current code fails when the seek:

  - is optimized, and
  - is to just past the end of the block currently in the buffer, and
  - is followed by another seek with no intervening read operation, and
  - the destination of subsequent seek is within the block left in the
    buffer (seeking to the beginning of a block does not force a read,
    so the buffer still contains the previous block)

so it is indeed rather obscure.

I may have a different `final' fix, as this one `loses' the buffer
contents on a seek that goes just past the end of the current block.

[Footnote: seeks are optimized only on read-only opens of regular
files that are buffered by the file's optimal I/O size.  This is
what you get with fopen(path, "r") and no call to setvbuf().]

Obtained from: [ BSDI mailing list ]
1994-11-05 18:49:34 +00:00
ache
1edb242a67 Add const to termcap prototypes to help libg++ 2.6.1 compiling,
this change must not affect other curses pgms
1994-11-04 15:14:03 +00:00
jkh
5446d45c75 __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
dg
32181cd6a2 Fix from Gary Jennejohn - use 'cp' not 'buf' in read call. Oops. 1994-11-02 16:38:51 +00:00
pst
41b8d50dcb Clean up beforeinstall 1994-11-01 09:14:39 +00:00
ache
0a31f7f9d2 Add SIGTERM reaction -- cleanup 1994-10-31 03:07:39 +00:00
ache
1182d55050 More verbose diagnostic, if fails 1994-10-31 03:03:18 +00:00
ache
3005b16726 Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry 1994-10-31 01:48:48 +00:00
ache
be73d2a27b Finally move DB declaration under _CURSES_PRIVATE 1994-10-28 23:38:18 +00:00
ache
5b07b07d27 Continue previous fix still 1994-10-28 23:27:57 +00:00
ache
f557153ac1 After some thinking better place to fix appearse curses again, not
vi(1). Remove DB from curses.h and still implement it provide
this variable for programs that expect it in any case.
1994-10-28 23:27:00 +00:00
ache
f7409e15ba Rename cDB to DB back like old good BSD curses always does,
check ultrix for example. Real place for fix will be vi(1),
wait for next commit.
1994-10-28 23:18:26 +00:00
phk
7d6187108b Missed one reference to the DB variable. 1994-10-28 21:53:17 +00:00
phk
e3bdc96125 Renamed a variable from 'DB' to 'cDB', so the vi(1) will compile again.
Nice to see that people test their fixes before they commit :-(
1994-10-28 21:39:58 +00:00
ache
83ba2f9dc6 Add -I${.CURDIR} 1994-10-28 06:58:04 +00:00
ache
5bf2689df4 Previous commit was incompleted, yet one step required 1994-10-27 23:13:53 +00:00
ache
5933aaec57 Fix scroll bug bringed by vi(1), from phk's flame
(I still wait for apologies)
1994-10-27 22:36:56 +00:00
pst
e933040bfa Remove extra newline. 1994-10-27 18:15:42 +00:00
rgrimes
f16f659fef >Description:
While trying to figure out why rlogind wasn't working right for root,
	I noticed that man wouldn't come back with a man page for iruserok, but
	it would for ruserok.  Checking the lib/net directory's Makefile.inc
	file shows that the link to the rcmd man page just isn't getting
	created.
>How-To-Repeat:
	Do a 'man iruserok' and notihing will come back, where a 'man ruserok'
	will.

Submitted by:	Brian Moore <ziff@houdini.eecs.umich.edu>
Obtained from:	NetBSD-bugs mailing list
1994-10-27 16:33:49 +00:00
bde
75460f11cd Fix memchr(p, 0, 0) to return NULL instead of p. 1994-10-27 11:36:11 +00:00
ljo
082f1990b4 Added libf2c, the library for f2c. 1994-10-27 11:07:34 +00:00
ljo
009d2ffd18 Use -DNON_UNIX_STDIO as our FILE doesn't have the usual fields.
Submitted by: pete@pelican.pelican.com
1994-10-26 18:53:13 +00:00
ljo
26ca07a8e7 Merged f2c library. 1994-10-26 18:20:35 +00:00
ljo
ab07f61539 This commit was generated by cvs2svn to compensate for changes in r3904,
which included commits to RCS files with non-trunk default branches.
1994-10-26 18:20:35 +00:00
ljo
05433d7898 This commit was generated by cvs2svn to compensate for changes in r3902,
which included commits to RCS files with non-trunk default branches.
1994-10-26 18:17:41 +00:00
ljo
2195d627fb Library for f2c (part 2 of 2)
Obtained from: netlib.att.com
1994-10-26 18:17:41 +00:00
ljo
734af5790d This commit was generated by cvs2svn to compensate for changes in r3900,
which included commits to RCS files with non-trunk default branches.
1994-10-26 18:15:35 +00:00
ljo
80b2e19630 Library for f2c. (part 1 of 2)
Obtained from: netlib.att.com
1994-10-26 18:15:35 +00:00
ache
cf183e6e0b Optimize delwin a bit 1994-10-26 07:13:51 +00:00
bde
2cdddfe3cd Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsets
to match setjmp.S.
1994-10-25 14:08:13 +00:00
bde
5168d07e57 Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C function
that calls setjmp(), since returning from the function usually
clobbers the saved environment.
1994-10-25 14:04:32 +00:00
ache
586db7f540 cfmakeraw(): set IGNBRK, clear IXOFF, INPCK per Bruce suggestion
Set IGNPAR, clear NOFLSH, PENDIN, TOSTOP, ECHOE, ECHOK
1994-10-22 18:12:17 +00:00
ache
cd29475762 makeraw(): forget to clear IMAXBEL, set VMIN/VTIME 1994-10-22 01:49:27 +00:00
pst
270e1afc56 new file does skey_getpass() support 1994-10-19 00:14:32 +00:00
pst
e3801229c7 Include most of the logdaemon v4.4 S/key changes 1994-10-19 00:03:45 +00:00
ache
5dc03908ab Remove CPU_COLORDISP, GIO_COLOR now exists 1994-10-18 03:42:18 +00:00
ache
fc5b4c5296 Add new machdep variables 1994-10-17 20:50:41 +00:00
wollman
6f8792b479 sysctl(3) can return an error (setting errno to ENOMEM) when the
fields in the utsname structure are too small to hold their
corresponding MIB variables.  Don't return an error in this case.
1994-10-13 20:31:19 +00:00
ache
2faeb5ef71 Add LDADD+= -ltermcap 1994-10-12 02:06:02 +00:00
ache
66282c0f37 LDADD: = -> += 1994-10-12 01:59:06 +00:00
ache
b62ecce6b4 SHARED_LDADD --> LDADD
cmp redirection removed
1994-10-12 01:57:56 +00:00
ache
01c3058adb Fix two problems pointed by Bruce:
keys.tries generated in ${.CURDIR} which may be readonly
lib_options.{po,so} not properly rebuilded if keys.tries deleted
and no .depend
1994-10-12 01:51:27 +00:00
ache
10c7dea85c Implement meta bit in more cosher way after contacting with zmbenhal
Shut up compiler warning
1994-10-11 16:36:53 +00:00
ache
cd90a5d4ae Change link to symbolic link (term.h) 1994-10-10 01:03:26 +00:00
ache
8fa774702c Merge term.h & nterm.h 1994-10-10 00:34:44 +00:00
ache
8b5fbf7199 Merge term.h and nterm.h 1994-10-10 00:32:19 +00:00
ache
02430ed21f Move copyright link from initscr to newterm (initscr may be not called).
Small cleanup.
1994-10-09 23:31:13 +00:00
sos
7fb01e22dc Added spare space on the usr stack. Used in ibcs2 emulation. 1994-10-09 22:03:58 +00:00
ache
466f34b429 Generate term.h only once, not each beforeinstall.
Add 'update_term_h' target for manual update
1994-10-09 18:39:01 +00:00
ache
c1d086a399 Split all binaries from makefile now 1994-10-09 17:50:50 +00:00
ache
abb0adc35a Preparation to split binary away, move caps to TESTS
Add some testing bits to TESTS directory
1994-10-09 16:37:35 +00:00
ache
f5e00a30f6 Sync with ctype.h (remove EOF handling) 1994-10-09 11:20:55 +00:00
ache
db3d85ca11 Add copyright.c to be always linked in 1994-10-09 09:27:55 +00:00
ache
d820be811e Restore leading tabs 1994-10-09 02:09:14 +00:00
ache
8ff4677005 Sync with ctype.h (EOF, sign extention fixes) 1994-10-08 17:42:45 +00:00
ache
adb1669b25 libncurses added 1994-10-07 09:28:33 +00:00
ache
ff17037c7f This commit was generated by cvs2svn to compensate for changes in r3410,
which included commits to RCS files with non-trunk default branches.
1994-10-07 08:58:58 +00:00
ache
a5b3f70359 Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
ache
a80c0624fb Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
ache
d3c17c0e3d libmytinfo added.
PS: don't forget 'make beforeinstall' if you want to play with it
1994-10-06 23:41:24 +00:00
ache
01800eb58b This commit was generated by cvs2svn to compensate for changes in r3400,
which included commits to RCS files with non-trunk default branches.
1994-10-06 23:38:41 +00:00
ache
b32637dd9b Moved from ports + several enhacmenets 1994-10-06 23:38:41 +00:00
ache
0edbedaaf6 Back out ospeed change (why all bugs discovered immediately _after_ commits
and no one before?)
1994-10-06 21:05:23 +00:00
ache
5fd706bb25 Oops, back out ospeed fix, I forget that flushing can occurse _after_
usleep, too quick commit :-(
1994-10-06 21:02:21 +00:00
ache
bb6984be86 Enable PC back, because it is ouside visible 1994-10-06 20:44:51 +00:00
ache
e4d967c449 ospeed/PC code ifdefed out, our libtermcap use usleep now 1994-10-06 20:36:34 +00:00
ache
5838f264f3 Change padding mechanism to use usleep, old variant not works
on terminals with no pad char (cons25) and quote from tputs.c says so too:
! 	 * Too bad there are no user program accessible programmed delays.
! 	 * Transmitting pad characters slows many
! 	 * terminals down and also loads the system.
1994-10-06 20:32:08 +00:00
ache
5e5f9f009d Disable direct ioctls to /dev/tty, search only stdin/stdout
and don't return error, if non-terminals. This fix allows curses
to work into full duplex pipes under control of main program,
like good old curses does.
1994-10-03 12:58:05 +00:00
ache
88e5b1d5e0 Little regex code cleaness, idea from jgreco@ns.sol.net 1994-10-02 10:54:00 +00:00
ache
1e37e8a5a0 Fix bug with 8-bit chars sign extention (ctype not works) 1994-10-02 02:01:21 +00:00
ache
49db2effec Rewritten using POSIX regex
Add 57600 and 115200 speeds
Correct termcap path
1994-10-02 01:33:28 +00:00
pst
1ca07cd828 Move skey.h back where it belongs 1994-09-29 19:27:35 +00:00
pst
df13a4f988 Install improved skey access code 1994-09-29 18:58:39 +00:00
wollman
3661d6187e Use same configuration file, /etc/host.conf, for both gethost* and
getnet* configuration.  (It's highly unlikely that you'd want to do
something different, and network lookups aren't common enough to justify
their own configuration file.)
1994-09-26 22:45:10 +00:00
wollman
765142b7ce Fixed YP networks map support. 1994-09-26 02:50:43 +00:00
dg
6eb62341ed Don't include sys/exec.h. 1994-09-25 21:11:36 +00:00
pst
3831ab6fab remove need for -DDEBUG from resolver code (conflict with db/hash) 1994-09-25 17:45:41 +00:00
pst
c5aeb41803 get* rework and new bind code 1994-09-25 02:12:49 +00:00
wollman
164ea9ee34 Document getvfsent() and kin. 1994-09-25 01:38:30 +00:00
wollman
af45c49743 Fix so that people who don't have LKMs compiled in their kernels don't
get hosed: vfsisloadable() always returns false if /dev/lkm cannot be
opened for writing.
1994-09-25 00:48:27 +00:00
ache
8380e16daa Call reduced (8-bit only) startup_setlocale() 1994-09-24 16:01:30 +00:00
ache
c8619f3205 Make not-so-space-eaten locale version:
split modules to bring only neccessary functions,
eliminate sprintf, make reduced startup_locale version.
1994-09-24 15:59:33 +00:00
ache
fe71a0be8f Fix bug in %i format, second argument not incremented 1994-09-24 14:16:04 +00:00
ache
c26875a7c0 Fix bug with scroll region parameters (x changed to y) 1994-09-24 14:15:16 +00:00
dg
00eb2a4dc0 Added $Id$ 1994-09-24 02:59:15 +00:00
wollman
c8094afe78 If sysctl() fails, return "/kernel" so as not to screw people who haven't
updated their kernels yet.
1994-09-24 00:10:13 +00:00
wollman
0df0b6cca0 Get rid of _PATH_UNIX completely; use getbootfile(3) instead.
DANGER WILL ROBINSON!
_PATH_UNIX is currently defined as the literal string "don't use this".
I am of two minds about this myself, but wanted to get something into the
tree as quickly as possible.
1994-09-24 00:08:43 +00:00
wollman
035236c989 Added getbootfile(3), for an easy C interface to the kern.bootfile MIB
variable.  This one's even documented!
1994-09-23 20:22:01 +00:00
dg
77f4770dcd Don't define LITTLE_ENDIAN is already defined. 1994-09-23 06:53:03 +00:00
wollman
28e9781f62 Added *ran48 functions, and put them in the correct place this time.
Obtained from:	1.1.5
1994-09-23 00:37:55 +00:00
wollman
39346c05c6 Pass -q and -u flags to modload so that it shuts up and doesn't leave
modules lying around.
1994-09-22 22:36:57 +00:00
pst
f3c6283f8f Make iso_addr's output conform to modern conventions for NSAP
representation.  Original code by pst but ported in as part of
enhancements to BIND 4.9.2 and returned to Vixie.
1994-09-22 19:31:29 +00:00
ache
27be0a807b Attention to all cc hackers, here workaround for gcc 2.6.0
optimizer bug (old code works without -O and don't works with -O)
old !(x & y) != !(a & b) changed to !!(x & y) != !!(a & b)
1994-09-22 03:58:43 +00:00
ache
c33f61b163 Fix mvcur typo bug from my previous fix 1994-09-22 03:09:04 +00:00
wollman
d0601b2401 Fix stupid memory-allocation error. 1994-09-22 02:17:26 +00:00
wollman
0fcf127511 Added VFS functions: getvfsvbyname, getvfsbytype, getvfsent, setvfsent,
endvfsent, vfsisloadable, vfsload.
Someday these will even be documented.
1994-09-22 01:07:37 +00:00
wollman
726571e8a4 Document YP support. 1994-09-20 22:02:20 +00:00
wollman
7dd6279387 My implementation of YP group file support, modeled after the
password file support done yesterday.
1994-09-20 21:43:27 +00:00
wollman
ef0b63c95a Second half of YP security hole fix. Needs updated password
database in order to operate.
1994-09-20 21:42:12 +00:00
wollman
8557586a97 Re-implement YP password file support from scratch. This implementation
correctly handles +user entries and + entries with local overrides.
1994-09-20 01:23:45 +00:00
wollman
3af6d50d51 Maintain pw_fields, and output same to password database.
!!!!!!!!
NB
!!!!!!!!
You MUST pwd_mkdb /etc/master.passwd before attempting to use the new
libc, or things may go wrong.  (I doubt anything actually /will/ go
wrong, but the actual behavior is undefined.  YOU HAVE BEEN WARNED.)
The database format is, however, backwards-compatible, so old executables
will still work.
1994-09-20 01:15:08 +00:00
ache
6887dd62d7 Function in this module bloodly called 'gethostname' and linked
with all pgms, you can imagine results!
Change 'gethostname' -> 'ntp_gettime', I don't know what real name
must be here but try to guess.
1994-09-19 22:04:28 +00:00
phk
fa46a8008d Added beforeinstall rule to install .h files. We might need some .mk
support for this kind of thing.  Look at src/Makefile target "includes".
1994-09-19 05:30:33 +00:00
ache
178cbb3bbc Change level of setlocale hack enabling from compile option STARTUP_LOCALE
to check (via getenv) environment variable "ENABLE_STARTUP_LOCALE" at
runtime.
Submitted by: me per Bruce suggestion
1994-09-19 02:00:21 +00:00