Template talk:ChrootCmd

From Gentoo Wiki
Jump to:navigation Jump to:search

All invocations displaying undesirable text

Talk status
This discussion is done as of August 28, 2018.

Hi Kreyren , it appears all invocations of this template are presently displaying undesirable output: "(Too many commands supplied. Only the first 10 are displayed.)". Please see your recent edit on the Chroot article and the test cases of this template. I'm also wondering if we should have another template to indicate a command. If invoked using the prompt parameter, the {{RootCmd}} template can be adjusted to display just as this template. For example:

(chroot) root #echo "Hello"

Looking forward to seeing your thoughts. --Maffblaster (talk) 09:33, 28 August 2018 (UTC)

Maffblaster: Transcript from discord in case you miss it: Also about ChrootCMD I thought that it might be helpful to differentiate chroot from norm user :thinking: since some new users have issues with understanding it sometimes.. mby use different color for it or other indication? In theory changing chroot output so that `export PS1..` is not required? Kreyren (talk) 10:13, 28 August 2018 (UTC)

I'm not sure I understand...why the new template? Can we get away with using {{RootCmd}} with the prompt parameter instead? Notice that color can also be set on RootCmd to change the display color. --Maffblaster (talk) 10:25, 28 August 2018 (UTC)

Agreed on removal of ChrootCmd based on conversation on discord and including it in RootCmd. Kreyren (talk) 10:51, 28 August 2018 (UTC)

Thanks! --Maffblaster (talk) 10:53, 28 August 2018 (UTC)