Re: [ITP] stgit 0.13 -- Quilt functionality on top of git

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 I also get the following when building from source:
 
 ./stgit-0.13-1.sh all
 [FATAL] ./stgit-0.13-1.sh.CygbuildBootVariablesGlobalEtcMain: c:No 
directory found at /usr/local/etc/etc

 Fixed,
 Jari

Did you change something recently in your build scripts ?

  09:19 PM [517] ./stgit-0.13-1.sh install
  ./stgit-0.13-1.sh: line 7793: bzip: command not found

This should read bzip2. Otherwise man pages dont't get bzip'd.

It builds fine from source now and packaging looks good. After fixing
the bzip2 thing GTG.

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 Included in Debian stable (etch). This is nice lighweight
 almost-bash-like shell.

   http://packages.debian.org/mksh

 Jari

 sdesc: Enhanced version of the Korn shell
 ldesc: A shell which is MirBSD enhanced version of the Public Domain
 Korn shell (pdksh), a bourne-compatible shell which is largely similar to 
the
 original ATT Korn shell. It includes bug fixes and feature
 improvements in order to produce a modern, robust shell good for
 interactive and especially script use.
 category: Shells
 requires: cygwin

 a) manual

   wget\
 http://cygwin.cante.net/mksh/setup.hint \
 http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2

Binary package missing.

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto
* Thu 2007-09-13 Dr Dr Dr.Volker.Zell-QHcLZuEGTsvQT0dZR+AlfA AT 
public.gmane.org
* Message-Id: 82r6l3osdy.fsf AT vzell-de.de.oracle.com
 Jari Aalto writes:

  Included in Debian stable (etch). This is nice lighweight
  almost-bash-like shell.

http://packages.debian.org/mksh

 Binary package missing.

Links were cut in half. Here:

  wget\
http://cygwin.cante.net/mksh/setup.hint \
http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2 \
http://cygwin.cante.net/mksh/mksh-2.6.3-1.tar.bz2 \
http://cygwin.cante.net/mksh/setup.hint

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
 Jari Aalto writes:

 Included in Debian stable (etch). This is nice lighweight
 almost-bash-like shell.

   http://packages.debian.org/mksh

 Jari

 sdesc: Enhanced version of the Korn shell
 ldesc: A shell which is MirBSD enhanced version of the Public Domain
 Korn shell (pdksh), a bourne-compatible shell which is largely similar 
 to the
 original ATT Korn shell. It includes bug fixes and feature
 improvements in order to produce a modern, robust shell good for
 interactive and especially script use.
 category: Shells
 requires: cygwin

 a) manual

   wget\
 http://cygwin.cante.net/mksh/setup.hint \
 http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2

Binary package missing.

I wasn't paying attention.  Do we really want two versions of ksh in the
distribution?

I'd say this was Igor's call.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 09:52:39AM -0400, Igor Peshansky wrote:
On Thu, 13 Sep 2007, Christopher Faylor wrote:

 On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
  Jari Aalto writes:
 
  Included in Debian stable (etch). This is nice lighweight
  almost-bash-like shell.
 
http://packages.debian.org/mksh
 
  Jari
 
  sdesc: Enhanced version of the Korn shell
  ldesc: A shell which is MirBSD enhanced version of the Public Domain
  Korn shell (pdksh), a bourne-compatible shell which is largely 
  similar to the
  original ATT Korn shell. It includes bug fixes and feature
  improvements in order to produce a modern, robust shell good for
  interactive and especially script use.
  category: Shells
  requires: cygwin
 
  a) manual
 
wget\
  http://cygwin.cante.net/mksh/setup.hint \
  http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2
 
 Binary package missing.

 I wasn't paying attention.  Do we really want two versions of ksh in the
 distribution?

 I'd say this was Igor's call.

We've had this discussion before.  The last message was
http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html, which never got
a reply.

I thought I remembered something like this.

