1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Author: Martin Pitt <mpitt@debian.org>
Description: Use Debian alternatives for external tools instead of hardcoded programs
Forwarded: No, Debian specific
Index: postgresql-9.1-9.1~rc1/src/bin/psql/print.h
===================================================================
--- postgresql-9.1-9.1~rc1.orig/src/bin/psql/print.h 2011-08-18 23:23:13.000000000 +0200
+++ postgresql-9.1-9.1~rc1/src/bin/psql/print.h 2011-08-21 10:07:15.654681131 +0200
@@ -172,7 +172,7 @@
extern const printTextFormat *get_line_style(const printTableOpt *opt);
#ifndef __CYGWIN__
-#define DEFAULT_PAGER "more"
+#define DEFAULT_PAGER "/usr/bin/pager"
#else
#define DEFAULT_PAGER "less"
#endif
Index: postgresql-9.1-9.1~rc1/src/bin/psql/settings.h
===================================================================
--- postgresql-9.1-9.1~rc1.orig/src/bin/psql/settings.h 2011-08-18 23:23:13.000000000 +0200
+++ postgresql-9.1-9.1~rc1/src/bin/psql/settings.h 2011-08-21 10:07:55.264681395 +0200
@@ -20,8 +20,8 @@
#define DEFAULT_EDITOR "notepad.exe"
/* no DEFAULT_EDITOR_LINENUMBER_ARG for Notepad */
#else
-#define DEFAULT_EDITOR "vi"
-#define DEFAULT_EDITOR_LINENUMBER_ARG "+"
+#define DEFAULT_EDITOR "sensible-editor"
+/*#define DEFAULT_EDITOR_LINENUMBER_ARG "+"*/
#endif
#define DEFAULT_PROMPT1 "%/%R%# "
|