ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: Mandrake/RE discussion list <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] Re: [mdk-re] less плющит
Date: Sat Jan 27 02:36:42 2001
Message-ID: <20010127023705.D21092@LDV.fandra.org> (raw)
In-Reply-To: <029001c087bb$09da27e0$8001a8c0@mccinet.ru>; from abr@abr.x9.ru on Fri, Jan 26, 2001 at 08:11:31PM +0300

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

On Fri, Jan 26, 2001 at 08:11:31PM +0300, Andrey Brindeew wrote:
> Сабж.
> Если сказать less file, то показывает пустой экран и
> ---
> ESC>
> /home/file lines 1-1/1 (END)
> ---
> Если же сказать cat file | less , то все показывается нормально.
> less стоит последний, из Сизифа.
> Где копать?

*rofl*

У Вас, судя по всему, текущий каталог прописан в пути поиска
(переменная PATH).

Вот несколько альтернативных вариантов решения проблемы:
1. # perl -pi -e 's|file |/usr/bin/file |g' /usr/bin/lesspipe.sh
2. $ chmod -x file
3. $ unset LESSOPEN
4. Убрать текущий каталог из PATH

В следующей версии пакета less будет применен первый вариант.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@fandra.org
Software Engineer   PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html
IPLabs Linux Team   http://linux.iplabs.ru
Fandra Project      http://www.fandra.org
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

      parent reply	other threads:[~2001-01-27  2:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-26 20:12 Andrey Brindeew
2001-01-26 21:41 ` [mdk-re] less ÐÌÀÝÉÔ Roman S
2001-01-27  4:02   ` [mdk-re] Re: [mdk-re] less плющит Mikhail Zabaluev
2001-01-27  4:24     ` Dmitry V. Levin
2001-01-27  2:36 ` Dmitry V. Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010127023705.D21092@LDV.fandra.org \
    --to=ldv@fandra.org \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git