public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Glenn Spell <glenn@gs.fay.nc.us>
To: cygwin@sourceware.cygnus.com (Cygwin List)
Subject: Bash 3.02 (w/small patch)
Date: Mon, 15 Mar 1999 06:54:00 -0000	[thread overview]
Message-ID: <199903151453.GAA02478@shell4.ba.best.com> (raw)

A new version of Bash (3.02) was released about a month ago.
The package is available at < ftp://ftp.gnu.org/gnu/bash/ >.

It seems to be faster than earlier releases even without
Trevor's spawn modifications.

With the following patch it compiles and runs fine on Cygwin.

--------------------------------------------------------------
diff -u3 -rN bash-2.03-orig/Makefile.in bash-2.03/Makefile.in
--- bash-2.03-orig/Makefile.in	Thu Feb 18 12:07:38 1999
+++ bash-2.03/Makefile.in	Sun Mar 14 05:42:46 1999
@@ -58,7 +58,7 @@
 	$(CC) $(CCFLAGS) -c $<
 
 # The name of this program and some version information.
-Program = bash
+Program = bash.exe
 Version = @BASHVERS@
 PatchLevel = @BASHPATCH@
 RELSTATUS = release
diff -u3 -rN bash-2.03-orig/config-top.h bash-2.03/config-top.h
--- bash-2.03-orig/config-top.h	Tue Dec 15 13:24:38 1998
+++ bash-2.03/config-top.h	Sun Mar 14 05:06:36 1999
@@ -45,7 +45,9 @@
 #endif
 
 /* Default primary and secondary prompt strings. */
-#define PPROMPT "\\s-\\v\\$ "
+#if defined (PROMPT_STRING_DECODE)
+#  define PPROMPT "\\s-\\v\\$ "
+#endif
 #define SPROMPT "> "
 
 /* System-wide .bashrc file for interactive shells. */
diff -u3 -rN bash-2.03-orig/execute_cmd.c bash-2.03/execute_cmd.c
--- bash-2.03-orig/execute_cmd.c	Tue Jan 26 16:23:50 1999
+++ bash-2.03/execute_cmd.c	Mon Mar 15 06:17:46 1999
@@ -2787,8 +2787,10 @@
   /* A subshell is neither a login shell nor interactive. */
   login_shell = interactive = 0;
 
+#if defined (JOB_CONTROL)
   jobs_hack = (builtin == jobs_builtin) &&
 		((subshell_environment & SUBSHELL_ASYNC) == 0 || pipe_out != NO_PIPE);
+#endif
 
   subshell_environment = SUBSHELL_ASYNC;
 
