Культурный офтопик
 help / color / mirror / Atom feed
From: Alexey Voinov <voins@voins.program.ru>
To: "Культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] Хочется странного -- "продвинутый less"
Date: Thu, 15 Sep 2011 08:53:04 +0400
Message-ID: <153631316062384@web132.yandex.ru> (raw)
In-Reply-To: <4E70C8DD.50209@rambler.ru>



14.09.2011, 19:31, "Alexei V. Mezin" <alexei-mezin@rambler.ru>:
> Нужно просматривать логи глазами. Сейчас длинный конвеер берет лог-файл,
> выкидывает из него через grep ненужное, чуть-чуть фильтрует нужное, и
> результат попадает в less.
>
> Нужно просматривать с незавернутыми на краю экрана сроками, но
> периодически заворачивать их. less -S делает первое, но потом никак не
> получить второе.
Очень даже просто получить: нажать - и S в процессе работы less. Точно так же работают и все остальные опции

>
> Так же хочется, чтоб можно было "выкидывать" из просмотра строки,
> содержащие определенную подстроку.
>
> И подсвечивать подстроки, удовлетворяющие маске.
>
> Какой инструмент можно использовать? Нутром чую, что что-то вроде vim
> может подойти. Во всяком случае строки завернуть/развернуть можно. А вот
> с выкидыванием строк как быть?
> _______________________________________________
> smoke-room mailing list
> smoke-room@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/smoke-room


  parent reply	other threads:[~2011-09-15  4:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14 15:31 Alexei V. Mezin
2011-09-14 15:40 ` Michael Bykov
2011-09-15  4:53 ` Alexey Voinov [this message]
2011-09-15  5:45 ` Andrew Borodin

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=153631316062384@web132.yandex.ru \
    --to=voins@voins.program.ru \
    --cc=smoke-room@lists.altlinux.org \
    /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

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

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


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