|
1 | 1 | .\" generated with Ronn-NG/v0.10.1
|
2 | 2 | .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3 |
| -.TH "PSPG" "1" "March 2024" "" "pspg manual" |
| 3 | +.TH "PSPG" "1" "September 2024" "" "pspg manual" |
4 | 4 | .SH "NAME"
|
5 | 5 | \fBpspg\fR \- Postgres Pager
|
6 | 6 | .P
|
@@ -79,7 +79,7 @@ General options:
|
79 | 79 | \-f, \-\-file=FILE open file
|
80 | 80 | \-F, \-\-quit\-if\-one\-screen
|
81 | 81 | quit if content is one screen
|
82 |
| - \-\-clipboard\-app=NUM specify app used by copy to clipboard (1, 2, 3) |
| 82 | + \-\-clipboard\-app=NUM specify app used by copy to clipboard (1, 2, 3, 4) |
83 | 83 | \-\-esc\-delay=NUM specify escape delay in ms (\-1 inf, 0 not used, )
|
84 | 84 | \-\-interactive force interactive mode
|
85 | 85 | \-\-ignore_file_suffix don't try to deduce format from file suffix
|
@@ -168,7 +168,7 @@ Debug options:
|
168 | 168 | .P
|
169 | 169 | pspg shares a lot of key commands with the less pager or the vi editor\.
|
170 | 170 | .P
|
171 |
| -Options can be passed within the environment variable \fBPSPG\fR, too\. |
| 171 | +Options can also be passed within the \fBPSPG\fR environment variable\. Configuration file is processed first\. Options from the \fBPSPG\fR variable are processed afterwards step and command line options are processed at the end\. One option can be processed multiple times, the last value wins\. |
172 | 172 | .SH "Environment variables"
|
173 | 173 | .TS
|
174 | 174 | allbox;
|
@@ -446,12 +446,14 @@ Column search is case insensitive every time\. Searched column is marked by vert
|
446 | 446 | .SH "Export & Clipboard"
|
447 | 447 | For clipboard support the clipboard application should be installed: 1\. wl\-clipboard (Wayland),
|
448 | 448 | .IP "1." 4
|
449 |
| -xclip (xwindows) or 3\. pbcopy (MacOS)\. |
| 449 | +xclip (xwindows), 3\. pbcopy (MacOS) or 4\. clip\.exe (WSL2)\. |
450 | 450 | .IP "" 0
|
451 | 451 | .P
|
452 | 452 | \fBpspg\fR try to translate unicode symbol '∅' to NULL every time\. If you don't use special setting by \fB\epset null \|\.\|\.\|\.\fR, then \fBpsql\fR displays empty string instead NULL\. \fBpspg\fR hasn't any special detection (in export routines) for this case\. You should to check and enable or disable menu item \fBEmpty string is NULL\fR\.
|
453 | 453 | .P
|
454 |
| -\fBpspg\fR has automatic detection of clipboard application\. Unfortunately, this detection should not to work for same cases\. You can specify the application by specify number (1,2,3) to \fB\-\-clipboard\-app\fR option\. |
| 454 | +\fBpspg\fR has automatic detection of clipboard application\. Unfortunately, this detection should not to work for same cases\. You can specify the application by specify number (1,2,3,4) to \fB\-\-clipboard\-app\fR option\. |
| 455 | +.P |
| 456 | +Formats make a difference! pspg copies records in CSV format by default, which uses comma separators and \fBtrims initial and trailing whitespace\fR\. Use "formatted text" to copy query output exactly, or choose one of the other available options\. |
455 | 457 | .SH "Status line description"
|
456 | 458 | .IP "\(bu" 4
|
457 | 459 | \fBV: [d/d d\.\.d]\fR \- vertical cursor: (column number)/(columns) (char positions from) \.\. (char positions to)
|
@@ -617,6 +619,16 @@ sys | get cpu | to csv | pspg \-\-csv
|
617 | 619 | .IP "" 0
|
618 | 620 | .P
|
619 | 621 | Note: \fBfooter_mode\fR should be disabled
|
| 622 | +.P |
| 623 | +nushell configuration: |
| 624 | +.IP "" 4 |
| 625 | +.nf |
| 626 | +$env\.config\.footer_mode = never |
| 627 | +$env\.config\.table\.header_on_separator = false |
| 628 | +$env\.config\.ls\.clickable_links = false |
| 629 | +$env\.config\.table\.mode = rounded |
| 630 | +.fi |
| 631 | +.IP "" 0 |
620 | 632 | .SH "Note \- mouse"
|
621 | 633 | pspg try to use xterm mouse mode 1002, when terminal and ncurses are not too antique\. If there are problems with usage \- unwanted visual artefacts when you move with mouse when some mouse button is pressed, then 1\. please, report issue (please, attach log file), 2\. use an option \fB\-\-no\-xterm\-mouse\-mode\fR and \fBpspg\fR will not try to activate this mode\.
|
622 | 634 | .SH "Note \- true color themes on KDE konsole terminal"
|
|
0 commit comments