head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.108 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.106 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.104 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.102 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.100 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.98 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.96 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.94 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.92 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.90 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.88 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.86 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.84 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.82 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.80 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.78 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.76 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.74 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.72 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.70 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.68 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.66 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.64 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.60 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.40 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.62 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.58 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.56 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.54 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.52 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.50 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.48 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.46 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.44 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.42 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.38 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.36 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.34 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.32 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.30 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.28 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.26 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.24 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.22 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.20 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.18 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.16 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.14 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.12 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.10 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.8 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.6 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.4 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.6.0.10 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.8 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.6 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.2 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.5.0.52 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.50 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.48 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.46 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.44 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.42 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.40 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.38 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.36 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.34 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.32 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.30 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.28 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.26 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.24 pkgsrc-2008Q1:1.5.0.22 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.20 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.18 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.16 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.14 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.12 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.10 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.8 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.6 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.4 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.2 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.3 netbsd-1-4-PATCH001:1.3 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.2 netbsd-1-3-PATCH002:1.1.1.1 FreeBSD-current-1998-02-11:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.7 date 2012.12.12.12.35.21; author wiz; state Exp; branches; next 1.6; 1.6 date 2011.08.01.09.30.33; author adam; state Exp; branches; next 1.5; 1.5 date 2005.07.11.17.29.16; author veego; state Exp; branches; next 1.4; 1.4 date 2005.06.19.11.34.45; author veego; state Exp; branches; next 1.3; 1.3 date 99.04.14.21.13.24; author tron; state Exp; branches; next 1.2; 1.2 date 98.08.07.10.36.43; author agc; state Exp; branches; next 1.1; 1.1 date 98.02.11.18.29.26; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.02.11.18.29.26; author tron; state Exp; branches; next ; desc @@ 1.7 log @Update to 2.6.1, from diro in PR 47209. Relevant ChangeLog entries since 2.5: * src/main.c, src/minicom.c: iconv: Handle the case that iconv did not convert anything. Reported by Mike Crowe, Debian #659351. * src/ipc.c: Formatting cleanup. * src/main.c: ETIME -> ETIMEDOUT as ETIME is not available on BSDs * src/main.c: Fix invalid memory used, reported by Larry Baker * src/config.c, src/rwconf.c: Do not set modem init and reset string anymore, define them empty. Instead, when editing those offer them as a default. * src/minicom.h, src/main.c, src/dial.c: only update statusline if there's a change (e.g. for updates times) * src/updown.c: Flush before forking helper program, patch by Domen Puncer, thanks! * src/minicom.c, src/minicom.h, src/vt100.c: Add timestamps with milliseconds, based on patch by Rapha�l Ass�nat, thanks! * src/dial.c, src/minicom.c, src/main.c: Cleanups. Print basename of current device to statusline if online time is disabled. * configure.in, src/Makefile.am, src/main.c, src/minicom.c, src/minicom.h, src/updown.c: Add lockdev support, by Ludwig Nussel * src/dial.c: add a dialdir version 6 which does not save the pointer on disk and should now work on 32 and 64 bit systems equally. * configure.in: Use AM_ICONV_LINK... * src/script.c: Fix a buffer overflow problem. Thanks Frederic Germain. * src/minicom.c: Do not use iconv-functions if iconv is not available. * src/config.c, src/main.c, src/vt100.c, src/vt100.h: Add transmit delay for every character, based on patch by Nicolas PILLON. * src/config.c: Do not extend tilde to home directory for non-path arguments. Debian bug #621741 * configure.in, src/Makefile.am: Add workaround and then use libiconv for linking, fixes build issue on Mac OS X. * src/main.c: Increase serial port open timeout, by Lubomir Rintel * src/main.c: Set sensible errno if port open times out, by Lubomir Rintel * src/help.c: Help fix for timestamp toggle by Mark Einon * src/minicom.c: Code consolidation. * src/minicom.c, src/minicom.h, src/vt100.c, man/minicom.1: Make line timestamps three value: every line, every second, and off. * man/minicom.1: Wording fix. * src/vt100.c: Cleanups: Delete everything that was in OLD blocks. Do not explicitly set global variables to 0. * src/vt100.c, man/minicom.1: Change timestamp style, prepend every line. Add in manpage. * src/dial.c src/help.c src/ipc.c src/minicom.c src/minicom.h src/vt100.c src/vt100.h: Addition by Mark Einon to add current date/time to each line. * src/file.c: Only enter directory if we have read permissions to get directory listings, by Jan Görig. * src/file.c, src/getsdir.c: Cleanup and simplify. * man/runscript.1, man/minicom.1: Fixes by John Bradshaw * src/main.c: Avoid redraw of status line in Offline mode when nothing changed. * src/minicom.c: Do not lose line wrap setting over terminal resizes. * src/main.c: Simplify status line update, also makes status messages display the amount of time they are actually supposed to display. @ text @$NetBSD: patch-ae,v 1.6 2011/08/01 09:30:33 adam Exp $ Needs sys/types.h. --- src/windiv.c.orig 2009-12-12 15:47:47.000000000 +0000 +++ src/windiv.c @@@@ -20,6 +20,7 @@@@ #include #endif +#include #include #include #include "port.h" @ 1.6 log @Changes 2.5: * Handle device reconnected more smoothly (USB-serial dongles) * Translation updates: Danish * Several fixes (see ChangeLog) Changes 2.4: * Add -D and -b options to specify device and baud rate on the command line. * Do character conversion between local and remote side (-R option) * Added indonesian translation * Compatibility fixes for recent build environments * Remove code that handled very old systems Changes 2.3: * Fix build on Mac OS X * New version of the dial format to be little and big endian as well as 32/64 bit safe * Support more baud rates * Handle device disappearances (e.g. serial-USB device unplug) * Various build and other fixes Changes 2.2: * Vietnamese translation added * Norwegian translation added * Traditional chinese translation added * Swedish translation added * Romanian translation added * default to 8bit mode if LANG or LC_ALL are set * default baud rate set to 115200 * Various code cleanups and fixes @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2005/07/11 17:29:16 veego Exp $ d3 7 a9 3 --- src/windiv.c.orig 2003-04-22 01:56:46.000000000 +0200 +++ src/windiv.c 2005-06-29 07:03:12.000000000 +0200 @@@@ -22,2 +22,3 @@@@ d13 2 @ 1.5 log @Generate a new patch file, with diff -U 1, to fix a problem on MacOS X in pkg/29026. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -21,2 +21,3 @@@@ @ 1.4 log @Update to 2.1. Too many Changes to list here (Changelog is too long), so only whats new in 2.1: - applied some pending patches (see ChangeLog for a complete list) - added support for socket connections - fixed compiling issues on Solaris - new maintainer: Adam Lackorzynski - new homepage: http://minicom.alioth.debian.org/ - new mailinglists (-devel and -announce): http://alioth.debian.org/mail/?group_id=31 NetBSD patches: - Include to fix PR pkg/29026 (1st error) - Fix i18n error for PR pkg/29939, which should also fix PR pkg29026 (2nd error) - Remove the create-dev-link script, which fix PR pkg/29026 (3rd error) The system administrator is expected to setup the correct configuration of the modem device. - Updated patches and removed patch-af and patch-ag - Fix the path for the lrzsz and gkermit tools in the default configuration - Remove the old share/doc/minicom dir, because the new Makefiles doesn't install them and they are outdated @ text @d4 2 a5 2 +++ src/windiv.c 2005-06-19 11:21:11.000000000 +0200 @@@@ -21,4 +21,5 @@@@ a8 2 #include #include "port.h" @ 1.3 log @Update "minicom" package to version 1.82.1. @ text @d3 3 a5 10 --- po/Makefile.orig Sun Jan 10 01:22:51 1999 +++ po/Makefile Wed Apr 14 22:57:19 1999 @@@@ -1,7 +1,6 @@@@ -INSTALL= /usr/bin/install -c -INSTALL_PROGRAM= ${INSTALL} -INSTALL_DATA= ${INSTALL} -m 644 -INSTALLNLSDIR=/usr/share/locale +INSTALL_DATA= ${BSD_INSTALL_DATA} +INSTALL_DATA_DIR= ${BSD_INSTALL_DATA_DIR} +INSTALLNLSDIR= ${PREFIX}/share/locale d7 4 a10 15 MSGMERGE = msgmerge @@@@ -52,9 +51,9 @@@@ install: $(CATALOGS) for n in $(CATALOGS); do \ l=`basename $$n .mo`; \ - $(INSTALL) -m 755 -d $(R)$(INSTALLNLSDIR)/$$l; \ - $(INSTALL) -m 755 -d $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ - $(INSTALL) -m 644 $$n $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/minicom.mo; \ + $(INSTALL_DATA_DIR) $(R)$(INSTALLNLSDIR)/$$l; \ + $(INSTALL_DATA_DIR) $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES; \ + $(INSTALL_DATA) $$n $(R)$(INSTALLNLSDIR)/$$l/LC_MESSAGES/minicom.mo; \ done %.mo: %.po @ 1.2 log @Add NetBSD RCS Ids. @ text @d3 10 a12 5 --- minicom.c.orig Sat Sep 27 17:03:30 1997 +++ minicom.c Fri Jan 9 19:59:13 1998 @@@@ -530,7 +530,8 @@@@ /* Loop again if more options */ } while(optind < argk); d14 15 a28 6 - if (real_uid == 0 && dosetup == 0) { + /* also allow root to run minicom with `-d' switch */ + if (real_uid == 0 && dosetup == 0 && cmd_dial == NULL) { fprintf(stderr, "%s%s%s", "minicom: WARNING: please don't run minicom as root when not maintaining\n", " it (with the -s switch) since all changes to the\n", @ 1.1 log @Initial revision @ text @d1 2 @ 1.1.1.1 log @Initial import of FreeBSD's "minicom" port. @ text @@