Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: sm8ps on January 28, 2016, 05:38:57 AM

Title: [ Solved ] sce-remove shows non-existant item
Post by: sm8ps on January 28, 2016, 05:38:57 AM
Cosmetic issue. Do not recall seeing this before; maybe only occurs if a multiple of 15 extensions are in the list?
Code: [Select]
Choose the sce you want to remove on shutdown.
31. quit
Enter selection ( 1 - 31 ) or (q)uit, (n)ext, (p)revious: : q
Title: Re: sce-remove shows non-existant item
Post by: sm8ps on January 28, 2016, 06:02:13 AM
Nope, seems to happen consistently (dCore-trusty:2016.01.24.01.44).
Code: [Select]
Choose the sce you want to remove on shutdown.
31. x-tile
32. quit
Enter selection ( 1 - 32 ) or (q)uit, (n)ext, (p)revious: : 
Title: Re: sce-remove shows non-existant item
Post by: Jason W on January 28, 2016, 08:54:56 AM
The quit was added so if there was only one item it would not be autoselected, one can just select quit or press q and not choose the last choice in the list.
Title: Re: sce-remove shows non-existant item
Post by: nitram on January 28, 2016, 02:26:58 PM
Rewording 'quit' to 'quit to proceed with removals' might negate confusion. Silly that default select behaviour causes this issue.
Title: Re: sce-remove shows non-existant item
Post by: sm8ps on January 28, 2016, 07:23:01 PM
Thanks for clarifying, Jason! I agree with nitram that it would be good to re-word the entry. At least myself found this a bit confusing. I suggest "End of list."
Title: Re: sce-remove shows non-existant item
Post by: nitram on January 28, 2016, 08:17:52 PM
'End of list' is also good, would resolve the other issue where '(n)ext' is always displayed despite being at the end.
Title: Re: sce-remove shows non-existant item
Post by: sm8ps on January 29, 2016, 03:40:33 AM
The quit was added so if there was only one item it would not be autoselected, one can just select quit or press q and not choose the last choice in the list.
Ain't no use explaining if people cannot read. I missed the last part about the item bearing functionality, sorry!  :(
Nitram's suggestion "quit to proceed with removals" is much more to the point than a simple "end of list". Maybe use capitals to make it super-clear to anyone including me that this is not the name of a package.
Title: Re: sce-remove shows non-existant item
Post by: Jason W on January 29, 2016, 11:06:30 PM
I have found what allows the last choice not to be autoselected.  Will remove the "quit" option and upload tomorrow.  But still, the looped menu that allows multiple selections probably needs a "press enter to proceed" with making no choice rather than quit, I will put that in there and see how we like it.
Title: [ Solved ] Re: sce-remove shows non-existant item
Post by: Jason W on January 29, 2016, 11:46:51 PM
But this messes up sce-import, which depends on autoselect of only one entry.  So the solution may be to have two select commands, one for sce-import which autoselects, the other for the rest.