diff -u3 -rN bash-2.03-orig/variables.c bash-2.03/variables.c
--- bash-2.03-orig/variables.c	Tue Nov 10 13:29:46 1998
+++ bash-2.03/variables.c	Sun Mar 14 22:44:18 1999
@@ -282,7 +282,7 @@
   /* set up the prompts. */
   if (interactive_shell)
     {
-#if defined (PROMPT_STRING_DECODE)
+#if defined (PROMPT_STRING_DECODE) || defined (__CYGWIN32__)
       set_if_not ("PS1", primary_prompt);
 #else
       if (current_user.uid == -1)
--------------------------------------------------------------

-glenn

-- 
            Glenn Spell <glenn@gs.fay.nc.us>
         Fayetteville, North Carolina, U. S. A.
  ____________________________________________________
  ... blue skies ... happy trails ... sweet dreams ...

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

WARNING: multiple messages have this Message-ID
From: Glenn Spell <glenn@gs.fay.nc.us>
To: cygwin@sourceware.cygnus.com (Cygwin List)
Subject: Bash 3.02 (w/small patch)
Date: Wed, 31 Mar 1999 19:45:00 -0000	[thread overview]
Message-ID: <199903151453.GAA02478@shell4.ba.best.com> (raw)
Message-ID: <19990331194500.9_XkVZnEBAGP2qIy5e-vA6dlkHYuAC4gZefLeh2GAlY@z> (raw)

A new version of Bash (3.02) was released about a month ago.
The package is available at < ftp://ftp.gnu.org/gnu/bash/ >.

It seems to be faster than earlier releases even without
Trevor's spawn modifications.

With the following patch it compiles and runs fine on Cygwin.

--------------------------------------------------------------
diff -u3 -rN bash-2.03-orig/Makefile.in bash-2.03/Makefile.in
--- bash-2.03-orig/Makefile.in	Thu Feb 18 12:07:38 1999
+++ bash-2.03/Makefile.in	Sun Mar 14 05:42:46 1999
@@ -58,7 +58,7 @@
 	$(CC) $(CCFLAGS) -c $<
 
 # The name of this program and some version information.
-Program = bash
+Program = bash.exe
 Version = @BASHVERS@
 PatchLevel = @BASHPATCH@
 RELSTATUS = release
diff -u3 -rN bash-2.03-orig/config-top.h bash-2.03/config-top.h
--- bash-2.03-orig/config-top.h	Tue Dec 15 13:24:38 1998
+++ bash-2.03/config-top.h	Sun Mar 14 05:06:36 1999
@@ -45,7 +45,9 @@
 #endif
 
 /* Default primary and secondary prompt strings. */
-#define PPROMPT "\\s-\\v\\$ "
+#if defined (PROMPT_STRING_DECODE)
+#  define PPROMPT "\\s-\\v\\$ "
+#endif
 #define SPROMPT "> "
 
 /* System-wide .bashrc file for interactive shells. */
diff -u3 -rN bash-2.03-orig/execute_cmd.c bash-2.03/execute_cmd.c
--- bash-2.03-orig/execute_cmd.c	Tue Jan 26 16:23:50 1999
+++ bash-2.03/execute_cmd.c	Mon Mar 15 06:17:46 1999
@@ -2787,8 +2787,10 @@
   /* A subshell is neither a login shell nor interactive. */
   login_shell = interactive = 0;
 
+#if defined (JOB_CONTROL)
   jobs_hack = (builtin == jobs_builtin) &&
 		((subshell_environment & SUBSHELL_ASYNC) == 0 || pipe_out != NO_PIPE);
+#endif
 
   subshell_environment = SUBSHELL_ASYNC;
 
diff -u3 -rN bash-2.03-orig/variables.c bash-2.03/variables.c
--- bash-2.03-orig/variables.c	Tue Nov 10 13:29:46 1998
+++ bash-2.03/variables.c	Sun Mar 14 22:44:18 1999
@@ -282,7 +282,7 @@
   /* set up the prompts. */
   if (interactive_shell)
     {
-#if defined (PROMPT_STRING_DECODE)
+#if defined (PROMPT_STRING_DECODE) || defined (__CYGWIN32__)
       set_if_not ("PS1", primary_prompt);
 #else
       if (current_user.uid == -1)
--------------------------------------------------------------

-glenn

-- 
            Glenn Spell <glenn@gs.fay.nc.us>
         Fayetteville, North Carolina, U. S. A.
  ____________________________________________________
  ... blue skies ... happy trails ... sweet dreams ...

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


             reply	other threads:[~1999-03-15  6:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-15  6:54 Glenn Spell [this message]
     [not found] ` < 199903151453.GAA02478@shell4.ba.best.com >
1999-03-15  8:08   ` Chet Ramey
     [not found]     ` < 990315160647.AA14489.SM@nike.ins.cwru.edu >
1999-03-16 10:32       ` Glenn Spell
1999-03-31 19:45         ` Glenn Spell
1999-03-31 19:45     ` Chet Ramey
1999-03-31 19:45 ` Glenn Spell

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=199903151453.GAA02478@shell4.ba.best.com \
    --to=glenn@gs.fay.nc.us \
    --cc=cygwin@sourceware.cygnus.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).