Skip to content

Commit 8f348a6

Browse files
committed
refresh man
1 parent 050d950 commit 8f348a6

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

pspg.1

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with Ronn-NG/v0.10.1
22
.\" 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"
44
.SH "NAME"
55
\fBpspg\fR \- Postgres Pager
66
.P
@@ -79,7 +79,7 @@ General options:
7979
\-f, \-\-file=FILE open file
8080
\-F, \-\-quit\-if\-one\-screen
8181
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)
8383
\-\-esc\-delay=NUM specify escape delay in ms (\-1 inf, 0 not used, )
8484
\-\-interactive force interactive mode
8585
\-\-ignore_file_suffix don't try to deduce format from file suffix
@@ -168,7 +168,7 @@ Debug options:
168168
.P
169169
pspg shares a lot of key commands with the less pager or the vi editor\.
170170
.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\.
172172
.SH "Environment variables"
173173
.TS
174174
allbox;
@@ -446,12 +446,14 @@ Column search is case insensitive every time\. Searched column is marked by vert
446446
.SH "Export & Clipboard"
447447
For clipboard support the clipboard application should be installed: 1\. wl\-clipboard (Wayland),
448448
.IP "1." 4
449-
xclip (xwindows) or 3\. pbcopy (MacOS)\.
449+
xclip (xwindows), 3\. pbcopy (MacOS) or 4\. clip\.exe (WSL2)\.
450450
.IP "" 0
451451
.P
452452
\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\.
453453
.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\.
455457
.SH "Status line description"
456458
.IP "\(bu" 4
457459
\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
617619
.IP "" 0
618620
.P
619621
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
620632
.SH "Note \- mouse"
621633
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\.
622634
.SH "Note \- true color themes on KDE konsole terminal"

0 commit comments

Comments
 (0)