pspg - psql pager
Hi
I finished new pager, that can be interesting for postgresql expert users.
It demonstrate some possibilities of TUI and I hope it shows some possible
directions of future possibilities of psql.
It is available as rpm from our repository or you can get source code from
github
I invite any discussion about this project.
Pavel
p.s. I hope so this pager is useful - I know some users who use it few
months intensively. But the source code has proof concept quality. It
should be cleaned next year.
På onsdag 15. november 2017 kl. 10:41:45, skrev Pavel Stehule <
pavel.stehule@gmail.com <mailto:pavel.stehule@gmail.com>>:
Hi
I finished new pager, that can be interesting for postgresql expert users.
It demonstrate some possibilities of TUI and I hope it shows some possible
directions of future possibilities of psql.
It is available as rpm from our repository or you can get source code from
github
https://github.com/okbob/pspg <https://github.com/okbob/pspg>
I invite any discussion about this project.
Pavel
p.s. I hope so this pager is useful - I know some users who use it few months
intensively. But the source code has proof concept quality. It should be
cleaned next year.
Thanks for making this, "-X --no-mouse" made my day.
--
Andreas Joseph Krogh
On Wed, Nov 15, 2017 at 4:45 AM, Andreas Joseph Krogh
<andreas@visena.com> wrote:
På onsdag 15. november 2017 kl. 10:41:45, skrev Pavel Stehule
<pavel.stehule@gmail.com>:Hi
I finished new pager, that can be interesting for postgresql expert users.
Thanks for making this, "-X --no-mouse" made my day.
This was my first bugfix/suggestion :-D.
I use psql all day, every day. PSPG IS AWESOME, IF YOU USE PSQL GET
IT AND DON'T LOOK BACK. There are no major issues with it; it's
wonderful. I do not advise a global definition of PAGER...it will
break other utilities (like man). I find the best way to invoke the
functionality is via bash:
alias psql='PAGER="/home/mmoncure/pspg -s0 -X --no-mouse" psql'
Thank you Pavel.
merlin
2017-11-15 15:42 GMT+01:00 Merlin Moncure <mmoncure@gmail.com>:
On Wed, Nov 15, 2017 at 4:45 AM, Andreas Joseph Krogh
<andreas@visena.com> wrote:På onsdag 15. november 2017 kl. 10:41:45, skrev Pavel Stehule
<pavel.stehule@gmail.com>:Hi
I finished new pager, that can be interesting for postgresql expert
users.
Thanks for making this, "-X --no-mouse" made my day.
This was my first bugfix/suggestion :-D.
I use psql all day, every day. PSPG IS AWESOME, IF YOU USE PSQL GET
IT AND DON'T LOOK BACK. There are no major issues with it; it's
wonderful. I do not advise a global definition of PAGER...it will
break other utilities (like man). I find the best way to invoke the
functionality is via bash:
:)
you can do it from .psqlrc
\setenv PAGER 'pspg ....'
or
psql from PostgreSQL 11 should to know PSQL_PAGER
Regards
Pavel
Show quoted text
alias psql='PAGER="/home/mmoncure/pspg -s0 -X --no-mouse" psql'
Thank you Pavel.
merlin
2017-11-15 Merlin Moncure <mmoncure@gmail.com>:
I use psql all day, every day. PSPG IS AWESOME, IF YOU USE PSQL GET
IT AND DON'T LOOK BACK.
[..]
Thank you Pavel.
+1!
I especially love it for the improved handling of wide tables (which
are really annoying with “less”). Also --no-mouse is mandatory for me
because I want to be able to copy/paste pieces of text using my
terminal’s mouse handling.
I didn’t find a way yet to get it as a Debian package, but for now I
just compile it manually.
Thanks a lot,
Nicolas
--
Nēdırlands: https://baviaan.be/N%C4%93d%C4%B1rlands/
On 15 November 2017 at 09:41, Pavel Stehule <pavel.stehule@gmail.com> wrote:
Hi
I finished new pager, that can be interesting for postgresql expert users.
It demonstrate some possibilities of TUI and I hope it shows some possible
directions of future possibilities of psql.It is available as rpm from our repository or you can get source code from
githubI invite any discussion about this project.
Very nice indeed.
Version hasn't pushed to 0.4 (-V still report 0.3-devel).
On RHEL5.3 I get an error on compiling about set_escdelay undefined.
Wasn't a major problem, I just commented that line :)
Geoff
I can't thank you enough pavel.
I use psql on a daily basis since 8 years ago, with a lot "less" pain,
Love vim keybindings and freeze column features.
Works smoothly in ubuntu 16.04 x86_64.
Attachments:
x.pngimage/png; name=x.pngDownload
�PNG
IHDR � � o �A sBIT��O� tEXtSoftware gnome-screenshot��>