Giter Site home page Giter Site logo

bad processing of wide chars about pspg HOT 7 CLOSED

okbob avatar okbob commented on May 22, 2024
bad processing of wide chars

from pspg.

Comments (7)

loveencounterflow avatar loveencounterflow commented on May 22, 2024

You're genius! How did you do it so fast??

from pspg.

okbob avatar okbob commented on May 22, 2024

from pspg.

loveencounterflow avatar loveencounterflow commented on May 22, 2024

Cool.

from pspg.

loveencounterflow avatar loveencounterflow commented on May 22, 2024

I really think you should go and popularize your work. Like, give it a snazzy name and a web page perhaps. And advertise it in the wider PostgreSQL community. Maybe become part of a distro, who knows? I mean it's already better than any other command line tool I've seen so far when it comes to displaying a big table of results.

from pspg.

okbob avatar okbob commented on May 22, 2024

from pspg.

loveencounterflow avatar loveencounterflow commented on May 22, 2024

And very so! I've already played around with a script that issues something that looks like a PostgrSQL ASCII table to make pspg turn on its frozen column mode. It should be relatively easy to write a bash script to view, say CSV files with it, or the output of various other tools (say ls, printenv for starters). If you'd tell what makes pspg recognize columns (and whether that's configurable?), I'd venture to give it a try. I mean, 2D-scrollable output in neat columns has many use cases on the command line.

Another thing that I've toyed with (in thinking) is the possibility to do ANSI color highlighting within output cells. That would sure be difficult to do though, what with escape codes slipping out to the left and so on.

from pspg.

okbob avatar okbob commented on May 22, 2024

from pspg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.