]> diplodocus.org Git - nmh/log
nmh
12 years agoDocument the -dist flag.
Ken Hornstein [Sun, 19 Jan 2014 18:47:07 +0000 (13:47 -0500)]
Document the -dist flag.

12 years agoChange error message so "Unknown error 0" doesn't get printed if there
Ken Hornstein [Sun, 19 Jan 2014 16:59:25 +0000 (11:59 -0500)]
Change error message so "Unknown error 0" doesn't get printed if there
is an error parsing an address.

12 years agoAdd a test for dist to make sure it works with headers that need RFC-2047
Ken Hornstein [Sun, 19 Jan 2014 16:52:47 +0000 (11:52 -0500)]
Add a test for dist to make sure it works with headers that need RFC-2047
encoding.

12 years agoUpdated MACHINES to show package requirements on Linux and Cygwin.
David Levine [Sun, 19 Jan 2014 16:48:14 +0000 (10:48 -0600)]
Updated MACHINES to show package requirements on Linux and Cygwin.

12 years agoAdd support for not outputting any MIME headers when using dist.
Ken Hornstein [Sun, 19 Jan 2014 06:11:59 +0000 (01:11 -0500)]
Add support for not outputting any MIME headers when using dist.

12 years agoAllow mhbuild to work when the message body is empty. You know, that
Ken Hornstein [Sun, 19 Jan 2014 05:50:49 +0000 (00:50 -0500)]
Allow mhbuild to work when the message body is empty.  You know, that
was actually a giant pain!

12 years agoRemoved unused argument "file" to user_content().
Ken Hornstein [Sun, 19 Jan 2014 04:34:41 +0000 (23:34 -0500)]
Removed unused argument "file" to user_content().

12 years agoBeginning of work to run mhbuild always. A bit more complicated than I
Ken Hornstein [Sat, 18 Jan 2014 06:17:12 +0000 (01:17 -0500)]
Beginning of work to run mhbuild always.  A bit more complicated than I
originally expected.

12 years agoExplictly return the exit code, so we can portably guarantee that
Ken Hornstein [Sat, 18 Jan 2014 05:38:39 +0000 (00:38 -0500)]
Explictly return the exit code, so we can portably guarantee that
pidstatus() will return 0 on a successful command execution.

12 years agoRemoved -a option from whatnow attach, in anticipation of
David Levine [Sat, 18 Jan 2014 00:42:52 +0000 (18:42 -0600)]
Removed -a option from whatnow attach, in anticipation of
removal of send -attachformat.

12 years agoAdd support for -auto flag to mhbuild.
Ken Hornstein [Fri, 17 Jan 2014 20:45:31 +0000 (15:45 -0500)]
Add support for -auto flag to mhbuild.

12 years agoRemove WHATNOW #ifdefs; that code was obsolete a long time ago.
Ken Hornstein [Fri, 17 Jan 2014 19:20:12 +0000 (14:20 -0500)]
Remove WHATNOW #ifdefs; that code was obsolete a long time ago.

12 years agoMoved readline check to after termcap/curses check in configure.ac.
David Levine [Fri, 17 Jan 2014 03:48:01 +0000 (21:48 -0600)]
Moved readline check to after termcap/curses check in configure.ac.
This way, $TERMLIB can be included in the readline check.  That's
neeed on CentOS 5.9.

12 years agoMoved readconfig() of mhn.defaults into construct_build_directive().
David Levine [Fri, 17 Jan 2014 01:55:58 +0000 (19:55 -0600)]
Moved readconfig() of mhn.defaults into construct_build_directive().
This way, platforms that don't define MIMETYPEPROC will display
the proper directive with attach -v.

12 years agoAdded check to get_file_info() in attach.c for failed fgets() call.
David Levine [Wed, 15 Jan 2014 02:09:40 +0000 (20:09 -0600)]
Added check to get_file_info() in attach.c for failed fgets() call.
It can happen on Cygwin for mysterious reasons,
http://cygwin.com/faq/faq.html#faq.using.bloda.

12 years agoRemoved the tests of attach -v -a from test-attach-detach, and
David Levine [Wed, 15 Jan 2014 01:39:42 +0000 (19:39 -0600)]
Removed the tests of attach -v -a from test-attach-detach, and
added -prompt '' to try to get the test to pass on Mac OS X.

