#!/mod/bin/jimsh
set services [split [exec /mod/bin/service mlist]]
proc button {state service action} {
puts -nonewline ""
puts -nonewline ""
puts ""
}
proc control {s a} {
return ""
}
foreach service $services {
set data [split $service ":"]
set name [lindex $data 0]
set installed [lindex $data 1]
set auto [lindex $data 2]
set running [lindex $data 3]
puts " "
continue
}
puts "$name "
if (!$installed) {
puts "Not installed