Package: sm
Version: 0.18-1
Severity: wishlist

Hi, 

I was in the process of writing a countdown timer in bash with the help of sm, 
when, after multiple tries with named pipes, etc, I went to the conclusion that 
it was not doable now with sm (I didn't succeed to clear the sm screen).

My idea is to echo the remaining time to a pipe and pointing sm to the pipe in 
question. It "somehow works".

So I would like to propose the creation of a "deamon-like" sm, which could be 
one of the following solutions:

 * accepting a SIGUSR1 to clear the screen (then putting things in the pipe 
would simply work)
 * Accepting \r to clear the line (actually, it produces a weird char)
 * Adding an option that would monitor a file. Then updating the file would 
simply display its constant on the screen.
 * Another crazy idea I can't have right now. 

Thanks in advance for considering and best regards, 

OdyX

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (750, 'unstable'), (700, 'testing-proposed-updates'), (700, 
'testing'), (90, 'experimental'), (50, 'testing-proposed-updates'), (50, 
'experimental'), (50, 'unstable'), (50, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sm depends on:
ii  libatk1.0-0                   1.28.0-1   The ATK accessibility toolkit
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libcairo2                     1.8.8-2    The Cairo 2D vector graphics libra
ii  libfontconfig1                2.8.0-2    generic font configuration library
ii  libfreetype6                  2.3.11-1   FreeType 2 font engine, shared lib
ii  libglib2.0-0                  2.22.4-1   The GLib library of C routines
ii  libgtk2.0-0                   2.18.6-1   The GTK+ graphical user interface 
ii  libpango1.0-0                 1.26.2-1   Layout and rendering of internatio

sm recommends no packages.

sm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to