Bump to 11.97
[perl-DBI-Shell.git] / dbish_config
blobba9b109d86c7dfc568a29a29390e8db0b6ccf21f
1 #   perl
2 # vim:ts=4:sw=4:ai:aw
5         #
6         # Options allow any changes, additions, overloading, or removal of
7         # "/option" values or function.  Options is executate when the
8         # configuration is loaded.
9         #
10         'options' => [
11                 [ 'editor'  => qq{vim}  ],
12         #       [ 'prompt'  => qq{connect--}  ],
13                 [ 'sqlpath' => join( ':', q{.},  qq{$ENV{HOME}/sql}) ],
14                 [ 'tmp_dir' => qq{/tmp} ],
15                 [ 'tmp_file'=> qq{dbish$$.sql} ],
16         ],
17         #
18         # Plug in modules during different stages of the application
19         #
20         'plug-ins' => {
21                 'pre-init'     => undef,
22                 'post-init'    => [ 
23                           DBI::Shell::Timing
24                         , DBI::Shell::Completion
25                         , DBI::Shell::Spool 
26                         ],
27                 'pre-connect'  => undef,
28                 'post-connect' => {
29                         'non-database' => [ DBI::Shell::SQLMinus ],
30                         'database'      => {
31                                 'ADO' => { 
32                                         'options'       => [ [ 'prompt' => qq{ado--}   ] ] 
33                                 },
34                                 'AnyData' => { 
35                                         'plugin'        => [ DBI::Shell::AnyData ], 
36                                         'options'       => [ [ 'prompt' => qq{anydata--}   ] ] 
37                                 },
38                                 'mysql' => { 
39                                         'options'       => [ [ 'prompt' => qq{mysql--} ] ] 
40                                 },
41                                 'ODBC' => undef,
42                                 'Oracle' => undef,
43                         },
44                         'options' => [ [ 'format' => qq{sqlm} ] ],
45                 },
46         },
50 # $Log: dbish_config,v $
51 # Revision 11.91  2002/12/13 23:44:56  tlowery
52 # Fixed version numbers
54 # Revision 11.6  2002/10/28 02:49:57  tlowery
55 # Release 11.6
57 # Revision 11.5  2002/04/17 15:03:16  tlowery
58 # Added the begining of column_info support.
60 # Revision 11.4  2002/04/09 10:52:12  tlowery
61 # Continued to improve support for formatting.  Added more tests.
63 # Revision 11.3  2002/01/02 03:14:59  tlowery
64 # Modified to include new formats.
66 # Changed displaymode to format.
68 # Cleaned up a number of "undefined" messages.
70 # Revision 11.2  2001/10/29 15:56:00  tlowery
71 # Added timing tests.
72 # Added go with empty buffer gets the last command and executes.
73 # Added support for negative numbers with get.
74 # Fixed undef warnings from histories.
76 # Revision 1.10  2001/08/30 12:46:17  tlowery
77 # Added "options" call to dbish_config
79 # Revision 1.9  2001/05/31 04:21:32  tlowery
80 # Continue to modify to support SQLMinus
82 # Revision 1.8  2001/05/29 22:59:53  tlowery
83 # *** empty log message ***
85 # Revision 1.7  2001/04/10 13:35:32  tlowery
86 # Tested the ability to comment out parts of the config file.
88 # Revision 1.6  2001/04/07 04:01:58  tlowery
90 # Added more options to configuration file.
92 # Revision 1.5  2001/04/01 17:04:20  tlowery
93 # Added cvs tag.