head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.84 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.82 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.80 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.78 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.76 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.74 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.72 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.70 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.68 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.66 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.64 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.62 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.60 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.58 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.56 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.54 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.52 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.50 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.48 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.46 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.44 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.42 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.40 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.36 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.16 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.38 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.34 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.32 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.30 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.28 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.26 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.24 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.22 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.20 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.18 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.14 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.12 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.10 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.8 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.6 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.4 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.2 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.2.0.96 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.94 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.92 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.90 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.88 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.86 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.84 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.82 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.80 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.78 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.76 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.74 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.72 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.70 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.68 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.66 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.64 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.62 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.60 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.58 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.56 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.54 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.52 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.50 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.48 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.46 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.44 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.42 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.40 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.38 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.36 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.34 pkgsrc-2008Q1:1.2.0.32 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.30 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.28 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.26 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.24 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.22 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.20 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.18 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.16 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.14 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.12 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.3 date 2015.10.14.18.32.54; author wiz; state Exp; branches; next 1.2; commitid WxSDqrjR0eRuE6Fy; 1.2 date 2004.03.29.03.11.03; author grant; state Exp; branches; next 1.1; 1.1 date 2001.05.22.05.28.24; author jlam; state Exp; branches; next ; desc @@ 1.3 log @Fix build with latest readline. @ text @$NetBSD: patch-ad,v 1.2 2004/03/29 03:11:03 grant Exp $ --- src/sqsh_readline.c.orig 2001-11-05 16:05:56.000000000 +0000 +++ src/sqsh_readline.c @@@@ -33,17 +33,7 @@@@ #if defined(USE_READLINE) #include - -/* - * Readline history functions - for some reason not all - * readline installs have history.h available, so we do - * this. - */ -extern void stifle_history(); -extern int read_history(); -extern int write_history(); -extern void add_history(); - +#include #endif /* USE_READLINE */ /*-- Current Version --*/ @@@@ -129,7 +119,7 @@@@ int sqsh_readline_init() rl_readline_name = "sqsh" ; rl_completion_entry_function = (rl_compentry_func_t*)sqsh_completion ; - rl_attempted_completion_function = (CPPFunction*)sqsh_completion ; + rl_attempted_completion_function = sqsh_completion ; #endif /* USE_READLINE */ return True ; @ 1.2 log @Updated sqsh to 2.1. pkg related changes: honour PKG_SYSCONFDIR for sqshrc. Major changes since 1.7: * New build system/directory structure. Should build against ASE 12.0 and FreeTDS now. * Added support for varchar2() and varbinary2() for ASE 12.5 (I don't have a 12.5 instance to test against yet though). * Added \if command to perform conditional execution. Please read the manual carefully on how expressions work. * Added \while command to perform basic looping conditional expressions. * Added \break command to break out of current loop * Added \for command to perform basic iteration. * Added \do command to allow the exection of a sqsh script block once per row returned from statement. Also new #[0-9] variables may be used to refer to column names in result set. Also note that \do allows flags -U, -S, -P for execution of statements on other server or as other users. * Added \func command to create a sqsh function for later execution. Also, now ${[0-9]} now refer to the parameters to this function when it is called. Note that by passing -x to \func, the function will be exported as a full sqsh command, and can be called directly without calling \call. * Added \return to return from current function. * Obviously, added \call to call sqsh function. * New variable $? contains: - Return status of command executed on pipe '|' - Return status of expression evaluated for \while or \if. - Last server error number of severity > 10 (@@@@error). This is useful for flow-of-control using the new conditional statements. * Added a directory of handy filter scripts. * Fixed \rpc command with @@variable names. * \exit now exits sqsh, no matter how many \loop nesting levels you are in. * The user will now be re-prompted to enter a password if a "Login failed." message is received from the server. This may be disabled using the new $password_retry variable. * Got rid of error message about ct_exit() not being called. * Created new 'make distrib' option to build a self-contained sqsh binary distribution. * $rcfile and $SQSHRC may now be colon delimited lists of sqshrc files. This allows for system-wide rc files to be loaded first before local files. Also, the default $SQSHRC setting is now "/usr/local/etc/sqshrc:$HOME/.sqshrc" (the /usr/local will be automatically replaced by the contents of --prefix when passed to configure). * Fixed -C. * $SQSHRC no longer needs to be writable. * sqsh no longer pays attention to quotes inside of comments during variable expansion. * Fixed bcp'ing of results from stored procedures. * libsybtcl will now be chosen if available. * 'exact' mode keyword expansion should now work better (thanks to Sean Woolcock. * Added $bcp_colsep and $bcp_rowsep configuration variables to control the separators used during "go -m bcp". * Added $bcp_trim to configure whether or not trailing spaces are trimmed in the bcp output. * Fixed segfault in "pretty" display mode. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2001/05/22 05:28:24 jlam Exp $ d3 3 a5 3 --- src/sqsh_readline.c.orig Tue Jan 5 21:30:16 1999 +++ src/sqsh_readline.c Tue May 22 01:03:21 2001 @@@@ -32,17 +32,7 @@@@ d24 9 @ 1.1 log @Use editline readline emulation when available. Also install the man page for sqsh. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- sqsh_readline.c.orig Tue Jan 5 21:30:16 1999 +++ sqsh_readline.c Tue May 22 01:03:21 2001 @