Commit Graph

269 Commits

Author SHA1 Message Date
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
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
26ca07a8e7 Merged f2c library. 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