12 years agoModified last check added to test-scan-multibyte so that it
David Levine [Tue, 14 Jan 2014 13:41:28 +0000 (07:41 -0600)]
Modified last check added to test-scan-multibyte so that it
also works without iconv support.

12 years agoSkip the last check that I added to test-scan-multibyte if we don't
David Levine [Tue, 14 Jan 2014 02:29:19 +0000 (20:29 -0600)]
Skip the last check that I added to test-scan-multibyte if we don't
have iconv support because it requires converting from ISO-8859-1 to
UTF-8.

12 years agoIn cpstripped(), check for negative return value from wcwidth().
David Levine [Tue, 14 Jan 2014 02:08:55 +0000 (20:08 -0600)]
In cpstripped(), check for negative return value from wcwidth().

12 years agoBetter fix for test-attach-detach on platforms without readline.
David Levine [Mon, 13 Jan 2014 22:33:44 +0000 (14:33 -0800)]
Better fix for test-attach-detach on platforms without readline.

12 years agoFixed build on Solaris by only checking for -Wno-unused-result with gcc.
David Levine [Mon, 13 Jan 2014 21:35:41 +0000 (13:35 -0800)]
Fixed build on Solaris by only checking for -Wno-unused-result with gcc.

12 years agoHacked test-attach-detach to pass on Solaris.
David Levine [Sun, 12 Jan 2014 18:18:47 +0000 (12:18 -0600)]
Hacked test-attach-detach to pass on Solaris.

12 years agoFinal fix to test-attach-detach: on some platforms, there's no
David Levine [Sun, 12 Jan 2014 17:45:16 +0000 (11:45 -0600)]
Final fix to test-attach-detach:  on some platforms, there's no
charset for a text/plain file.

12 years agoReally fix mode of file that's used in test-attach-detach.
David Levine [Sun, 12 Jan 2014 17:32:11 +0000 (11:32 -0600)]
Really fix mode of file that's used in test-attach-detach.

12 years agoOne final fix to test-attach-detach.
David Levine [Sun, 12 Jan 2014 17:26:07 +0000 (11:26 -0600)]
One final fix to test-attach-detach.

12 years agoFixed test-attach-detach to work with any umask, and without readline.
David Levine [Sun, 12 Jan 2014 17:22:57 +0000 (11:22 -0600)]
Fixed test-attach-detach to work with any umask, and without readline.

12 years agoAdded -v and -a switches to whatnow attach so the user can see
David Levine [Sun, 12 Jan 2014 16:18:20 +0000 (10:18 -0600)]
Added -v and -a switches to whatnow attach so the user can see
the mhbuild directive that send(1) will use.

12 years agoRefined the POSTLINK used on OpenBSD so that it leaves the warnings,
David Levine [Sat, 11 Jan 2014 22:30:42 +0000 (16:30 -0600)]
Refined the POSTLINK used on OpenBSD so that it leaves the warnings,
but capitalizes the "w" so that they don't color the buildbot waterfall.

12 years agoRefined the autoconf test for -Wno-unused-result so that
David Levine [Sat, 11 Jan 2014 22:00:14 +0000 (16:00 -0600)]
Refined the autoconf test for -Wno-unused-result so that
it's only used where we need it (currently Ubuntu gcc 4.8.1
with -O2).

12 years agoCalculate port numbers in test suite based on uid so that different
David Levine [Sat, 11 Jan 2014 17:22:50 +0000 (11:22 -0600)]
Calculate port numbers in test suite based on uid so that different
users can run the test suite on a host simultaneously.

12 years agoUpdated Cygwin and Linux build notes.
David Levine [Sat, 11 Jan 2014 17:02:19 +0000 (11:02 -0600)]
Updated Cygwin and Linux build notes.

12 years agoAdded more .exe files to .gitignore.
David Levine [Sat, 11 Jan 2014 17:01:21 +0000 (11:01 -0600)]
Added more .exe files to .gitignore.

12 years agoWork around OpenBSD 5.4 file(1), which reports the --mime-encoding
David Levine [Sat, 11 Jan 2014 16:15:27 +0000 (10:15 -0600)]
Work around OpenBSD 5.4 file(1), which reports the --mime-encoding
of text files as "binary".