Let's not bother with mksh then.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Igor Peshansky
On Thu, 13 Sep 2007, Christopher Faylor wrote:

 On Thu, Sep 13, 2007 at 09:52:39AM -0400, Igor Peshansky wrote:
 On Thu, 13 Sep 2007, Christopher Faylor wrote:
 
  On Thu, Sep 13, 2007 at 10:56:41AM +0200, Dr. Volker Zell wrote:
   Jari Aalto writes:
  
   Included in Debian stable (etch). This is nice lighweight
   almost-bash-like shell.
  
 http://packages.debian.org/mksh
  
   Jari
  
   sdesc: Enhanced version of the Korn shell
   ldesc: A shell which is MirBSD enhanced version of the Public 
   Domain
   Korn shell (pdksh), a bourne-compatible shell which is largely 
   similar to the
   original ATT Korn shell. It includes bug fixes and feature
   improvements in order to produce a modern, robust shell good for
   interactive and especially script use.
   category: Shells
   requires: cygwin
  
   a) manual
  
 wget\
   http://cygwin.cante.net/mksh/setup.hint \
   http://cygwin.cante.net/mksh/mksh-R31b-1-src.tar.bz2
  
  Binary package missing.
 
  I wasn't paying attention.  Do we really want two versions of ksh in the
  distribution?
 
  I'd say this was Igor's call.
 
 We've had this discussion before.  The last message was
 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html, which never got
 a reply.

 I thought I remembered something like this.

 Let's not bother with mksh then.

Actually, let's hope that this time Jari answers my questions...  As I
said, if mksh is a full (and fully compatible) replacement for pdksh, I'm
in favor of getting the newer package into the distro.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto

 Actually, let's hope that this time Jari answers my questions...  As I
 said, if mksh is a full (and fully compatible) replacement for pdksh

To my knowledge, it is. If someone has *.ksh files to try, please
download and install that binary package and see it the mksh handles
them.

The developer is active and responsive.

 I'm in favor of getting the newer package into the distro. Igor

According to:

http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

The bug reports:

http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

They are not very clear, but I tried my best to reproduce.

[1] Multiple sourcing of initializations files. 

The script that fails sources another script which loads a whole
bunch of functions.

The error happens when I call a function from a certain script, I
get this error. However, if I call it from a smaller script
(specially written to just call this function) it works

Not a problem under mksh. Multiple sourced files; function work. That is

[2] Memory allocation error

/home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
 memory outside of block (corrupted?)

By running the scripts in debug mode (set -x), I found that
the problem seemed to occur when declared functions (i.e.,
declared within the script) were invoked multiple times.
The functions would work at first, then stop working --
as if the functions somehow ate up the available memory.

I invoked function 1000 times in a loop, no malloc errors.

[3] Prompt which gets repeated if it's multiline

keying ESC/ results in 

WS-XP-4960: /home/rthompso
WS-XP-4960: /home/rthompso
WS-XP-4960: /home/rthompso
$ /

Not applicaple. ESC-/ key combination doe snot exist in mksh.
Multiline prompts work without promlems.

Jari

-- 
Welcome to FOSS revolution: we fix and modify until it shines


[GTG] Re: [ITP] stgit 0.13 -- Quilt functionality on top of git

2007-09-13 Thread Dr. Volker Zell
 Jari Aalto writes:

 Repackaged:

   wget\
 http://cygwin.cante.net/stgit/stgit-0.13-1.tar.bz2 \
 http://cygwin.cante.net/stgit/stgit-0.13-1-src.tar.bz2 \
 http://cygwin.cante.net/stgit/setup.hint

GTG now

 Thanks,
 Jari

Ciao
  Volker


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Igor Peshansky
On Thu, 13 Sep 2007, Jari Aalto wrote:

  Actually, let's hope that this time Jari answers my questions...  As I
  said, if mksh is a full (and fully compatible) replacement for pdksh

 To my knowledge, it is. If someone has *.ksh files to try, please
 download and install that binary package and see it the mksh handles
 them.

Hmm, you seem to be contradicting that below...

 The developer is active and responsive.

  I'm in favor of getting the newer package into the distro. Igor

 According to:

 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

 The bug reports:

 http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
 http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
 http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
 http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

 They are not very clear, but I tried my best to reproduce.

 [1] Multiple sourcing of initializations files.

 The script that fails sources another script which loads a whole
 bunch of functions.

 The error happens when I call a function from a certain script, I
 get this error. However, if I call it from a smaller script
 (specially written to just call this function) it works

 Not a problem under mksh. Multiple sourced files; function work. That is

This sentence seems truncated.  In any case, the bug report was too vague,
and I haven't had the time to investigate.

 [2] Memory allocation error

 /home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
  memory outside of block (corrupted?)

 By running the scripts in debug mode (set -x), I found that
 the problem seemed to occur when declared functions (i.e.,
 declared within the script) were invoked multiple times.
 The functions would work at first, then stop working --
 as if the functions somehow ate up the available memory.

 I invoked function 1000 times in a loop, no malloc errors.

