Commit Graph

362 Commits

Author SHA1 Message Date
paul
f48c26f9e8 Add all the necessary bits to use color if the terminal allows it.
You can now specify separate attributes for selected/not selected
cases individually for each field and also an attr for the form as
a whole so you can now have colored backgrounds for the form and
different coloured fields etc.

Update the example.

Change the copyright to a BSD style one.
1995-01-30 02:41:29 +00:00
dg
7ae3d0e647 Be sure to properly fail if there are not enough fields. Problem
reported by MARC Giannoni <marc@cmc.eng.comsat.com>, this fix is by me.
1995-01-27 22:30:03 +00:00
dfr
490a61547e Reclaim memory used for telldir cookies on closedir. 1995-01-27 13:51:18 +00:00
dufault
8330e07ba0 Clean up handling of unspecified names. Clarify man page. 1995-01-26 23:48:41 +00:00
paul
ca1cf8bdce Truncate any default inputs to the input width.
Update the example so it works properly.
1995-01-25 08:26:17 +00:00
paul
4d1ec08b41 New example that uses the new forms language. 1995-01-25 03:34:48 +00:00
paul
1c82593249 Update libforms to agree with new fib. 1995-01-25 03:33:43 +00:00
dufault
1e671d13a2 Remove "va_start" macro. 1995-01-25 00:33:50 +00:00
ache
ea82b52f15 CFLAGS: = --> += 1995-01-24 22:09:46 +00:00
paul
c0cc7cfdef Changed the example to use the forms spec file. 1995-01-24 13:29:30 +00:00
paul
092b63d56d Changed the example to use the forms spec file.
Made a couple of variable name changes.
1995-01-24 13:27:46 +00:00
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