head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.108 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.106 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.104 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.102 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.100 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.98 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.96 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.94 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.92 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.90 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.88 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.86 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.84 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.82 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.80 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.78 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.76 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.74 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.72 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.70 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.68 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.66 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.64 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.60 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.40 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.62 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.58 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.56 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.54 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.52 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.50 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.48 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.46 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.44 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.42 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.38 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.36 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.34 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.32 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.30 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.28 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.26 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.24 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.22 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.20 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.18 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.16 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.14 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.12 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.3.0.8 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.6 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.2 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.1.0.50 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.48 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.46 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.44 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.42 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.40 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.38 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.36 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.34 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.32 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.30 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.28 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.26 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.24 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.22 pkgsrc-2008Q1:1.1.0.20 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.18 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.16 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.14 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.12 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.10 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.8 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.6 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.4 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.2 pkgsrc-2005Q4-base:1.1; locks; strict; comment @# @; 1.4 date 2012.12.12.12.35.21; author wiz; state Exp; branches; next 1.3; 1.3 date 2011.12.05.08.10.18; author adam; state Exp; branches; next 1.2; 1.2 date 2011.08.01.09.30.33; author adam; state Exp; branches; next 1.1; 1.1 date 2005.12.19.14.34.33; author joerg; state Exp; branches; next ; desc @@ 1.4 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-ah,v 1.3 2011/12/05 08:10:18 adam Exp $ Needs limits.h and NAME_MAX defined, if it's not already. --- src/getsdir.h.orig 2009-12-12 15:47:47.000000000 +0000 +++ src/getsdir.h @@@@ -23,9 +23,14 @@@@ */ #include +#include typedef struct dirEntry { /* structure of data item */ +#ifdef NAME_MAX + char fname[NAME_MAX + 1]; +#else char fname[MAXNAMLEN + 1]; /* filename + terminating null */ +#endif time_t time; /* last modification date */ mode_t mode; /* file mode (dir? etc.) */ ushort cflags; /* caller field for convenience */ @ 1.3 log @Put back and fix PR#45540 @ text @d1 3 a3 1 $NetBSD: patch-ah,v 1.2 2011/08/01 09:30:33 adam Exp $ d7 3 a9 1 @@@@ -25,7 +25,12 @@@@ @ 1.2 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$ d5 1 a5 1 @@@@ -25,7 +25,11 @@@@ d7 1 @ 1.1 log @Remove redundant errno. Prefer NAME_MAX over MAXNAMLEN. @ text @d3 1 a3 1 --- src/getsdir.h.orig 2005-12-19 14:24:44.000000000 +0000 d5 1 a5 3 @@@@ -19,9 +19,14 @@@@ */ a6 1 +#include d10 1 a10 1 + char fname[NAME_MAX + 1]; d12 1 a12 1 char fname[MAXNAMLEN + 1]; /* filename + terminating null */ d14 3 a16 3 time_t time; /* last modification date */ mode_t mode; /* file mode (dir? etc.) */ ushort cflags; /* caller field for convenience */ @