<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6339&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / 'more' in daedalus clearing the screen when it should not]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6339</link>
		<description><![CDATA[The most recent posts in 'more' in daedalus clearing the screen when it should not.]]></description>
		<lastBuildDate>Thu, 20 Feb 2025 22:37:02 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=54564#p54564</link>
			<description><![CDATA[<p>Why do I use &#039;more&#039; ?&#160; Anyone remember AT&amp;T UNIX or MS-DOS&#160; ??&#160; </p><p>And to me, it&#039;s counter-intuitive to use &#039;less&#039; when I want more...</p><p>:-)</p>]]></description>
			<author><![CDATA[dummy@example.com (dave)]]></author>
			<pubDate>Thu, 20 Feb 2025 22:37:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=54564#p54564</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47381#p47381</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>However man 2.12.0 does clear the screen after looking up a command - if I hit the h key for help it shows a page headed SUMMARY OF LESS COMMANDS suggesting that less is being used (version 590-2 of less is installed) - it turns out that the man-db package which includes /usr/bin/man suggests less. Removing less from installed packages stops the man command from clearing the screen when quitting.</p></div></blockquote></div><p>This behavior is due to the Debian alternatives system. When both `less` and `more` are available, man will default to using less as its pager, because it has a higher priority. If you remove less, the system will fall back to more. You can see information about pagers installed on your system with `update-alternatives --display pager`.</p><div class="quotebox"><blockquote><div><p>Set the environment variable LESS=X to force &#039;less&#039; to stop clearing the screen upon exit.</p></div></blockquote></div><p>Unfortunately the LESS environment variable only applies to the less program, not more. more is extremely primitive, even the manpage mentions it, and steers uses toward less. dave doesn&#039;t explain why he wants to use more specifically, but I always assume people have their reasons in such situations.</p><p>I tried to replicate dave&#039;s issue on 2.39.3, and while more didn&#039;t clear the screen without the -c or -p option, I noticed a different issue. When I printed from redirected output (i.e., not from a regular file) the -c or -p option <em>would not</em> clear the screen. Everything worked as expected on 2.33.1, so I think it&#039;s another bug. It seems util-linux is all over the place lately.</p>]]></description>
			<author><![CDATA[dummy@example.com (stultumanto)]]></author>
			<pubDate>Wed, 17 Jan 2024 23:57:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47381#p47381</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47362#p47362</link>
			<description><![CDATA[<p>Set the environment variable LESS=X to force &#039;less&#039; to stop clearing the screen upon exit.</p>]]></description>
			<author><![CDATA[dummy@example.com (quickfur)]]></author>
			<pubDate>Wed, 17 Jan 2024 10:33:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47362#p47362</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47361#p47361</link>
			<description><![CDATA[<p>Using more from util-linux 2.39.3 and it doesn&#039;t clear the screen when one presses q to quit.</p><p>However man 2.12.0 does clear the screen after looking up a command - if I hit the h key for help it shows a page headed SUMMARY OF LESS COMMANDS suggesting that less is being used (version 590-2 of less is installed) - it turns out that the man-db package which includes /usr/bin/man suggests less. Removing less from installed packages stops the man command from clearing the screen when quitting.</p>]]></description>
			<author><![CDATA[dummy@example.com (mirrortokyo)]]></author>
			<pubDate>Wed, 17 Jan 2024 08:38:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47361#p47361</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47357#p47357</link>
			<description><![CDATA[<p>Upgraded from chimaera to daedalus and found several &#039;improvements&#039; throwing a screw into the works.&#160; Among them &#039;more&#039; which, on the command line,&#160; started giving me continuous blank lines at the tail which required a Ctrl-C to get out of. :-(</p><p>It was using util-linux 2.36.1 before the upgrade and found that daedalus was using util-linux 2.38.1.</p><p>My resolution:&#160; Downgrade back to the binary from the old release.&#160; It (seems to be) a drop-in replacement.</p><p>There are a couple other &#039;improvements&#039; that I&#039;m still trying to get my head around: e.g. the new ntpdate utility which seems to have been deprecated and replaced with a wrapper script around ntpdig.&#160; But the output format differs...</p><p>And &#039;scp&#039; which now needs an &#039;-O&#039; option to return to the &quot;old&quot; behavior which my other systems still need.</p><p>Sigh.</p>]]></description>
			<author><![CDATA[dummy@example.com (dave)]]></author>
			<pubDate>Wed, 17 Jan 2024 05:07:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47357#p47357</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47262#p47262</link>
			<description><![CDATA[<p>Thanks for the suggestions.&#160; Environment variable $MORE is not set, and there is no alias set.&#160; If I do &quot;date | /bin/more&quot; (without the quotation marks), it clears the screen, prints one line of text at the top, and prints reverse-video &quot;(END)&quot; at the bottom.&#160; &quot;dpkg -S /bin/more&quot; says it comes from util-linux.&#160; &quot;/bin/more --version&quot; says, &quot;more from util-linux 2.38.1&quot;.</p><p>Does &#039;more&#039; have an antidote option to negate -p (and/or -c) in case that has (perhaps unintentionally) been made the default?&#160; No syntax for negating an option shows up in the man page or via &quot;--help&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Sat, 13 Jan 2024 22:19:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47262#p47262</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47252#p47252</link>
			<description><![CDATA[<p>Check if your environment has set the $MORE environment variable. That could be one source of implicit options. Also check if your bash profile has aliased &#039;more&#039; to &#039;more&#039; plus some additional options. </p><p>.bashrc, .bash_profile, would be places to look for this. Remove the options or set your own preferences there.</p>]]></description>
			<author><![CDATA[dummy@example.com (quickfur)]]></author>
			<pubDate>Sat, 13 Jan 2024 06:08:01 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47252#p47252</guid>
		</item>
		<item>
			<title><![CDATA['more' in daedalus clearing the screen when it should not]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=47251#p47251</link>
			<description><![CDATA[<p>In daedalus, with util-linux 2.38.1, /bin/more with no options initially clears the screen before starting to print text.&#160; Based on over 40 years of using &#039;more&#039;, that is incorrect behavior--unless the -p or -c options had been supplied.&#160; If the binary is called as &#039;page&#039; or if the -p option is supplied, it&#039;s supposed to clear the screen.&#160; In comparison, in chimaera, with util-linux 2.36.1, /bin/more with no options behaves correctly and does not initially clear the screen.&#160; A web search did not reveal any discussion of how to work around this broken behavior.</p><p>Is there an (undocumented) option to nix the initial clearing of the screen?</p><p>As a side note, there&#039;s also a bug introduced probably over a decade ago now where &#039;more&#039; quit showing one overlapping line of text.&#160; If the binary is called as &#039;page&#039;, it&#039;s supposed to initially clear the screen and show zero overlap.&#160; If the binary is called as &#039;more&#039; with no options, it is supposed to _NOT_ initially clear the screen and is supposed to show one line of overlap as it scrolls.</p>]]></description>
			<author><![CDATA[dummy@example.com (rmrichesjr)]]></author>
			<pubDate>Sat, 13 Jan 2024 05:08:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=47251#p47251</guid>
		</item>
	</channel>
</rss>