12 years agoReworked attach to add charset to Content-Type string for
David Levine [Sat, 11 Jan 2014 15:22:36 +0000 (09:22 -0600)]
Reworked attach to add charset to Content-Type string for
text content.

12 years agoChanged how build_nmh deals with older mhparam that doesn't
David Levine [Sat, 11 Jan 2014 14:09:20 +0000 (08:09 -0600)]
Changed how build_nmh deals with older mhparam that doesn't
report SASL/TLS.

12 years agoReorganized autoconf test for -Qunused-warnings so that it
David Levine [Sat, 11 Jan 2014 14:00:55 +0000 (08:00 -0600)]
Reorganized autoconf test for -Qunused-warnings so that it
outputs something when configuring on any platform.

12 years agoChange test-mhmail so it can handle a MIMETYPEPROC that doesn't output
Ken Hornstein [Sat, 11 Jan 2014 06:41:44 +0000 (01:41 -0500)]
Change test-mhmail so it can handle a MIMETYPEPROC that doesn't output
the character set.

12 years agoSwitch over to using --mime-type, since --mime seems to include a
Ken Hornstein [Sat, 11 Jan 2014 06:11:45 +0000 (01:11 -0500)]
Switch over to using --mime-type, since --mime seems to include a
charset for non-text MIME types.

12 years agoFixed POSTLINK (on OpenBSD) now that it doesn't use -Qunused-arguments.
David Levine [Sat, 11 Jan 2014 05:41:04 +0000 (23:41 -0600)]
Fixed POSTLINK (on OpenBSD) now that it doesn't use -Qunused-arguments.

12 years agoMore tests, but not quite there yet.
Ken Hornstein [Sat, 11 Jan 2014 05:32:54 +0000 (00:32 -0500)]
More tests, but not quite there yet.

12 years agoDon't error out if the message body is empty.
Ken Hornstein [Fri, 10 Jan 2014 18:31:05 +0000 (13:31 -0500)]
Don't error out if the message body is empty.

12 years agoOnly add -Qunused-arguments to LDFLAGS if compiler is clang.
David Levine [Sat, 11 Jan 2014 05:25:19 +0000 (23:25 -0600)]
Only add -Qunused-arguments to LDFLAGS if compiler is clang.

12 years agoReworked LFLAGS hack for flex 2.5.35 and 2.5.36 to work on
David Levine [Sat, 11 Jan 2014 04:49:24 +0000 (20:49 -0800)]
Reworked LFLAGS hack for flex 2.5.35 and 2.5.36 to work on
Ubuntu.  And use sed instead of ed.

12 years agoNo longer add -g or -s to LDFLAGS. autoconf handles -g. And "make
David Levine [Sat, 11 Jan 2014 01:36:34 +0000 (19:36 -0600)]
No longer add -g or -s to LDFLAGS.  autoconf handles -g.  And "make
install-strip" is the approved way to install stripped executables.

12 years agoAdded -Wno-unused-result to silence warnings on Ubuntu.
David Levine [Sat, 11 Jan 2014 01:03:56 +0000 (19:03 -0600)]
Added -Wno-unused-result to silence warnings on Ubuntu.

12 years agoMake sure we use the 'short' filename and add newlines where appropriate.
Ken Hornstein [Fri, 10 Jan 2014 05:45:38 +0000 (00:45 -0500)]
Make sure we use the 'short' filename and add newlines where appropriate.

12 years agoA bit closer, but don't run the test just yet.
Ken Hornstein [Fri, 10 Jan 2014 04:17:25 +0000 (23:17 -0500)]
A bit closer, but don't run the test just yet.

12 years agoPreliminary Attach: header support. Untested just yet.
Ken Hornstein [Thu, 9 Jan 2014 21:03:21 +0000 (16:03 -0500)]
Preliminary Attach: header support.  Untested just yet.

12 years agoOpenBSD 5 needs an other-libraries (fourth argument) to the
David Levine [Thu, 9 Jan 2014 02:54:50 +0000 (20:54 -0600)]
OpenBSD 5 needs an other-libraries (fourth argument) to the
AC_CHECK_LIB for SSL_library_init, because it doesn't automatically
append -lcrypto when linking with -lssl.

12 years agoHard-code the config/version.c target, instead of using $@, so its
David Levine [Thu, 9 Jan 2014 02:14:57 +0000 (20:14 -0600)]
Hard-code the config/version.c target, instead of using $@, so its
rule works for the distcheck target with Solaris (System V) make.
distcheck uses VPATH, causes that make to prepend the VPATH to $@.

