[sword-devel] 1.7.5a1

2015-08-20 Thread Greg Hellings
Developers and other interested parties,

I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
it and let me know if there are issues. If I hear nothing or only
positive feedback, I'll bless the same tarball as the final 1.7.5
release.

http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz

--Greg

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Konstantin Maslyuk
Hi.

Could jira reflect this release, could statuses for items be updated, could 
items for previous releases be closed (we have 1.6.2 unreleased, item for 1.7.5 
isn't closed)?

Could my last two patches uploaded on jira be considered and included in 
upcoming release?

Blessings.

-Исходное сообщение-
От: "Greg Hellings" 
Отправлено: ‎21.‎08.‎2015 7:09
Кому: "SWORD Developers' Collaboration Forum" 
Тема: [sword-devel] 1.7.5a1

Developers and other interested parties,

I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
it and let me know if there are issues. If I hear nothing or only
positive feedback, I'll bless the same tarball as the final 1.7.5
release.

http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz

--Greg

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Greg Hellings
I don't control any of those things. I only curate commits from the trunk
branch into the 1.7 branch and prepare releases from there.

--Greg
On Aug 21, 2015 5:56 AM, "Konstantin Maslyuk" 
wrote:

> Hi.
>
> Could jira reflect this release, could statuses for items be updated,
> could items for previous releases be closed (we have 1.6.2 unreleased, item
> for 1.7.5 isn't closed)?
>
> Could my last two patches uploaded on jira be considered and included in
> upcoming release?
>
> Blessings.
> --
> От: Greg Hellings 
> Отправлено: ‎21.‎08.‎2015 7:09
> Кому: SWORD Developers' Collaboration Forum 
> Тема: [sword-devel] 1.7.5a1
>
> Developers and other interested parties,
>
> I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
> it and let me know if there are issues. If I hear nothing or only
> positive feedback, I'll bless the same tarball as the final 1.7.5
> release.
>
> http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz
>
> --Greg
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Karl Kleinpaste
On 08/21/2015 08:18 AM, Greg Hellings wrote:
> I don't control any of those things. I only curate commits from the
> trunk branch into the 1.7 branch and prepare releases from there.
FYI one insistent reason for a release now is to bring in the
 mismatch fix, about which I receive (invalid) Xiphos bug
reports and private email irregularly but not infrequently.

Basically, things already done in sword trunk are brought over to Greg's
1.7 maintenance branch, from which he then builds release tarballs.  If
the problem is that your patches haven't gotten into trunk, I think
you'll have to get Troy to react.
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Peter von Kaehne
I tend to bring fixes into the filters which i understand, but i stay away from 
anything which looks above my paygrade. 

Kalemas patches are well beyond my understanding. Sorry. Troy is currently 
travelling, but i guess he sees what is posted. 

Peter

Sent from my phone. Apologies for brevity and typos.On 21 Aug 2015 1:28 pm, 
Karl Kleinpaste  wrote:
>
> On 08/21/2015 08:18 AM, Greg Hellings wrote:
>>
>> I don't control any of those things. I only curate commits from the trunk 
>> branch into the 1.7 branch and prepare releases from there.
>
> FYI one insistent reason for a release now is to bring in the  
> mismatch fix, about which I receive (invalid) Xiphos bug reports and private 
> email irregularly but not infrequently.
>
> Basically, things already done in sword trunk are brought over to Greg's 1.7 
> maintenance branch, from which he then builds release tarballs.  If the 
> problem is that your patches haven't gotten into trunk, I think you'll have 
> to get Troy to react.
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Kahunapule Michael Johnson

  
  
On 08/20/2015 06:08 PM, Greg Hellings
  wrote:


  Developers and other interested parties,

I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
it and let me know if there are issues. If I hear nothing or only
positive feedback, I'll bless the same tarball as the final 1.7.5
release.

http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz


How do I fix these errors?


source/sword-1.7.5$ ./autogen.sh
*** Sword build system generation
*** Recreating libtool
libtoolize
./autogen.sh: 8: ./autogen.sh: libtoolize: not found
...

source/sword-1.7.5$ make
Makefile:490: .deps/buildtest.Po: No such file or directory
make: *** No rule to make target `.deps/buildtest.Po'.  Stop.

-- 
  
  Aloha,
  Kahunapule Michael Johnson
  

  
MICHAEL JOHNSON
  PO BOX 881143
  PUKALANI HI 96788-1143
USA

eBible.org
MLJohnson.org
Mobile: +1 808-333-6921
Skype: kahunapule
  

  

  


___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Peter von Kaehne
On a debian or similar system

 sudo apt-get install libtoolize 

Sent from my phone. Apologies for brevity and typos.On 22 Aug 2015 03:19, 
Kahunapule Michael Johnson  wrote:
>
> On 08/20/2015 06:08 PM, Greg Hellings wrote:
>>
>> Developers and other interested parties,
>>
>>
>>
>> I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
>>
>> it and let me know if there are issues. If I hear nothing or only
>>
>> positive feedback, I'll bless the same tarball as the final 1.7.5
>>
>> release.
>>
>>
>>
>> http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz
>
>
> How do I fix these errors?
>
>
> source/sword-1.7.5$ ./autogen.sh
> *** Sword build system generation
> *** Recreating libtool
> libtoolize
> ./autogen.sh: 8: ./autogen.sh: libtoolize: not found
> ...
>
> source/sword-1.7.5$ make
> Makefile:490: .deps/buildtest.Po: No such file or directory
> make: *** No rule to make target `.deps/buildtest.Po'.  Stop.
>
> -- 
>
> Aloha,
> Kahunapule Michael Johnson
>
> MICHAEL JOHNSON
> PO BOX 881143
> PUKALANI HI 96788-1143
> USA
> eBible.org
> MLJohnson.org
> Mobile: +1 808-333-6921
> Skype: kahunapule
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-21 Thread Greg Hellings
You shouldn't run that command from a distributed tar. The autogen.sh is
used by the release manager or developers during package time. The command
you are looking for is usrgen.sh or just ./configure

Running one of those should bring you to a state where invoking make will
suffice.

--Greg
On Aug 21, 2015 9:20 PM, "Kahunapule Michael Johnson" 
wrote:

> On 08/20/2015 06:08 PM, Greg Hellings wrote:
>
> Developers and other interested parties,
>
> I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
> it and let me know if there are issues. If I hear nothing or only
> positive feedback, I'll bless the same tarball as the final 1.7.5
> release.
> http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz
>
>
> How do I fix these errors?
>
>
> source/sword-1.7.5$ ./autogen.sh
> *** Sword build system generation
> *** Recreating libtool
> libtoolize
> ./autogen.sh: 8: ./autogen.sh: libtoolize: not found
> ...
>
> source/sword-1.7.5$ make
> Makefile:490: .deps/buildtest.Po: No such file or directory
> make: *** No rule to make target `.deps/buildtest.Po'.  Stop.
>
> --
>
> Aloha,
> *Kahunapule Michael Johnson*
>
>
> *MICHAEL JOHNSON PO BOX 881143 PUKALANI HI 96788-1143*
> USA eBible.org
> MLJohnson.org
> Mobile: +1 *808-333-6921 <808-333-6921>*
> Skype: kahunapule
>
> ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-22 Thread Kahunapule Michael Johnson
Title: signature

  
  
Thank you. I got the proposed package
  to compile, and osis2mod seems to be behaving itself properly,
  now.
  I did have to modify my OSIS generator to use  containers
  instead of milestones, though, otherwise osis2mod fails miserably
  by turning red letters on and never turning them off again in the
  modules that contain words of Jesus markup. Both ways are valid
  OSIS, but apparently just valid OSIS isn't enough. It doesn't
  matter much, though, as long as I can figure out what flavor of
  OSIS to feed osis2mod.
  
  On 08/21/2015 06:39 PM, Greg Hellings wrote:


  You shouldn't run that command from a distributed
tar. The autogen.sh is used by the release manager or developers
during package time. The command you are looking for is
usrgen.sh or just ./configure
  Running one of those should bring you to a state
where invoking make will suffice.
  --Greg
  On Aug 21, 2015 9:20 PM, "Kahunapule
Michael Johnson" 
wrote:

  
On 08/20/2015 06:08 PM, Greg Hellings wrote:


  Developers and other interested parties,

I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
it and let me know if there are issues. If I hear nothing or only
positive feedback, I'll bless the same tarball as the final 1.7.5
release.

http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz


How do I fix these errors?


source/sword-1.7.5$ ./autogen.sh
*** Sword build system generation
*** Recreating libtool
libtoolize
./autogen.sh: 8: ./autogen.sh: libtoolize: not found
...

source/sword-1.7.5$ make
Makefile:490: .deps/buildtest.Po: No such file or directory
make: *** No rule to make target `.deps/buildtest.Po'. 
Stop.

-- 
  Aloha,
  Kahunapule Michael Johnson
  

  
MICHAEL JOHNSON
  PO BOX 881143
  PUKALANI HI 96788-1143
USA
 eBible.org
MLJohnson.org
Mobile: +1 808-333-6921
Skype: kahunapule
  

  

  
  
  ___
  sword-devel mailing list: sword-devel@crosswire.org
  http://www.crosswire.org/mailman/listinfo/sword-devel
  Instructions to unsubscribe/change your settings at above page

  
  
  
  
  ___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



-- 
  
  
  

  
  
  

Your partner in
electronic Bible publishing,

  
  

  
  

  
MICHAEL JOHNSON
  PO BOX 881143
  PUKALANI HI 96788-1143
USA

eBible.org
MLJohnson.org
Mobile: +1 808-333-6921
Skype: kahunapule
  

  

  

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-22 Thread DM Smith
Re: . Yes milestones are equally valid. The challenge is that OSIS needs a 
… tag. As we suggest/recommend BSP (book-section-paragraph) as the 
primary containers, but applications need BCV (book-chapter-verse), we need to 
markup WOC within each verse.

So, I’ve coded the one well and the other miserably.

Glad you don’t really care. That you figured it out and adjusted for it. :)

In Him,
DM
> On Aug 22, 2015, at 7:58 PM, Kahunapule Michael Johnson 
>  wrote:
> 
> Thank you. I got the proposed package to compile, and osis2mod seems to be 
> behaving itself properly, now.
> I did have to modify my OSIS generator to use  containers instead of 
> milestones, though, otherwise osis2mod fails miserably by turning red letters 
> on and never turning them off again in the modules that contain words of 
> Jesus markup. Both ways are valid OSIS, but apparently just valid OSIS isn't 
> enough. It doesn't matter much, though, as long as I can figure out what 
> flavor of OSIS to feed osis2mod.
> 
> On 08/21/2015 06:39 PM, Greg Hellings wrote:
>> You shouldn't run that command from a distributed tar. The autogen.sh is 
>> used by the release manager or developers during package time. The command 
>> you are looking for is usrgen.sh or just ./configure
>> 
>> Running one of those should bring you to a state where invoking make will 
>> suffice.
>> 
>> --Greg
>> 
>> On Aug 21, 2015 9:20 PM, "Kahunapule Michael Johnson" > > wrote:
>> On 08/20/2015 06:08 PM, Greg Hellings wrote:
>>> Developers and other interested parties,
>>> 
>>> I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
>>> it and let me know if there are issues. If I hear nothing or only
>>> positive feedback, I'll bless the same tarball as the final 1.7.5
>>> release.
>>> 
>>> http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz 
>>> 
>> How do I fix these errors?
>> 
>> 
>> source/sword-1.7.5$ ./autogen.sh
>> *** Sword build system generation
>> *** Recreating libtool
>> libtoolize
>> ./autogen.sh: 8: ./autogen.sh: libtoolize: not found
>> ...
>> 
>> source/sword-1.7.5$ make
>> Makefile:490: .deps/buildtest.Po: No such file or directory
>> make: *** No rule to make target `.deps/buildtest.Po'.  Stop.
>> 
>> -- 
>> Aloha,
>> Kahunapule Michael Johnson
>> 
>> MICHAEL JOHNSON
>> PO BOX 881143
>> PUKALANI HI 96788-1143
>> USA  eBible.org 
>> MLJohnson.org 
>> Mobile: +1 808-333-6921 
>> Skype: kahunapule
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org 
>> 
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> 
>> Instructions to unsubscribe/change your settings at above page
>> 
>> 
>> ___
>> sword-devel mailing list: sword-devel@crosswire.org 
>> 
>> http://www.crosswire.org/mailman/listinfo/sword-devel 
>> 
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> -- 
>Your partner in electronic Bible publishing,
> 
> MICHAEL JOHNSON
> PO BOX 881143
> PUKALANI HI 96788-1143
> USA   eBible.org 
> MLJohnson.org 
> Mobile: +1 808-333-6921
> Skype: kahunapule ___
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2015-08-24 Thread Isaac Dunham
On Sat, Aug 22, 2015 at 12:39:46AM -0400, Greg Hellings wrote:
> You shouldn't run that command from a distributed tar. The autogen.sh is
> used by the release manager or developers during package time. The command
> you are looking for is usrgen.sh or just ./configure
> 
> Running one of those should bring you to a state where invoking make will
> suffice.

Looking in the stock tarball, I only see "usrinst.sh" and "configure.ac".
(Not a problem for me, but there may be a little issue in the release
scripts.)

I'll try it on Alpine later; I don't recall if I ever sent the fflush()
patch for installmgr, so I'll check.

God bless,
Isaac Dunham

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] 1.7.5a1

2016-01-23 Thread Isaac Dunham
On Fri, Aug 21, 2015 at 12:08:48AM -0400, Greg Hellings wrote:
> Developers and other interested parties,
> 
> I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
> it and let me know if there are issues. If I hear nothing or only
> positive feedback, I'll bless the same tarball as the final 1.7.5
> release.
> 
> http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz

A bug that I've referred to before but not sent the patch for
(an omission for which I must apologize):

Platform:   Alpine Linux, any musl-based release
SWORD versions: 1.7.x, possibly 1.8.x
Symptoms:
When 'installmgr -r ' issues the standard warning, it seemingly hangs
after the line ending "...then type yes at the prompt".
After typing in a response ending in a newline, the prompt shows up.
Cause:
cout (at least on this platform) is essentially an alternate way of writing
to stdout, which is supposed to be line-buffered by default.
Here, this means that if you want to display a partial line (no newline),
you need to flush cout after writing it, or the line will just
sit in the buffer.

grepping through utilities/, I see that genbookutil.cpp has a few spots
that should hit the same bug.

Here's a patch for those issues.

Thank you and God bless,
Isaac Dunham

diff --git a/utilities/genbookutil.cpp b/utilities/genbookutil.cpp
index 71363e3..c78f58f 100644
--- a/utilities/genbookutil.cpp
+++ b/utilities/genbookutil.cpp
@@ -59,7 +59,7 @@ void printLocalName(TreeKeyIdx *treeKey) {
 
 void setLocalName(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter New Node Name: ";
+   std::cout << "Enter New Node Name: " << flush;
fgets(buf, 1000, stdin);
SWBuf name = buf;
treeKey->setLocalName(name.trim());
@@ -69,7 +69,7 @@ void setLocalName(TreeKeyIdx *treeKey) {
 
 void gotoPath(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter Path: ";
+   std::cout << "Enter Path: " << flush;
fgets(buf, 1000, stdin);
SWBuf path = buf;
(*treeKey) = path.trim();
@@ -78,7 +78,7 @@ void gotoPath(TreeKeyIdx *treeKey) {
 
 void assurePath(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter Path: ";
+   std::cout << "Enter Path: " << flush;
fgets(buf, 1000, stdin);
SWBuf path = buf;
treeKey->assureKeyPath(path.trim());
@@ -117,7 +117,7 @@ void setEntryText(RawGenBook *book) {
 void appendSibbling(TreeKeyIdx *treeKey) {
if (treeKey->getOffset()) {
char buf[1023];
-   std::cout << "Enter New Sibbling Name: ";
+   std::cout << "Enter New Sibbling Name: " << flush;
fgets(buf, 1000, stdin);
SWBuf name = buf;
treeKey->append();
@@ -176,7 +176,7 @@ int main(int argc, char **argv) {
char line[1024];
 
do {
-   std::cout << "[" << treeKey->getText() << "] > ";
+   std::cout << "[" << treeKey->getText() << "] > " << flush;
fgets(line, 1000, stdin);
input = line;
input.trim();
diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp
index b705c25..3e53d84 100644
--- a/utilities/installmgr.cpp
+++ b/utilities/installmgr.cpp
@@ -72,7 +72,7 @@ virtual bool isUserDisclaimerConfirmed() const {
cout << "cannot be held responsible for their content. CAVEAT 
EMPTOR.\n\n\n";
cout << "If you understand this and are willing to enable 
remote source features\n";
cout << "then type yes at the prompt\n\n";
-   cout << "enable? [no] ";
+   cout << "enable? [no] " << flush;
 
char prompt[10];
fgets(prompt, 9, stdin);
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] 1.7.5a1

2016-01-23 Thread Isaac Dunham
On Sat, Jan 23, 2016 at 09:48:52PM -0800, Isaac Dunham wrote:
> On Fri, Aug 21, 2015 at 12:08:48AM -0400, Greg Hellings wrote:
> > Developers and other interested parties,
> > 
> > I've created a tarball and an SVN tag for SWORD 1.7.5a1. Please test
> > it and let me know if there are issues. If I hear nothing or only
> > positive feedback, I'll bless the same tarball as the final 1.7.5
> > release.
> > 
> > http://crosswire.org/ftpmirror/pub/sword/source/v1.7/sword-1.7.5a1.tar.gz
> 
> A bug that I've referred to before but not sent the patch for
> (an omission for which I must apologize):
> 
> Platform: Alpine Linux, any musl-based release
> SWORD versions:   1.7.x, possibly 1.8.x
> Symptoms:
> When 'installmgr -r ' issues the standard warning, it seemingly hangs
> after the line ending "...then type yes at the prompt".
> After typing in a response ending in a newline, the prompt shows up.
> Cause:
> cout (at least on this platform) is essentially an alternate way of writing
> to stdout, which is supposed to be line-buffered by default.
> Here, this means that if you want to display a partial line (no newline),
> you need to flush cout after writing it, or the line will just
> sit in the buffer.
> 
> grepping through utilities/, I see that genbookutil.cpp has a few spots
> that should hit the same bug.
> 
> Here's a patch for those issues.

And my apologies.
I'd used fflush(stdout), which worked. Then I decided to make it more
idiomatic, porting it to std::flush.
I didn't think to check whether I needed to specify std::.

Here's a fixed patch.

God bless,
Isaac Dunham

diff --git a/utilities/genbookutil.cpp b/utilities/genbookutil.cpp
index 71363e3..7c82b8a 100644
--- a/utilities/genbookutil.cpp
+++ b/utilities/genbookutil.cpp
@@ -59,7 +59,7 @@ void printLocalName(TreeKeyIdx *treeKey) {
 
 void setLocalName(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter New Node Name: ";
+   std::cout << "Enter New Node Name: " << std::flush;
fgets(buf, 1000, stdin);
SWBuf name = buf;
treeKey->setLocalName(name.trim());
@@ -69,7 +69,7 @@ void setLocalName(TreeKeyIdx *treeKey) {
 
 void gotoPath(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter Path: ";
+   std::cout << "Enter Path: " << std::flush;
fgets(buf, 1000, stdin);
SWBuf path = buf;
(*treeKey) = path.trim();
@@ -78,7 +78,7 @@ void gotoPath(TreeKeyIdx *treeKey) {
 
 void assurePath(TreeKeyIdx *treeKey) {
char buf[1023];
-   std::cout << "Enter Path: ";
+   std::cout << "Enter Path: " << std::flush;
fgets(buf, 1000, stdin);
SWBuf path = buf;
treeKey->assureKeyPath(path.trim());
@@ -117,7 +117,7 @@ void setEntryText(RawGenBook *book) {
 void appendSibbling(TreeKeyIdx *treeKey) {
if (treeKey->getOffset()) {
char buf[1023];
-   std::cout << "Enter New Sibbling Name: ";
+   std::cout << "Enter New Sibbling Name: " << std::flush;
fgets(buf, 1000, stdin);
SWBuf name = buf;
treeKey->append();
@@ -176,7 +176,7 @@ int main(int argc, char **argv) {
char line[1024];
 
do {
-   std::cout << "[" << treeKey->getText() << "] > ";
+   std::cout << "[" << treeKey->getText() << "] > " << std::flush;
fgets(line, 1000, stdin);
input = line;
input.trim();
diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp
index b705c25..4f76ef0 100644
--- a/utilities/installmgr.cpp
+++ b/utilities/installmgr.cpp
@@ -38,6 +38,7 @@ using namespace sword;
 using std::cout;
 using std::cerr;
 using std::cin;
+using std::flush;
 using std::map;
 
 
@@ -72,7 +73,7 @@ virtual bool isUserDisclaimerConfirmed() const {
cout << "cannot be held responsible for their content. CAVEAT 
EMPTOR.\n\n\n";
cout << "If you understand this and are willing to enable 
remote source features\n";
cout << "then type yes at the prompt\n\n";
-   cout << "enable? [no] ";
+   cout << "enable? [no] " << flush;
 
char prompt[10];
fgets(prompt, 9, stdin);
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page