Git Product home page Git Product logo

Comments (5)

7eggert avatar 7eggert commented on July 17, 2024 1

If you want to avoid dependencies, you can do:
echo "$password" | xsel -i

You can check for xsel at startup time and offer the copy key if xsel is available

from cpm.

ssm avatar ssm commented on July 17, 2024

Sounds like a good idea. I've seen it elsewhere, but can't remember where.

from cpm.

 avatar commented on July 17, 2024

Hey,

yeah it already exists in pwsafe: http://sourceforge.net/projects/pwsafe/

from cpm.

comotion avatar comotion commented on July 17, 2024

This can be done, however CPM is not an Xwindows application; it is a console application. Interfacing with X requires dependencies on libs that aren't necessarily available or wanted, so we would have to either

  • build a separate package that supports copying to x selection, or
  • make some autoloading functionality that only activates when the lib is present, to avoid introducing package deps

I prefer to do the latter and I am happy to take contributions for pushing into X selection.

from cpm.

 avatar commented on July 17, 2024

Hello,

yeah, I tried it already to implement the feature but I failed, because I'm too less experienced in writing C code. So I'm really sorry about that. But if I can help you, let me know.

You're right it would be mad to require X depencies on a server!

from cpm.

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.