From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23588 invoked from network); 17 Jun 1999 17:03:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jun 1999 17:03:09 -0000 Received: (qmail 24134 invoked by alias); 17 Jun 1999 17:02:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6706 Received: (qmail 24001 invoked from network); 17 Jun 1999 17:02:15 -0000 To: zsh-workers@sunsite.auc.dk Path: mason From: mason@primenet.com.au (Geoff Wing) X-Newsgroups: lists.zsh.workers Subject: Re: PATCH: 3.0.6-pre-4: COLUMNS/LINES environment handling Date: 17 Jun 1999 17:01:17 GMT Organization: PrimeNet Computer Consultants Distribution: local Message-ID: References: <002401beb8b6$03bdc680$21c9ca95@mow.siemens.ru> <990617152203.ZM5317@candle.brasslantern.com> Reply-To: mason@primenet.com.au NNTP-Posting-Host: coral.primenet.com.au X-Trace: coral.primenet.com.au 929638877 23399 203.43.15.2 (17 Jun 1999 17:01:17 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: 17 Jun 1999 17:01:17 GMT User-Agent: slrn/0.9.5.6 (UNIX) Bart Schaefer typed: :On Jun 17, 3:39pm, Andrej Borsenkow wrote: :They most certainly are used by the shell! LINES is now used by the code :that displays `select name in ...' listings; LINES also determines whether :SINGLE_LINE_ZLE is asserted; COLUMNS determines placement of RPS1; and :both obviously affect the way multiline zle is used. I've got some recollection of making zsh width restricted by COLUMNS. i.e. you can have an 80 column window and say COLUMNS=20. And back then everything would have been fine (on every system but one Irix one, I think) as I did some magic automargin thingy, which displayed the correct stuff on both automargin and non-automargin terms. Except, xterm's couldn't do proper cut'n'paste using that trick so that got taken out. Nowadays if you do COLUMNS=20 on an 80 column window and your 80 column window has automargin, then you'll lose out. Anyway, just injecting a bit of programming history into this. Regards, -- Geoff Wing : Work URL: http://www.primenet.com.au/ Rxvt Stuff : Ego URL : http://pobox.com/~gcw/ Zsh Stuff : Phone : (Australia) 0413 431 874