App-DBBrowser
view release on metacpan or search on metacpan
bin/db-browser view on Meta::CPAN
149414951496149714981499150015011502150315041505150615071508150915101511151215131514=back
=head3 Mouse Mode
Set the I<Mouse mode> (see L<Term::Choose/mouse>).
=head3 DB2 Encoding
For C<DB2> databases only: set the application code set.
Data from a DB2 database is decoded using this encoding.
=head2 Help
Display this documentation.
=head2 Path
Displays the version and path of the running C<db-browser>, along with the application directory path.
=head1 CONFIGURATION FILES
bin/db-browser view on Meta::CPAN
15161517151815191520152115221523152415251526152715281529153015311532153315341535To locate the configuration files, run C<db-browser -h> and
select
I<Path>. The data is saved in JSON
format
.
=head1 REQUIREMENTS
=head2 Perl Version
Requires Perl version 5.16.0 or later.
=head2 Decoded Strings
C<db-browser> expects decoded strings.
Non-mappable characters can disrupt the output.
=head2 Terminal
Requires a terminal with a monospaced font supporting the printed characters.
The terminal must comprehend ANSI escape sequences. For MSWin32, C<App::DBBrowser> utilizes L<Win32::Console::ANSI> to
emulate an ANSI console for the C<db-browser>.
lib/App/DBBrowser/GetContent/Source.pm view on Meta::CPAN
230231232233234235236237238239240241242243244245246
$ax
->write_json(
$sf
->{i}{f_dir_history},
$h_ref
);
}
sub
__new_search_dir {
my
(
$sf
) =
@_
;
my
$tu
= Term::Choose::Util->new(
$sf
->{i}{tcu_default} );
my
$default_dir
=
$sf
->{d}{default_search_dir} //
$sf
->{i}{home_dir};
# Choose
my
$dir
=
$tu
->choose_a_directory(
{
init_dir
=>
$default_dir
,
decoded
=> 1,
clear_screen
=> 1,
confirm
=>
'-OK-'
,
back
=>
'<<'
}
);
if
(
$dir
) {
$sf
->{d}{default_search_dir} =
$dir
;
}
return
$dir
;
}
lib/App/DBBrowser/Opt/Set.pm view on Meta::CPAN
738739740741742743744745746747748749750751752753754755756757758
$sf
->{write_config}++;
return
;
}
sub
__choose_a_directory_wrap {
my
(
$sf
,
$section
,
$opt
,
$prompt
) =
@_
;
my
$tu
= Term::Choose::Util->new(
$sf
->{i}{tcu_default} );
#my $current = $sf->{o}{$section}{$opt};
my
$choice
=
$tu
->choose_a_directory(
{
show_hidden
=> 1,
prompt
=>
$prompt
,
clear_screen
=> 1,
decoded
=> 1,
confirm
=>
$sf
->{i}{confirm},
back
=>
$sf
->{i}{back} }
##
);
return
if
!
defined
$choice
;
$sf
->{o}{
$section
}{
$opt
} =
$choice
;
$sf
->{write_config}++;
return
;
}
sub
__group_readline {
( run in 0.258 second using v1.01-cache-2.11-cpan-454fe037f31 )