You are not logged in.
Oh **&*& I could have sworn I tried that. Enter is what I was looking for.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
As a regular user I still see the basic status output in F2 but not the log messages, which only appear if I run it as root.
I still haven't touched this since the first session that spawned it and I blew my current coding quota on the XyneHTTPServer rewrite. When I have more time, I still plan to clean it up and make things like keybindings, symbols and colors configurable. The F1/F2 windows were thrown in as a last-minute usability hack and need to be properly integrated too.
I'm glad that you like it nevertheless. It was a fun way to learn the basics of (Python) ncurses and I like the little Unicode symbols.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
*blows away dust*
*coughs*
I don't know why but I ended up tinkering with the serman2 code today. New stuff:
Parameterized services: you can now control services such as netctl@home.service, getty@tty2.service, etc. Currently enabled/running services will appear in the list. Attempting to toggle the unparameterized service will prompt for the parameter and add it to the list.
fixed trivial drawing bug (official docs for addch are wrong?)
added help message to status bar
failed services now display correct status
So, um, yeah.
*blows party horn*
*heads off to do something actually useful*
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Very nice as usual. Please edit your first post correcting the link to the software.
http://xyne.archlinux.ca/scripts/systemd --> http://xyne.archlinux.ca/projects/serman
A few "bugs":
You might consider changing the F1 for help. For me, hitting F1 (xfce4-terminal) brings up the help for the terminal.
Hitting F2 to see status shows a black screen.
Last edited by graysky (2014-05-11 06:58:57)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
The link has been updated.
F1 is a common help key in curses applications. Does it work as expected with other applications such as htop?
As stated above, I would like to make all key bindings, colors, keywords and symbols configurable, but I would need to refactor the code for that (it's still the result of a single-session hackathon). Given my current priorities and the lack of users this will not happen any time soon.
F2 is blank if you have not issued any commands (it only displays collected output). Go to the status menu, select some services with the space bar, then hit enter. You should now see some output in the F2 window. I'll probably add a default message explaining this when there is no output.
Thanks for the feedback.
edit
I have added a default message and some help text to the text display window.
Last edited by Xyne (2014-05-11 16:10:04)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
serman2 ist cool! But it doesnt refresh! Can you make it?
Offline
serman2 ist cool! But it doesnt refresh! Can you make it?
Thanks. I have no time right now, but I have added it to my todo list so that I remember later. I will post an update here when I get to it.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline