Code Monkey home page Code Monkey logo

Comments (4)

brunobraga avatar brunobraga commented on July 18, 2024

This is a great idea.... It comes down to the screensaver interaction with the keyboard... my initial thoughts were to, somehow (and for those who want it), run in background and start if the terminal stays idle for N minutes... then, getting out of it would be by hitting any key instead of ctrl+C, with the plus option of locking you've just said.

I was, however, planning to minimize package dependencies for better platform compatibility, and release plugins that could be platform dependent. This is still a work-in-progress... plan to release a first plugin by next month.

What do you reckon? A plugin to add such feature, or perhaps write the vlock clone in pure python?

from termsaver.

jonassmedegaard avatar jonassmedegaard commented on July 18, 2024

On 12-05-07 at 06:15pm, Bruno Braga wrote:

This is a great idea.... It comes down to the screensaver interaction
with the keyboard... my initial thoughts were to, somehow (and for
those who want it), run in background and start if the terminal stays
idle for N minutes... then, getting out of it would be by hitting any
key instead of ctrl+C, with the plus option of locking you've just
said.

I was, however, planning to minimize package dependencies for better
platform compatibility, and release plugins that could be platform
dependent. This is still a work-in-progress... plan to release a first
plugin by next month.

What do you reckon? A plugin to add such feature, or perhaps write the
vlock clone in pure python?

Great that you have it on your radar. Sorry, my skills are in other
areas, so I cannot really help much with implementation details.

What do you mean by "hitting any key instead of ctrl+C"? It sure would
need to grab the CTRL+C too, or the very point of "locking" would be
lost, no?

  • Jonas

  • Jonas Smedegaard - idealist & Internet-arkitekt

  • Tlf.: +45 40843136 Website: http://dr.jones.dk/

    [x] quote me freely [ ] ask before reusing [ ] keep private

from termsaver.

brunobraga avatar brunobraga commented on July 18, 2024

On Tue, May 8, 2012 at 7:58 PM, Jonas Smedegaard <
[email protected]

wrote:

Great that you have it on your radar. Sorry, my skills are in other
areas, so I cannot really help much with implementation details.

No worries!

What do you mean by "hitting any key instead of ctrl+C"? It sure would
need to grab the CTRL+C too, or the very point of "locking" would be
lost, no?

Just that now Ctrl+C is the only way to interrupt the program (or, more
obviously if you close the terminal window, or shutdown the machine)... by
enabling key events, any key pressed or mouse movement could be considered
to terminate the screensaver, just as it is in the graphical ones.

from termsaver.

EddieDover avatar EddieDover commented on July 18, 2024

PR #61 adds the proper hooks to make something like this viable. I'll investigate it in a future feature branch.

from termsaver.

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.