delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/07/07:56:52

From: gvaughan AT oranda DOT demon DOT co DOT uk (Gary V. Vaughan)
Subject: Re: less, misbehaving - BASH 2.02
7 Oct 1998 07:56:52 -0700 :
Message-ID: <361A0DD9.9E8885B7.cygnus.gnu-win32@oranda.demon.co.uk>
References: <000001bdf057$80dcfff0$050120c0 AT menpc5>
Mime-Version: 1.0
To: Jonathan Storey <joz AT mentor-systems DOT com>, gnu-win32 AT cygnus DOT com

This is a multi-part message in MIME format.
--------------C46575E7ABBB885E77F0F0C5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This time I really  did attach the script!

"Gary V. Vaughan" wrote:
> 
> Jonathan Storey wrote:
> >
> > I have come across this problem on my WinNT(SP3) box using
> > cygwinb19(.4).dll (669150bytes) and BASH.EXE 2.0.2(1) when
> > using telnet utilising Sergey's inetd remote utilities.
> >
> > I have since got round the problem by reverting to BASH.EXE 2.01(1).EXE
> 
> I am still using Sergey's coolview cygwinb19.dll, and have the same
> problem.  Here is a script to which I have aliased less to get around
> the problem.  Is Earnie Boyd fixing bash for b20?  Or should we bring it
> to the attention of someone else?
> 
> I make that two fairly critical bugs in bash that I would like addressed
> in b20:
> 
>         a) The ^C sends SIGINT to all background jobs
>         b) SIGTTYIN/OUT signal arrives spuriously from time to time
> 
> Cheers,
>         Gary.
--------------C46575E7ABBB885E77F0F0C5
Content-Type: text/plain; charset=us-ascii;
 name="less"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="less"

#! /bin/sh

# work around a problem in bash-2.02 w. cygwin32 b19

LESS=${LESS-/usr/local/bin/less}

for arg; do
  case $arg in
  -)  files="$files $arg"; shift;;
  -*) LESSFLAGS="$LESSFLAGS $arg"; shift;;
  *)  files="$files $arg"; shift;;
  esac
done

cat $files | $LESS $LESSFLAGS

exit 0

--------------C46575E7ABBB885E77F0F0C5--

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019