Commit Graph

289 Commits

Author SHA1 Message Date
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