I have a testcase for this one (attached).  This has nothing to do with
functions.  I think it's a matter of not handling long filenames properly
(an off-by-one error?).

 [3] Prompt which gets repeated if it's multiline

 keying ESC/ results in 

 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 $ /

 Not applicaple. ESC-/ key combination doe snot exist in mksh.
 Multiline prompts work without promlems.

Sure it exists.  You have to set -o vi first.  But this one I can't
reproduce in the current pdksh, either.

Also, this one was #4 -- you missed #3, which was about tab completion and
quoting spaces and special characters (which is reproducible).

Since we're testing known issues, here's another one I missed:
http://cygwin.com/ml/cygwin/2005-01/msg00073.html.  Again, reproducible
in current pdksh.

Anyway, I don't mind a test release of this -- if people find no problems
with their ksh scripts, we can switch over to mksh (and switch the
maintainership over to you).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Belief can be manipulated.  Only knowledge is dangerous.  -- Frank Herbert#!/usr/bin/ksh
mkdir -p 
./A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name
function main
{
  set -x
  echo 1 
./A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name/A_Long_Name.txt
}
main



Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Christopher Faylor
On Thu, Sep 13, 2007 at 05:19:58PM -0400, Igor Peshansky wrote:
Anyway, I don't mind a test release of this -- if people find no problems
with their ksh scripts, we can switch over to mksh (and switch the
maintainership over to you).

I'm fine with this too, FWIW.

cgf


Re: [ITP] mksh-R31b-1 -- Enhanced version of the Korn shell

2007-09-13 Thread Jari Aalto
* Thu 2007-09-13 Igor Peshansky pechtcha-+I05ep9qJbk3uPMLIKxrzw AT 
public.gmane.org
* Message-Id: Pine.GSO.4.63.0709131653470.8875 AT access1.cims.nyu.edu
 According to:

 http://cygwin.com/ml/cygwin-apps/2006-05/msg00024.html

 The bug reports:

 http://cygwin.com/ml/cygwin/2004-08/msg00112.html [1]
 http://cygwin.com/ml/cygwin/2005-06/msg00202.html [2]
 http://cygwin.com/ml/cygwin/2005-08/msg01382.html [3]
 http://cygwin.com/ml/cygwin/2006-02/msg00448.html [4]

 They are not very clear, but I tried my best to reproduce.

 [1] Multiple sourcing of initializations files.

 In any case, the bug report was too vague,
 and I haven't had the time to investigate.

I'm attaching the test case source.sh, but I'm not sure if user meant
this. The report is too hazy.

 [2] Memory allocation error

 /home/tbaker/u/bin/urlists[50]: internal error: alloc: freeing
  memory outside of block (corrupted?)

 By running the scripts in debug mode (set -x), I found that
 the problem seemed to occur when declared functions (i.e.,
 declared within the script) were invoked multiple times.
 The functions would work at first, then stop working --
 as if the functions somehow ate up the available memory.

 I invoked function 1000 times in a loop, no malloc errors.

 I have a testcase for this one (attached).  This has nothing to do with
 functions.  I think it's a matter of not handling long filenames properly
 (an off-by-one error?).

Your test case worked fine under mksh.

 [3] Prompt which gets repeated if it's multiline

 keying ESC/ results in 

 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 WS-XP-4960: /home/rthompso
 $ /

 Not applicaple. ESC-/ key combination doe snot exist in mksh.
 Multiline prompts work without promlems.

 Sure it exists.  You have to set -o vi first.  But this one I can't
 reproduce in the current pdksh, either.

 Also, this one was #4 -- you missed #3, which was about tab completion and
 quoting spaces and special characters (which is reproducible).

Forgot to mention it, yes. The test case passed, the directory name was
completed correctly

mkdir 'Whiteboards  Photos'
cd W[TAB]
cd Whiteboards\ \\ Photos/

 Since we're testing known issues, here's another one I missed:
 http://cygwin.com/ml/cygwin/2005-01/msg00073.html.  Again, reproducible
 in current pdksh.

Same problem in mksh. I've contacted the developer about this.

 Anyway, I don't mind a test release of this -- if people find no problems
 with their ksh scripts, we can switch over to mksh (and switch the
 maintainership over to you).
   Igor

We could use both, but have /usr/bin/ksh to point to one that has proven
the most ksh compatible and bug free.

Jari




sourcing-multiple.tar
Description: archive/tar