On Mon, 31 Aug 2015 19:42:20 +0200 Nicolas George <geo...@nsup.org> wrote:
>Le quartidi 14 fructidor, an CCXXIII, Lisi Reisz a écrit : >> > What are you talking about? The command to start the shell, or the key >> > sequence to exit it? >> Using su to change user. > >Then I do not agree with your statement that "machinectl shell" is less >disability-friendly than su, quite the contrary. > >Two-letters commands are a scarce resource, there are only 676 of them >(assuming you do not want to mix case), and much less of them that look or >sound like something. > >"machinectl shell" is long to type, there is no doubt about, but at that >cost, it does not pollute the command namespace: you do not type it by >accident, it does not clutter completion. If you need it infrequently, >typing all of it is negligible; if you need it frequently, you can use a >shell alias to make it shorter: alias mcshell="machinectl shell"; if you >need it very very frequently, you can even decide to give it a single letter >alias. Entirely your choice. > >su, on the other hand, is taking a valuable 1/676 of the completion >namespace for itself, whether you use it or not, whether you want it or not. > >If Poettering had used a short command for his new tool, that would have >been a valid complaint against it, because anyone can make something they >use shorter and more accessible, but once something is in the way, it stays >there. > >Regards, > To exit the shell created with "machinectl shell", you are instructed "Press ^] three times within 1s to exit session." That is very unfriendly for disabled. Not all can hit any key in 1 second. To specify two keys is even harder. There has never been mention of any other method to exit this new shell command. -- Charlie Kravetz Linux Registered User Number 425914 [http://linuxcounter.net/user/425914.html] Never let anyone steal your DREAM. [http://keepingdreams.com]