12 years agoReplace use of awk with sed in test-anno because it failed
David Levine [Thu, 9 Jan 2014 01:02:58 +0000 (19:02 -0600)]
Replace use of awk with sed in test-anno because it failed
on Solaris (gawk).

12 years agoDetect whether or not to use -n with tail in build_nmh.
David Levine [Thu, 9 Jan 2014 00:23:10 +0000 (18:23 -0600)]
Detect whether or not to use -n with tail in build_nmh.
Synched that to uip/mhmail.

12 years agoFixed typo in last commit of test-curses.
David Levine [Wed, 8 Jan 2014 04:51:41 +0000 (22:51 -0600)]
Fixed typo in last commit of test-curses.

12 years agoAdded -Txterm-color to tput invocations that didn't have it.
David Levine [Wed, 8 Jan 2014 04:49:51 +0000 (22:49 -0600)]
Added -Txterm-color to tput invocations that didn't have it.

12 years agoIn test-curses, use termcap codes if terminfo capabilities
David Levine [Wed, 8 Jan 2014 04:27:55 +0000 (22:27 -0600)]
In test-curses, use termcap codes if terminfo capabilities
are not supported, such as on FreeBSD 9.

12 years agoAdded sbr/dtimep.c to CLEANFILES so that make distcheck passes on
David Levine [Wed, 8 Jan 2014 02:18:52 +0000 (20:18 -0600)]
Added sbr/dtimep.c to CLEANFILES so that make distcheck passes on
FreeBSD 9.

12 years agoClarified advisory message it test-mhfixmsg if a text browser
David Levine [Wed, 8 Jan 2014 01:51:58 +0000 (19:51 -0600)]
Clarified advisory message it test-mhfixmsg if a text browser
isn't available.

12 years agoUpdate this for From, Resent-From, and Envelope-From. Also document
Ken Hornstein [Wed, 8 Jan 2014 04:15:39 +0000 (23:15 -0500)]
Update this for From, Resent-From, and Envelope-From.  Also document
Attach even though the code hasn't been written yet.

12 years agoPrevent message status allocation code from overflowing if we get a
Ken Hornstein [Tue, 7 Jan 2014 16:45:24 +0000 (11:45 -0500)]
Prevent message status allocation code from overflowing if we get a
message number that is too high; simply abort instead.

12 years agoReplaced hidden make_mime_composition_file_entry() used by attach()
David Levine [Tue, 7 Jan 2014 02:49:18 +0000 (20:49 -0600)]
Replaced hidden make_mime_composition_file_entry() used by attach()
with public construct_build_directive().

12 years agoHere's a better fix for the whatnow tests: set and export
David Levine [Tue, 7 Jan 2014 01:14:20 +0000 (19:14 -0600)]
Here's a better fix for the whatnow tests:  set and export
TERM at the beginning of each test so that valgrind can be
supported.

12 years agoRemoved remaining run_prog's from tests that set an
David Levine [Mon, 6 Jan 2014 17:30:42 +0000 (11:30 -0600)]
Removed remaining run_prog's from tests that set an
environment variable.

12 years agoAdd a test for the new curses-based format escapes.
Ken Hornstein [Mon, 6 Jan 2014 16:20:47 +0000 (11:20 -0500)]
Add a test for the new curses-based format escapes.

12 years agoFixed description of send -attach switch in whatnow: its argument
David Levine [Sun, 5 Jan 2014 20:48:18 +0000 (14:48 -0600)]
Fixed description of send -attach switch in whatnow:  its argument
is the header file name, not a filename.

12 years agoRemoved remaining globals in uip/attach.c.
David Levine [Sun, 5 Jan 2014 16:01:48 +0000 (10:01 -0600)]
Removed remaining globals in uip/attach.c.

12 years agoGot rid of a couple of globals used by attach get_line().
David Levine [Sun, 5 Jan 2014 15:51:53 +0000 (09:51 -0600)]
Got rid of a couple of globals used by attach get_line().

12 years agoMoved the functions that implement whatnow attach from
David Levine [Sun, 5 Jan 2014 15:39:11 +0000 (09:39 -0600)]
Moved the functions that implement whatnow attach from
uip/sendsbr.c to new uip/attach.c.

