Index: libcfa/src/fstream.cfa
===================================================================
--- libcfa/src/fstream.cfa	(revision 18ebc28cba8a18b2ff7556a15e02215d055efd9e)
+++ libcfa/src/fstream.cfa	(revision d0cfcbe143ffc0d91029ca4847800c1f5b0dd049)
@@ -10,6 +10,6 @@
 // Created On       : Wed May 27 17:56:53 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Mon Aug 14 18:24:21 2023
-// Update Count     : 534
+// Last Modified On : Fri Aug 18 10:41:17 2023
+// Update Count     : 541
 //
 
@@ -45,6 +45,7 @@
 
 inline bool getNL$( ofstream & os ) { return os.sawNL$; }
-inline void setNL$( ofstream & os, bool state ) { os.sawNL$ = state; }
+inline bool setNL$( ofstream & os, bool state ) { bool temp = os.sawNL$; os.sawNL$ = state; return temp; }
 inline bool getANL$( ofstream & os ) { return os.nlOnOff$; }
+inline bool setANL$( ofstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; }
 
 inline bool sepPrt$( ofstream & os ) { setNL$( os, false ); return os.sepOnOff$; }
@@ -55,5 +56,5 @@
 
 inline bool getPrt$( ofstream & os ) { return os.prt$; }
-inline void setPrt$( ofstream & os, bool state ) { os.prt$ = state; }
+inline bool setPrt$( ofstream & os, bool state ) { bool temp = os.prt$; os.prt$ = state; return temp; }
 
 inline void lock( ofstream & os ) with( os ) { lock( os.lock$ ); }
@@ -212,4 +213,5 @@
 
 bool getANL$( ifstream & os ) { return os.nlOnOff$; }
+bool setANL$( ifstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; }
 
 inline void lock( ifstream & os ) with( os ) { lock( os.lock$ ); }
Index: libcfa/src/fstream.hfa
===================================================================
--- libcfa/src/fstream.hfa	(revision 18ebc28cba8a18b2ff7556a15e02215d055efd9e)
+++ libcfa/src/fstream.hfa	(revision d0cfcbe143ffc0d91029ca4847800c1f5b0dd049)
@@ -10,6 +10,6 @@
 // Created On       : Wed May 27 17:56:53 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Sat Aug  5 11:42:40 2023
-// Update Count     : 254
+// Last Modified On : Fri Aug 18 10:41:15 2023
+// Update Count     : 258
 //
 
@@ -41,6 +41,7 @@
 // private
 bool getNL$( ofstream & );
-void setNL$( ofstream &, bool );
+bool setNL$( ofstream &, bool );
 bool getANL$( ofstream & );
+bool setANL$( ofstream &, bool );
 
 bool sepPrt$( ofstream & );
@@ -51,5 +52,5 @@
 
 bool getPrt$( ofstream & );
-void setPrt$( ofstream &, bool );
+bool setPrt$( ofstream &, bool );
 
 void lock( ofstream & );
@@ -108,4 +109,5 @@
 // private
 bool getANL$( ifstream & );
+bool setANL$( ifstream &, bool );
 
 void lock( ifstream & );
Index: libcfa/src/iostream.hfa
===================================================================
--- libcfa/src/iostream.hfa	(revision 18ebc28cba8a18b2ff7556a15e02215d055efd9e)
+++ libcfa/src/iostream.hfa	(revision d0cfcbe143ffc0d91029ca4847800c1f5b0dd049)
@@ -10,6 +10,6 @@
 // Created On       : Wed May 27 17:56:53 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Mon Aug 14 17:35:40 2023
-// Update Count     : 508
+// Last Modified On : Fri Aug 18 10:44:50 2023
+// Update Count     : 512
 //
 
@@ -31,9 +31,10 @@
 	const char * sepGetCur$( ostype & );				// get current separator string
 	void sepSetCur$( ostype &, const char [] );			// set current separator string
-	bool getNL$( ostype & );							// check newline
-	void setNL$( ostype &, bool );						// saw newline
+	bool getNL$( ostype & );							// get newline
+	bool setNL$( ostype &, bool );						// set newline
 	bool getANL$( ostype & );							// get auto newline (on/off)
