History log of /netbsd-src/usr.bin/msgc/msgdb.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 0e1db644 20-Jun-2019 christos <christos@NetBSD.org>

Introduce _fmt_ flavors of the menu functions that take a formatting string
so we can use fmtcheck(3) to check the formats of the messages strings.


# 40c86e8b 06-Mar-2012 mbalmer <mbalmer@NetBSD.org>

Remove the advertising clause with the explicit ok from Perry E. Metzger.


# d13b2dd8 02-Mar-2012 mbalmer <mbalmer@NetBSD.org>

Add msg_printf(fmt, ...), a function to display raw messages without
going through the message catalog.


# a4373e9a 02-Mar-2012 mbalmer <mbalmer@NetBSD.org>

Removing trailing whitespace.


# b2f78261 20-Jun-2004 jmc <jmc@NetBSD.org>

Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulti

Completely rework how tools/compat is done. Purge all uses/references to
_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

show more ...


# 556e606c 25-Sep-2003 dsl <dsl@NetBSD.org>

Add a msg_row() function that returns the current screen row.
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 fa

Add a msg_row() function that returns the current screen row.
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).

show more ...


# abcf838d 17-Jul-2003 lukem <lukem@NetBSD.org>

only use __RCSID() if it is #defined


# e2724ab4 27-Jun-2003 dsl <dsl@NetBSD.org>

Add support for reading messages from a text file - msg_file() and msg_string().
Use subwin() in msg_prompt_win() now libcurses is fixed.
Some KNF changes I seem to have forgotten to commit on their

Add support for reading messages from a text file - msg_file() and msg_string().
Use subwin() in msg_prompt_win() now libcurses is fixed.
Some KNF changes I seem to have forgotten to commit on their own :-(

show more ...


# a8d6388e 23-Jun-2003 agc <agc@NetBSD.org>

Add NetBSD RCS Ids.


# 62a063f9 10-Jun-2003 dsl <dsl@NetBSD.org>

Change msg_window() to return old window (temp buffer size isn't too important)
Change msg_promt_win() to create the window.
Number MSG_xxx from 1 (because 0 is NULL)


# 15cd94dd 04-Jun-2003 dsl <dsl@NetBSD.org>

Add msg_prompt_win() that will prompt in the specified window (instead of
the default one), and with a box around the window if >= 3 lines.
Stop the char delete from killingthe RHS of any box.
Make m

Add msg_prompt_win() that will prompt in the specified window (instead of
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).

show more ...


# c3e2d898 10-Jan-2003 christos <christos@NetBSD.org>

produce lint free code.


# 92fa2601 15-Oct-2001 bjh21 <bjh21@NetBSD.org>

Move the default path definition from msgdb.c to a new pathnames.h, as
required by KNF. This will also be required to allow msgc to be installed
into ${TOOLDIR} properly.


# 4515ccfe 04-Jul-1999 cgd <cgd@NetBSD.org>

nuke msg_printf() and msg_printf_add().


# a70b70f9 04-Jul-1999 cgd <cgd@NetBSD.org>

const-ify strings as appropriate, and convert message 'numbers' from
ints to 'msg's. 'msg' is currently typedef'd as 'const char *', but it'll
become more complex eventually.


# 8b6866fc 04-Jul-1999 cgd <cgd@NetBSD.org>

privatize msg_beep


# 4443f1b7 04-Jul-1999 cgd <cgd@NetBSD.org>

nuke msg_{,no}echo, add msg_prompt_noecho


# ed2a9c9d 04-Jul-1999 cgd <cgd@NetBSD.org>

nuke msg_prompt_str, msg_prompt_addstr, and msg_table (unused), and make
msg_vprintf private.


# e8b59e21 04-Jul-1999 cgd <cgd@NetBSD.org>

provide APIs (currently mostly undocumented) to print pre-formatted
(table) text.


# 82ecc5c4 22-Jun-1999 cgd <cgd@NetBSD.org>

don't bother calculated up MAXSTR, especially since the value calculated
is _bogus_ in the face of printf-like message formatting! Instead,
calcuate the max size to format when the message window is

don't bother calculated up MAXSTR, especially since the value calculated
is _bogus_ in the face of printf-like message formatting! Instead,
calcuate the max size to format when the message window is set. We know
that we'll never want to format more characters than can fit in the window.

show more ...


# 4b1c7617 19-Jun-1999 cgd <cgd@NetBSD.org>

the skeleton now also needs stdlib.h


# 635cf4e5 25-Apr-1999 veego <veego@NetBSD.org>

It was a bad idea to call a function 'beep'.
Rename it to msg_beep to avoid conflicts with the new curses.h.


# 5e13aa5a 03-Oct-1997 enami <enami@NetBSD.org>

- Include <string.h> to import the proto type of strlen().
- Add an empty line before inclusion of local header.


# 584c2298 26-Sep-1997 phil <phil@NetBSD.org>

Import a simple message system with 'compiled' messages. Used by
the net system install program.