12 years agoIn whatnow help, don't show that detached can be abbreviated
David Levine [Sun, 5 Jan 2014 14:28:58 +0000 (08:28 -0600)]
In whatnow help, don't show that detached can be abbreviated
with "de", because that conflicts with "delete".

12 years agoWhoops, I'm supposed to NUL-terminate the string, not set the actual pointer
Ken Hornstein [Sun, 5 Jan 2014 01:44:21 +0000 (20:44 -0500)]
Whoops, I'm supposed to NUL-terminate the string, not set the actual pointer
itself!

12 years agoMake sure scan.curses is installed & distributed.
Ken Hornstein [Sat, 4 Jan 2014 19:01:58 +0000 (14:01 -0500)]
Make sure scan.curses is installed & distributed.

12 years agoSupport for sending color escape sequences retrieved from terminfo(5).
Ken Hornstein [Sat, 4 Jan 2014 05:59:38 +0000 (00:59 -0500)]
Support for sending color escape sequences retrieved from terminfo(5).

12 years agoAdd support for %(hascolor), and a new function for parameterized
Ken Hornstein [Fri, 3 Jan 2014 20:55:10 +0000 (15:55 -0500)]
Add support for %(hascolor), and a new function for parameterized
terminfo capabilities.

12 years agoDocument %(nodate), and update things a bit.
Ken Hornstein [Fri, 3 Jan 2014 19:40:35 +0000 (14:40 -0500)]
Document %(nodate), and update things a bit.

12 years agoGarbage collect some Autoconf cruft that has been around a lot longer
Ken Hornstein [Fri, 3 Jan 2014 16:43:16 +0000 (11:43 -0500)]
Garbage collect some Autoconf cruft that has been around a lot longer
than necessary.

12 years agoAlso make sure outc() uses TPUTS_PUTC_ARG.
Ken Hornstein [Fri, 3 Jan 2014 16:06:29 +0000 (11:06 -0500)]
Also make sure outc() uses TPUTS_PUTC_ARG.

12 years agoWhoops, I forgot that AC_CACHE_CHECK calls AC_MSG_RESULT.
Ken Hornstein [Fri, 3 Jan 2014 16:05:18 +0000 (11:05 -0500)]
Whoops, I forgot that AC_CACHE_CHECK calls AC_MSG_RESULT.

12 years agoCreate an autoconf test to determine the argument of the tputs() callback.
Ken Hornstein [Fri, 3 Jan 2014 15:44:59 +0000 (10:44 -0500)]
Create an autoconf test to determine the argument of the tputs() callback.

12 years agoRemove checks for termcap.h and ncurses/termcap.h, since we're not using
Ken Hornstein [Fri, 3 Jan 2014 14:27:39 +0000 (09:27 -0500)]
Remove checks for termcap.h and ncurses/termcap.h, since we're not using
those header files anymore.

12 years agoSigh. Fix up missing conversion from clear->ti_clear.
Ken Hornstein [Fri, 3 Jan 2014 05:42:05 +0000 (00:42 -0500)]
Sigh.  Fix up missing conversion from clear->ti_clear.

12 years agoI guess we can't include both termcap and terminfo headers on Solaris.
Ken Hornstein [Fri, 3 Jan 2014 05:30:15 +0000 (00:30 -0500)]
I guess we can't include both termcap and terminfo headers on Solaris.

12 years agoinclude curses.h so this (hopefully) now works on Solaris.
Ken Hornstein [Fri, 3 Jan 2014 05:15:56 +0000 (00:15 -0500)]
include curses.h so this (hopefully) now works on Solaris.

12 years agoConvert all of the terminal functions over to terminfo(5) instead of
Ken Hornstein [Fri, 3 Jan 2014 04:59:57 +0000 (23:59 -0500)]
Convert all of the terminal functions over to terminfo(5) instead of
the older termcap.

Move the terminal-specific code from fmt_compile.c to terminal.c, so it
is all in one place.

12 years agoGarbage collect unused code.
Ken Hornstein [Thu, 2 Jan 2014 20:55:33 +0000 (15:55 -0500)]
Garbage collect unused code.

12 years agoRemove baudrate-handing code.
Ken Hornstein [Thu, 2 Jan 2014 20:52:49 +0000 (15:52 -0500)]
Remove baudrate-handing code.