+	bool setANL$( ostype &, bool );						// set auto newline (on/off), and return previous state
 	bool getPrt$( ostype & );							// get fmt called in output cascade
-	void setPrt$( ostype &, bool );						// set fmt called in output cascade
+	bool setPrt$( ostype &, bool );						// set fmt called in output cascade
 	// public
 	void nlOn( ostype & );								// turn auto-newline state on
@@ -319,4 +320,5 @@
 	// private
 	bool getANL$( istype & );							// get scan newline (on/off)
+	bool setANL$( istype &, bool );						// set scan newline (on/off)
 	// public
 	void nlOn( istype & );								// read newline
Index: libcfa/src/strstream.cfa
===================================================================
--- libcfa/src/strstream.cfa	(revision 18ebc28cba8a18b2ff7556a15e02215d055efd9e)
+++ libcfa/src/strstream.cfa	(revision d0cfcbe143ffc0d91029ca4847800c1f5b0dd049)
@@ -10,6 +10,6 @@
 // Created On       : Thu Apr 22 22:24:35 2021
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Thu Jun 29 10:59:00 2023
-// Update Count     : 105
+// Last Modified On : Fri Aug 18 10:42:49 2023
+// Update Count     : 112
 //
 
@@ -33,6 +33,7 @@
 // private
 inline bool getNL$( ostrstream & os ) { return os.sawNL$; }
-inline void setNL$( ostrstream & os, bool state ) { os.sawNL$ = state; }
+inline bool setNL$( ostrstream & os, bool state ) { bool temp = os.sawNL$; os.sawNL$ = state; return temp; }
 inline bool getANL$( ostrstream & os ) { return os.nlOnOff$; }
+inline bool setANL$( ostrstream & os, bool state ) { bool temp = os.nlOnOff$; os.nlOnOff$ = state; return temp; }
 inline bool sepPrt$( ostrstream & os ) { setNL$( os, false ); return os.sepOnOff$; }
 inline void sepReset$( ostrstream & os ) { os.sepOnOff$ = os.sepDefault$; }
@@ -41,5 +42,5 @@
 inline void sepSetCur$( ostrstream & os, const char sepCur[] ) { os.sepCur$ = sepCur; }
 inline bool getPrt$( ostrstream & os ) { return os.prt$; }
-inline void setPrt$( ostrstream & os, bool state ) { os.prt$ = state; }
+inline bool setPrt$( ostrstream & os, bool state ) { bool temp = os.prt$; os.prt$ = state; return temp; }
 
 // public
@@ -132,4 +133,5 @@
 // private
 bool getANL$( istrstream & is ) { return is.nlOnOff$; }
+bool setANL$( istrstream & is, bool state ) { bool temp = is.nlOnOff$; is.nlOnOff$ = state; return temp;  }
 
 // public
Index: libcfa/src/strstream.hfa
===================================================================
--- libcfa/src/strstream.hfa	(revision 18ebc28cba8a18b2ff7556a15e02215d055efd9e)
+++ libcfa/src/strstream.hfa	(revision d0cfcbe143ffc0d91029ca4847800c1f5b0dd049)
@@ -10,6 +10,6 @@
 // Created On       : Thu Apr 22 22:20:59 2021
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Thu Jun 29 10:58:58 2023
-// Update Count     : 51
+// Last Modified On : Fri Aug 18 10:41:14 2023
+// Update Count     : 55
 // 
 
@@ -47,8 +47,9 @@
 void sepSetCur$( ostrstream &, const char [] );
 bool getNL$( ostrstream & );
-void setNL$( ostrstream &, bool );
+bool setNL$( ostrstream &, bool );
 bool getANL$( ostrstream & );
+bool setANL$( ostrstream &, bool );
 bool getPrt$( ostrstream & );
-void setPrt$( ostrstream &, bool );
+bool setPrt$( ostrstream &, bool );
 
 // public
@@ -87,4 +88,5 @@
 // private
 bool getANL$( istrstream & );
+bool setANL$( istrstream &, bool );
 
 // public
