From: Alexander Bokovoy <ab@avilink.net> To: devel@linux.iplabs.ru Subject: Re: [devel] initscripts Date: Mon, 11 Dec 2000 21:33:37 +0200 (EET) Message-ID: <Pine.LNX.4.10.10012112133080.17196-100000@main.avilink.net> (raw) In-Reply-To: <20001211203155.A5966@LDV.fandra.org> On Mon, 11 Dec 2000, Dmitry V. Levin wrote: > On Mon, Dec 11, 2000 at 07:31:53PM +0300, Dmitry V. Levin wrote: > > Еще один вариант: я могу встроить в bash автоматическую переменную (с той > > же семантикой, что и RANDOM), которая всегда будет возвращать текущую > > ширину. Это самое дешевое решение, но вот вопрос: как назвать переменную? > > Тем более, что эти переменные уже есть, и bash про них уже знает! > Их зовут... LINES и COLUMNS :) :-) Именно. > > Надо только включить по-умолчанию опцию checkwinsize, немного изменив ее > функциональность; сейчас в документации написано: > If set, bash checks the window size after each command and, if necessary, > updates the values of LINES and COLUMNS. > > А надо так: > If set, bash checks the window size after each command and every time > variables LINES and COLUMNS are used, updating values of these variables > if necessary. > > Нет возражений? Никаких. Sincerely yours, Alexander Bokovoy The Midgard Project | www.midgard-project.org | Aurora R&D team Minsk Linux Users Group | www.minsk-lug.net | www.aurora-linux.com IPLabs Linux Team | linux.iplabs.ru | Architecte Open Source -- Put your brain in gear before starting your mouth in motion. _______________________________________________ Devel mailing list Devel@linux.iplabs.ru http://www.logic.ru/mailman/listinfo/devel
next prev parent reply other threads:[~2000-12-11 19:33 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2000-12-09 18:13 [devel] пересборка пакетов Peter Novodvorsky 2000-12-09 23:21 ` [devel] " aen 2000-12-09 19:52 ` [devel] " Peter Novodvorsky 2000-12-09 20:49 ` [devel] " Alexander Bokovoy 2000-12-09 20:50 ` [devel] " Peter Novodvorsky 2000-12-09 21:22 ` Alexander Bokovoy 2000-12-09 21:50 ` [devel] " Peter Novodvorsky 2000-12-10 3:44 ` aen 2000-12-09 22:22 ` Mikhail Zabaluev 2000-12-09 22:58 ` [devel] " Peter Novodvorsky 2000-12-09 23:16 ` [devel] " Dmitry V. Levin 2000-12-10 3:49 ` aen 2000-12-10 11:36 ` [devel] " Alexander Bokovoy 2000-12-10 15:38 ` [devel] " Dmitry V. Levin 2000-12-10 20:03 ` [devel] Re: [devel] " Alexander Bokovoy 2000-12-10 23:26 ` [devel] initscripts Dmitry V. Levin 2000-12-10 23:36 ` Alexander Bokovoy 2000-12-11 0:26 ` Dmitry V. Levin 2000-12-11 7:47 ` Alexander Bokovoy 2000-12-11 16:31 ` Dmitry V. Levin 2000-12-11 17:31 ` Dmitry V. Levin 2000-12-11 19:33 ` Alexander Bokovoy [this message] 2000-12-11 19:32 ` Alexander Bokovoy
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=Pine.LNX.4.10.10012112133080.17196-100000@main.avilink.net \ --to=ab@avilink.net \ --cc=devel@linux.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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git