12 years agoAlways emit an STR instruction for terminal escape sequences, otherwise you
Ken Hornstein [Thu, 2 Jan 2014 20:04:17 +0000 (15:04 -0500)]
Always emit an STR instruction for terminal escape sequences, otherwise you
can get unintended results (like printint the previous contents of the str
register, which is almost certainly what you don't want).

12 years agoSwitch from the M-X format for characters with the high bit set to
Ken Hornstein [Thu, 2 Jan 2014 20:00:46 +0000 (15:00 -0500)]
Switch from the M-X format for characters with the high bit set to
\xXX instead when printing format strings and other characters.

12 years agoFix problem with %(putlit) and %(zputlit) causing a SIGSEGV
Ken Hornstein [Thu, 2 Jan 2014 19:46:52 +0000 (14:46 -0500)]
Fix problem with %(putlit) and %(zputlit) causing a SIGSEGV
if str is NULL.

12 years agoDrop support for different behavior on hardcopy terminals. It's 2014,
Ken Hornstein [Thu, 2 Jan 2014 18:54:07 +0000 (13:54 -0500)]
Drop support for different behavior on hardcopy terminals.  It's 2014,
I'm assuming this is not a valid concern anymore.

12 years agoMove the termsbr code into the libmh library, where it belongs.
Ken Hornstein [Thu, 2 Jan 2014 16:38:20 +0000 (11:38 -0500)]
Move the termsbr code into the libmh library, where it belongs.

12 years agoGive up on fmt_compile.c for now.
David Levine [Wed, 1 Jan 2014 19:43:51 +0000 (13:43 -0600)]
Give up on fmt_compile.c for now.

12 years agoThat didn't work. Try including termcap.h first, instead of
David Levine [Wed, 1 Jan 2014 19:21:56 +0000 (13:21 -0600)]
That didn't work.  Try including termcap.h first, instead of
ncurses/termcap.h.

12 years agoChanged several globals to be static, to avoid collision,
David Levine [Wed, 1 Jan 2014 19:18:08 +0000 (13:18 -0600)]
Changed several globals to be static, to avoid collision,
notably with "filter" in libtermcap.so, on Solaris.

12 years agoTry including termcap.h before curses.h to see if that solves
David Levine [Wed, 1 Jan 2014 19:16:48 +0000 (13:16 -0600)]
Try including termcap.h before curses.h to see if that solves
the tputs() mismatch on Solaris.

12 years agoIt looks like some systems also need curses.h as well as term.h
Ken Hornstein [Tue, 31 Dec 2013 20:29:40 +0000 (15:29 -0500)]
It looks like some systems also need curses.h as well as term.h

12 years agoAdd support for outputing a few (limited) terminal attributes in format
Ken Hornstein [Tue, 31 Dec 2013 20:20:22 +0000 (15:20 -0500)]
Add support for outputing a few (limited) terminal attributes in format
sequences.  Needs documentation and some expansion.

12 years agoMake sure that branching instructions are traced even if we're executing the
Ken Hornstein [Tue, 31 Dec 2013 20:19:21 +0000 (15:19 -0500)]
Make sure that branching instructions are traced even if we're executing the
branch (previously, they would only be traced if they did not execute the
branch).

12 years agoChange fmttest to use litputs() on str and output buffers during tracing.
Ken Hornstein [Tue, 31 Dec 2013 05:13:21 +0000 (00:13 -0500)]
Change fmttest to use litputs() on str and output buffers during tracing.

12 years agoGeneralized the valgrind suppression for sendmsg via readLine.
David Levine [Sun, 29 Dec 2013 14:01:28 +0000 (08:01 -0600)]
Generalized the valgrind suppression for sendmsg via readLine.

12 years agoAdded test/valgrind.supp to EXTRA_DIST in Makefile.am so that
David Levine [Sun, 29 Dec 2013 00:24:54 +0000 (18:24 -0600)]
Added test/valgrind.supp to EXTRA_DIST in Makefile.am so that
NMH_VALGRIND=1 works with make distcheck.

12 years agoRemoved one run_prog from test-pick because it loses the setting
David Levine [Sun, 29 Dec 2013 00:23:49 +0000 (18:23 -0600)]
Removed one run_prog from test-pick because it loses the setting
of the LC_CTYPE environment variable.