[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-register-public] [task #7464] Submission of CycleD - A simple

From: Giacomo Tesio
Subject: [Savannah-register-public] [task #7464] Submission of CycleD - A simple looping daemon
Date: Thu, 08 Nov 2007 09:05:22 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv: Gecko/20071025 Firefox/


                 Summary: Submission of CycleD - A simple looping daemon
                 Project: Savannah Administration
            Submitted by: Shamar
            Submitted on: giovedì 08/11/2007 alle 09:05
         Should Start On: giovedì 08/11/2007 alle 00:00
   Should be Finished on: domenica 18/11/2007 alle 00:00
                Category: Project Approval
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



A new project has been registered at Savannah 
This project account will remain inactive until a site admin approves or
discards the registration.

= Registration Administration =

While this item will be useful to track the registration process, *approving
or discarding the registration must be done using the specific Group
<> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration

= Registration Details =

* Name: *CycleD - A simple looping daemon*
* System Name:  *cycled*
* Type: non-GNU software & documentation
* License: GNU General Public License v3 or later


==== Description: ====
A simple deamon to cicle toward a list of commands at the recieve of a
Events may be: signals, new data on a file/fifo, or on a socket.

Mainly a auto didactical project to restart working with C.

It will be GPLv3 and designed for UNIX (developed on a Debian GNU/Linux
It may be ported in Plan9 (and rewritten as a file server).

An example usage would be the automatic screen rotation on a tablet (actually
what inspired me :-D)...

It will depend on libconfuse (and on standard C library).

Actually no code has been written. Sorry.

==== Other Software Required: ====

==== Other Comments: ====
# screenrotate.conf
# configuration example (according to libconfuse syntax)
# other options might obviusly be added
        type = signal # might be socket / file
LogFile  = "cicled.log"
LockFile = ""

Cicle SwitchScreen
        Actions = {
                "xrandr -o normal",
                "xrandr -o right"
        Handler = /bin/sh       # will recieve the actions in stdin
        AutoStart = true        # default true (if false will ignore signal 
until the
start() one)
        LogOutput = true
        LogError = true

On SIGWINCH { next(SwitchScreen) execute(SwitchScreen) }

# On SIGWINCH { start(SwitchScreen) stop(SwitchScreen) reset(SwitchScreen)
previous(SwitchScreen) }


Reply to this item at:


  Messaggio inviato con/da Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]