Author nagarajan
Recipients ZackerySpytz, eryksun, jcea, nagarajan, nedbat, r.david.murray, serhiy.storchaka, steven.daprano, terry.reedy
Date 2020-07-18.16:49:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595090952.79.0.299802787256.issue21625@roundup.psfhosted.org>
In-reply-to
Content
I would request us to think about a couple more options while this is under consideration...

Do we want to also add the flags -X and -F to the less options?

The -X flag gets less to show its output inline, instead of a separate screen. The advantage here is that users can now see the last viewed help page right above the prompt even after quitting help. It helps immensely to be able to see the help and write statements based on the help. The minor downside is that the last statements typed on the python prompt have now scrolled farther up.

The -F (or --quit-if-one-screen) flag exits helps automatically if the help contents fit less than one screen-full. This is only useful when used in conjunction with the -X flag. If we do decide to use the -X flag, then this flag becomes an obvious choice.

If we do choose to use these flags, the less command now becomes

    less "-P?e(END) .(q to exit help) " -X --quit-if-one-screen --quit-at-eof
History
Date User Action Args
2020-07-18 16:49:12nagarajansetrecipients: + nagarajan, terry.reedy, jcea, nedbat, steven.daprano, r.david.murray, serhiy.storchaka, eryksun, ZackerySpytz
2020-07-18 16:49:12nagarajansetmessageid: <1595090952.79.0.299802787256.issue21625@roundup.psfhosted.org>
2020-07-18 16:49:12nagarajanlinkissue21625 messages
2020-07-18 16:49:12nagarajancreate