Skip to main content
Welcome guest. | Register | Login | Post

Take Over Ubuntu System Tool Project

4 replies [Last post]
supermike's picture
Offline
Joined: 2006-02-17

Several people in forums have desired a yast-like console-based system config tool for Ubuntu desktop and server. It's great for those nights when you're not in the office, receive a late-night call to fix something, and you have to walk a newbie at the office through how to do a common task. It's also great for when you're lazy and don't want to remember all the command line switches you need to add an LDAP user or group, as an example.

I started the project and now need someone to take it over and/or contribute to it. So far I have worked out the menus, but not the data entry screens or the tasks that these forms should conduct.

Project Homepage

http://sourceforge.net/projects/ust

Screenshot

https://sourceforge.net/dbimage.php?id=82030

AndrewB's picture
Offline
Joined: 2005-12-18
Yast is now opensource. It

Yast is now opensource. It should be portable surely? Also yast can be used in CLI

supermike's picture
Offline
Joined: 2006-02-17
Unfortunately for me, Yast

Unfortunately for me, Yast is way more complex than it needs to be. The concept of tools like this should be relatively simple, not rocket science. We're talking VT100 escape codes to draw the text user interface, data entry screens and input verification, and then parsing and rewriting Linux configuration files safely and with the least amount of disruption. The framework for it is entirely too complex, written in C and ncurses, and they even built a scripting language that you have to learn in order to use it.

Instead, I've got a menu demo (written in Bash) out there on Sourceforge, and I plan to find some time to rewrite it in PHP-cli now that I have learned from a friend in Brazil how to use PHP-cli to do console-based input and output.

The next step will be building data entry screens using VT100 escape codes, and then a tool that can try as safely as it can to reconfigure a file and leave a backup.

Ncurses and C is not my cup of tea for a project like this. I want to get it done with the least amount of effort, and have the widest array of developers to assist me because I chose PHP instead of C.

BTW, I just got listed on fridge.ubuntu.com. I'm famous for a week, I guess.

free-zombie's picture
Offline
Joined: 2006-03-08
a note on YaST: yes, it is

a note on YaST:
yes, it is free software now, and can be ported. The debian-desktop team was or is porting it to debian, and from what I read from there YaST uses its own scripting language that you have to learn to stand a chance.

too complex.

isn't there a curses port for PHP or something ?

dylunio's picture
Offline
Joined: 2005-12-20
Quote: isn't there a curses
Quote:

isn't there a curses port for PHP or something ?

Yes.

I give it a go sometime ago.

An example script (*VERY* simple):

<?php
        ncurses_init
();
       
$screen = ncurses_newwin(0, 0, 0, 0);
       
ncurses_wborder($screen, 0,0, 0,0, 0,0, 0,0);
       
ncurses_wrefresh($screen);
       
ncurses_wgetch($screen);
       
ncurses_end();
?>

dylunio

Comment viewing options