* [Comm] Разноцветная консоль
@ 2003-07-08 10:53 Зенькович Александр
2003-07-09 20:17 ` Dmitry Ivanov
0 siblings, 1 reply; 2+ messages in thread
From: Зенькович Александр @ 2003-07-08 10:53 UTC (permalink / raw)
To: community
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Здравствуйте Все!!!
У меня появился такой нетехнический вопрос - в журнале я увидел скриин, на
котором была изображена консоль с разноцветными словами (командная строка
одного цвета, а все остальное другого).
Кто-нибудь знает, как это сделать???
- --
KeeperMan - создание прикладных программ.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/CqLEIQ+9IAWsVCgRArfyAJ46xMgg4DRQKwABm/scDNYl7gfdYACfQjNr
eoav9AAMn1nORdKD5t/eA1U=
=GISi
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Разноцветная консоль
2003-07-08 10:53 [Comm] Разноцветная консоль Зенькович Александр
@ 2003-07-09 20:17 ` Dmitry Ivanov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Ivanov @ 2003-07-09 20:17 UTC (permalink / raw)
To: community
On Tue, Jul 08, 2003 at 02:53:52PM +0400, Зенькович Александр wrote:
> У меня появился такой нетехнический вопрос - в журнале я увидел скриин, на
> котором была изображена консоль с разноцветными словами (командная строка
> одного цвета, а все остальное другого).
> Кто-нибудь знает, как это сделать???
Идея в том, что в переменную PS1, содержащую
приглашение, включаются escape-последовательности,
переключающие цвет.
О последовательностях читать:
man console_codes
--
D.I.M.S.S.: Digital Intelligent Machine Skilled in Sabotage
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-09 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-08 10:53 [Comm] Разноцветная консоль Зенькович Александр
2003-07-09 20:17 ` Dmitry Ivanov
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