Commit Graph

138 Commits

Author SHA1 Message Date
alm 75de25bb93 added Andrew Chernov's patch set:
Standard curses library use eight bit for standout mode, so
8-bit characters displays like highlighted 7-bit characters.

This patch produce library which is fully compatible with all curses
programs and add 8-bit chars to all input/display functions.
---
I don't think, that any programs wish to use internal curses
attribute _STANDOUT directly, in expressions like:
        addch( ch | _STANDOUT );
        Normal interface use standout() and standend() functions instead.
        Many programs use 'char' type (with sign extention) for input characters
        and sign extention becomes _STANDOUT mode in this case.
        So, I refuse this future and allow 8-bit characters for programs,
        which is designed for 7-bit only ('char' type using instead of
        'unsigned char').
---
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.

This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
---
Oh, NO! This curses are really buggy!

This small patch fix following problem:
[ assumed scrollok(stdscr, TRUE) ]
when addch(ch) at lower right corner of screen, curses are realy
gone mad instead if simple scrolling... Curses code assumed that
this will be done correctly, but implement it with two bugs.
1993-07-09 05:34:14 +00:00
deraadt ac1c140b61 ok, all executables just got 16 bytes shorter. removed a bunch
of "nops" from the start of the crt.
1993-07-07 01:33:52 +00:00
jtc 527e6a5736 Add i386 assembly versions of bcmp & memcmp 1993-06-17 23:00:41 +00:00
jtc b51b2fdb46 enable memset & memchr. 1993-06-17 16:14:32 +00:00
jtc 36b9af8bc1 bzero: make sure we are longword aligned before we "stosl"
memchr: new
memset: new
strcat: shave a cycle or two.
1993-06-17 16:12:49 +00:00
mycroft 8ffedb1335 Don't need -I/sys any more. 1993-06-17 13:11:39 +00:00
mycroft 6d772d56b3 Stupid cpp! 1993-06-17 13:04:04 +00:00
mycroft dbf2e6e2b8 Remove some spaces so GAS 2 won't barf (but I think I will)... 1993-06-17 12:05:29 +00:00
jtc 3743b2f50b fix align directive, so we don't jmp to a bunch of nops before we get to the good stuyff 1993-06-17 01:50:12 +00:00
jtc 7fb7e975c7 Make assert macro ansi complient. 1993-06-16 23:18:35 +00:00
jtc bceb67fa8d According to Ansi C, signal is supposed to return SIG_ERR on error,
not BADSIG.  I know they are the same thing, but this allows me to
remove the otherwised unused, bogus macro BADSIG from signal.h
1993-06-16 22:12:16 +00:00
mycroft 409bc91101 Move asm.h from /usr/include/sys to /usr/include/machine. 1993-06-16 21:42:43 +00:00
mycroft ac1dfafeae Clean up this bullshit. 1993-06-16 21:31:12 +00:00
jtc b0824ed69e include xdr_float & xdr_double with all the other rpc/xdr code in libc.a 1993-06-16 21:30:20 +00:00
mycroft b2a958ff6d Use TWOENTRY(). 1993-06-16 21:04:44 +00:00
mycroft cddba95abb Use ENTRY() macro (for profiling). 1993-06-16 19:11:37 +00:00
mycroft 138b0ef3ae #include <sys/asm.h>, and don't lose if we compile memcpy() with profiling. 1993-06-16 19:00:52 +00:00
mycroft 9490d905c4 Clean up deleted files. 1993-06-16 18:39:49 +00:00
mycroft 686b9e0da1 Actually, just make memcpy() an alias for memmove(). 1993-06-16 18:38:38 +00:00
mycroft 33c9c47425 Oops. Forgot to update the Makefile. 1993-06-16 18:33:25 +00:00
mycroft 42bfa88f6a Add memcpy.s and memmove.s, based on bcopy.s. 1993-06-16 18:26:40 +00:00
mycroft a7554b65a7 Use ENTRY macro. 1993-06-16 18:23:21 +00:00
jtc dacb3d324d Update fnmatch() to be more posix complient (from bostic). 1993-06-16 17:16:11 +00:00
jtc caf6ead8ab performance bugs discovered by mycroft 1993-06-16 16:31:00 +00:00
jtc 9bdb2fb9ea Added i386 assembly language versions of ffs, strcat, strcpy, and strlen.
Updated comments of index, rindex, strchr, strcmp, strncmp, and strrchr.
1993-06-16 16:03:56 +00:00
jtc 5d2d1a3364 Added i386 assembly language versions of ffs, strcat, strcpy, and strlen. 1993-06-16 16:02:26 +00:00
jtc 800e6b4bac Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:30 +00:00
jtc 2658bf6d50 Added fast strcmp() and strncmp() routines. 1993-06-15 23:25:12 +00:00
deraadt 5c20ccab8b kernel string read function takes much less time. could be optimized further,
by making block reads kernel page aligned. (cgd will make the next optimization
in this file)
1993-06-15 07:16:06 +00:00
cgd 9f0aa214be update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:52:39 +00:00
mycroft c1cecd30d8 Clean up deleted files. 1993-06-14 23:51:49 +00:00
cgd 70a04c5a30 update db code to v1.6 from vangogh, and put it in "db" rather than "DB" 1993-06-14 23:51:26 +00:00
mycroft 6609149bb3 Clean up deleted files. 1993-06-14 21:16:14 +00:00
brezak 76266e007c Add -DYP to CFLAGS 1993-06-14 14:20:20 +00:00
deraadt ef08b20d7a a few typecasts because of the new prototypes 1993-06-12 19:46:31 +00:00
brezak 891aec9712 Fix to compile with YP. 1993-06-11 16:58:19 +00:00
cgd 23f01fa004 yes another fix (from margo?) via Christoph Badura <bad@flatlin.ka.sub.org> 1993-06-11 00:25:39 +00:00
jtc 4b780a9d57 update to -mandoc macros 1993-06-10 19:02:32 +00:00
jtc 0c7b56efc3 Install many symlinks to xdr.0 & rpc.0.
Update bindresvport, getrpcent, getrpcport.3 man pages, convert to -mandoc.
Fix minor bug in rpc.3 manpage.
1993-06-10 16:49:39 +00:00
brezak c874918400 CHanges from conklin@talisman.kaleida.com
* fixed C source where it conflicted with prototypes, documentation,
	  and TIRPC.

	* use getrpcent.c from TIRPC.

