[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [firstname.lastname@example.org: Re: new sparemint RPM's]
----- Forwarded message from Edgar Aichinger <email@example.com> -----
Date: Fri, 09 Aug 2002 21:38:55 +0200
From: firstname.lastname@example.org (Edgar Aichinger)
Subject: Re: new sparemint RPM's
To: email@example.com (Martin Tarenskeen)
X-Mailer: aMail 1.27b/MiNT
> Another subject: The new less version still has the same problem it had in
> the previous version. In case you forgot: There is a problem with
> /usr/bin/lesspipe.sh. If I want to read a file "example.txt" with the
> following command:
> less example.txt
> the text is not shown. But when coming from a pipe like:
> cat example.txt | less
> the text is shown properly.
> I have fixed this problem by adding a single line to lesspipe.sh :
> *) cat $1 2>/dev/null ;;
> as the last line in the list of "case" items, just before "esac".
I have made some tests recently, and I found out that if I press Ctrl-C
shortly after executing less, it loads the file properly. As you say it
also works when less is part of a MiNT pipe, e.g. when used by the 'man'
command; all of this makes me believe this is a MiNT bug, concerning script
execution and/or pipes (involved via $LESSOPEN mechanism).
Are you and me the only MiNT people beaten by this? I could report this
once more to Frank, but it's difficult to get him involved if nobody else
experiences this bug.
----- End of forwarded message -----