X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Re: font Date: Fri, 2 Dec 2005 09:23:59 -0500 Message-ID: <94BF3137C62D3E4CAED7E97F876585F0D0388C@pauex2ku08.agere.com> From: "Williams, Gerald S \(Jerry\)" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id jB2EOHtu027261 Andrew DeFaria wrote: > Too many things? Other than I/O (which I agree is important) > of certain Windows only programs what else does rxvt do wrong? This is getting a bit off-topic, but one thing that bothers me is "normal" resizing under Windows. I'd rather it behave like it does under X (and command windows do under Windows), jumping to even multiples of lines & columns. I use a tiny zsh script to clean up (with the added benefit of allowing you to resize via command line): -----CUT----- #!/usr/bin/zsh # Resize RXVT window to an exact number of LINES & COLUMNS # # Usage: # fs [LINES] [COLUMNS] # # Where LINES or COLUMNS may be: # # - specify exact value # (+|-|*|/) - value relative to current setting (+1, /2, etc.) # - use current setting (current text region) # # 'fs' by itself trims the current window to exactly match its text region # # E.g.: # Trim to fit text: fs # Set width to 132: fs . 132 # Set to 24x80: fs 24 80 # Add one line: fs +1 # Double the width: fs . '*2' # must quote '*' from the shell case $1 in +[0-9]*|-[0-9]*|\*[0-9]*|/[0-9]*) ((L = $LINES $1)) ;; [0-9]*) L=$1 ;; *) L=$LINES ;; esac case $2 in +[0-9]*|-[0-9]*|\*[0-9]*|/[0-9]*) ((C = $COLUMNS $2)) ;; [0-9]*) C=$2 ;; *) C=$COLUMNS ;; esac print $'\e[8;'"$L;${C}t" -----CUT----- gsw -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/