From brezak:

Add YP support to getrpcent.c
1993-06-09 19:31:17 +00:00
mycroft c29fd6777b Clean up deleted files. 1993-06-09 19:27:00 +00:00
brezak a98de6b7b0 remove yppasswdxdr.c - now part of librpcsvc.a 1993-06-09 19:26:57 +00:00
cgd ba42f6137c bug fix from margo. she said:
> Essentially what was happening was that I was running out of overflow
> pages in an overflow point (you are limited to 2047).  When I upped the
> overflow point I was setting the offset to 0 and allocating an overflow
> page number that mapped to the same spot in the file as a bucket did.
> The overflow page got overwritten with the bucket on disk and voila --
> corrupt file.
1993-06-09 18:20:35 +00:00
mycroft e3ea23c51a fgetline() does not return the newline. 1993-06-08 16:49:53 +00:00
proven 890b321c58 Removed bugs and memory leaks from the directory function. 1993-06-04 16:59:18 +00:00
brezak 0f3c8d7472 Add more RPC definitions. 1993-06-03 19:21:08 +00:00
brezak 2102dbe62d Keep the cp'ed .x in the objdir. Be sure to clean it too. 1993-06-03 17:07:56 +00:00
brezak 4a9e8377b4 Copy the .x file to the obj directory before running rpcgen. You have
to do this because rpcgen will generate an include line with the full
path of the .x file.
1993-06-03 16:49:21 +00:00
brezak 2c766f3e20 Fix for building in obj tree. 1993-06-03 14:45:37 +00:00
brezak f5444fe852 Build librpcsvc.a 1993-06-02 19:51:29 +00:00