savannah-register-public
[Top][All Lists]
Advanced

[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:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

URL:
  <http://savannah.nongnu.org/task/?7464>

                 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

    _______________________________________________________

Details:

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
Administration
<https://savannah.nongnu.org/siteadmin/groupedit.php?group_id=9617> page*,
accessible only to site administrators, effectively *logged as site
administrators* (superuser):

* Group Administration
<https://savannah.nongnu.org/siteadmin/groupedit.php?group_id=9617>


= 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
event.
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
station).
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: ====
http://www.nongnu.org/confuse/


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

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:

  <http://savannah.nongnu.org/task/?7464>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.nongnu.org/





reply via email to

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