WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ondemand, query more logical as sce-ondemand [Solved]  (Read 1927 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
ondemand, query more logical as sce-ondemand [Solved]
« on: December 21, 2015, 02:45:35 AM »
There's such a strong sce-* theme with dCore and there's no Apps available to easily move SCEs between onboot and ondemand, wondering if it would make more sense to change  ondemand  to sce-ondemand. Seems more consistent with:
sce-import
sce-load
sce-remove
sce-update
sce-debpurge

I'm a fan of tab autocomplete and find it the easiest way to learn a new distribution. So if a new dCore user simply knows 'sce' then smoother sailing.

Just a thought. Thanks.
« Last Edit: December 21, 2015, 11:30:17 PM by Jason W »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ondemand, query more logical as sce-ondemand
« Reply #1 on: December 21, 2015, 11:33:29 AM »
This is also another item that I kept the same name as in Core.  Core has the tce- prefix for a lot of utilities just like there is sce- here.  Ondemand is used by other utilities like deb2sce which would need adjusting for a name change.

As ondemand in dCore is used at the command line as there is currently no fltk app I am aware of that is a front end, I will ponder making it sce-ondemand to be found easier.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11581
Re: ondemand, query more logical as sce-ondemand
« Reply #2 on: December 21, 2015, 11:43:11 AM »
Hi Jason W
You could just make  sce-ondemand  a link to  ondemand. That would solve the tab completion and eliminate any
script modifications.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ondemand, query more logical as sce-ondemand
« Reply #3 on: December 21, 2015, 11:45:23 AM »
I was thinking of that, yeah, does sound like a good plan.  I remember moving loadsce, updatesce, etc to sce-* for that tab completion and ease of finding as I like hitting tab rather than typing whenever I can.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: ondemand, query more logical as sce-ondemand
« Reply #4 on: December 21, 2015, 07:24:51 PM »
Changing to sce-ondemand or a link are great ideas. Whatever is easier for your workload, yet transparent for new users. Maybe i'm slow, took a few days to figure out how to access ondemand. Realize now it's simply  ondemand  , but was actually looking for sce-*.

Another alternative, include a couple built-in terminal aliases. Easy to instigate with added bonus easy for new users to modify sceboot.lst.
Code: [Select]
ob # open tce/sceboot.lst in vi
od # run ondemand -c

I've already added ondemand dialogue, below, which i plan to send you later.
So my  ondemand -c  output looks like:
Code: [Select]
tc@box:~$ ondemand -c
Current ondemand SCE(s):
emelfm

Which could easily be changed to output:
Code: [Select]

Current ondemand SCE(s):
emelfm

Manually run 'ondemand -l'  to view list of elligible items,
'ondemand SCE' to add or 'ondemand -r SCE' to remove an item.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: ondemand, query more logical as sce-ondemand
« Reply #5 on: December 21, 2015, 09:00:08 PM »
Great.  I have for now made the symlink sce-ondemand > ondemand so it can be found easily.

The sce-ondemand symlink uploaded to the current RC.
« Last Edit: December 21, 2015, 09:52:45 PM by Jason W »

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: ondemand, query more logical as sce-ondemand
« Reply #6 on: December 21, 2015, 10:06:26 PM »
Tested, wonderful, thanks.
Looking good :)
Code: [Select]
tc@box:~$ sce-
sce-debpurge  sce-load      sce-remove
sce-import    sce-ondemand  sce-update