summaryrefslogtreecommitdiff
path: root/usr.bin/msgc
AgeCommit message (Collapse)Author
2010-01-02Remove some sign compare warnings.dsl
2009-10-29option noinputchristos
2009-04-20define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160drochner
2009-04-14Enable WARNS=4 by default for usr.bin, except for:lukem
awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
2009-03-09Fix preamble to match order set out by mdoc(7). Discussed with wiz.joerg
2006-12-03eliminate an alloca use.christos
2006-09-06Fix requests for msg input with a NULL target buffer (or zero length one)dsl
to core dumps from sysinsts mbr code (and others) that use message boxes for 'press enter to continue' actions. Fixes PR/34206
2006-09-06Rename 'max_chars' to 'val_buf_len' to make it clearer that it has to includedsl
the trailing NUL.
2006-05-12Sorry, fix syntax error in previous.he
2006-05-12Appease gcc 3.3.3 -Wuninitialized warning; fixes build problem forhe
a multitude of archtectures (prep, alpha, i386, acorn32 and probably more). To be documented in doc/HACKS.
2005-04-09If the user removed the default string (after we had put it into the bufferdsl
area - rather than in []), then don't reinstate it on exit
2004-11-05Add (unsigned char) cast to ctype functionsdsl
Fixes problems displaying German 'sharp-s', see PR install/27281
2004-10-16Remove _erase_ch() it isn't used any moredsl
2004-08-14NetBSD curses gives the wrong data when you read curscr, need todsl
add a doupdate() so we save from the correct screen image.
2004-08-13Save and restore screen underneath prompt boxesdsl
2004-06-20Completely rework how tools/compat is done. Purge all uses/references tojmc
_NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
2004-06-05Improve editing of input fields:dsl
<- and -> move within the field -> will pull default string into empty buffer ^H (etc) will delete default string from buffer (first press) Put default string into display buffer if long and input in box. Scroll input text if longer than space on line.
2003-10-27Overhaul how `build.sh tools' are used:lukem
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h * Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more. These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
2003-10-15Bump date for previous.wiz
2003-09-25Add a msg_row() function that returns the current screen row.dsl
Allows sysinst to place menus below any header text. Remove msg_*.1 man pages for all the functions (they are in the wrong place are a fair waste of directory space).
2003-07-28No need for wrefresh() in msg_clear(), screen will be updated later.dsl
Stops obvious redraw of header of some menus.
2003-07-25Change variable name to compiles with WARNS=3dsl
2003-07-17only use __RCSID() if it is #definedlukem
2003-07-14use bounded string opitojun
2003-07-07Change 'Magic number' of menu text files.dsl
Correct calculation of window width in msg_prompt_win().
2003-06-27Add support for reading messages from a text file - msg_file() and msg_string().dsl
Use subwin() in msg_prompt_win() now libcurses is fixed. Some KNF changes I seem to have forgotten to commit on their own :-(
2003-06-23Add NetBSD RCS Ids.agc
2003-06-10Change msg_window() to return old window (temp buffer size isn't too important)dsl
Change msg_promt_win() to create the window. Number MSG_xxx from 1 (because 0 is NULL)
2003-06-04Add msg_prompt_win() that will prompt in the specified window (instead ofdsl
the default one), and with a box around the window if >= 3 lines. Stop the char delete from killingthe RHS of any box. Make msg_string a noop for invalid strings (might be quoted text).
2003-05-18Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),lukem
there's no need to special-case .include-ing it.
2003-01-10produce lint free code.christos
2002-09-26Begin new sentences on new lines. Minor mdoc improvements.wiz
2002-09-19use NETBSDSRCDIR as appropriatelukem
2002-01-31Roll in fixes to permit cross-compiling from non-NetBSD hosts. Thistv
round has been tested on Solaris/x86 and Linux hosts. * Add host tools cap_mkdb, ctags, m4, uudecode. * Protect __RCSID() and __COPYRIGHT() better. * Reduce the number of places that need to include "config.h", to keep sources closer to their "vanilla" versions. * Add more compat #defines and autoconf-checked functions.
2002-01-29Make almost all tools compile and run properly on non-NetBSD hosts. (Intv
particular, most tools now run correctly on Solaris 7.)
2001-12-01Use standard headers.wiz
2001-12-01Whitespace cleanup.wiz
2001-11-12Formatting cleanup.tv
2001-10-15Move the default path definition from msgdb.c to a new pathnames.h, asbjh21
required by KNF. This will also be required to allow msgc to be installed into ${TOOLDIR} properly.
2001-10-05Add appropriate ifdefs so tools reachovers build cleanjmc
2000-12-04Fix typos and wording.wiz
2000-07-06Document paragraph-filling behavior of msg_display{,_add}(), andjhawk
document function of msg_table_add(). What a whacko api.
2000-07-06Add msg_*() functions to NAME (they are already in SYNOPSIS), andjhawk
add MLINKS for them. Perhaps later on they should be broken out into a section other than 1? At least now they are findable via "man -k" etc.
2000-07-03Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,matt
etc. as appropriate to get exit,srncmp,abs,abort,etc. Add -I${.CURDIR} to a few Makefiles
1999-12-31Add FILES and EVIRONMENT sections detailing what files these programs use,garbled
where they live, and how to modify that behavior.
1999-07-04nuke msg_printf() and msg_printf_add().cgd
1999-07-04const-ify strings as appropriate, and convert message 'numbers' fromcgd
ints to 'msg's. 'msg' is currently typedef'd as 'const char *', but it'll become more complex eventually.
1999-07-04oops, forgot an _cgd
1999-07-04privatize msg_beepcgd
1999-07-04nuke msg_{,no}echo, add msg_prompt_noechocgd