Hello community, here is the log from the commit of package yast2-ncurses checked in at Tue Mar 6 11:19:16 CET 2007. -------- --- yast2-ncurses/yast2-ncurses.changes 2007-03-02 12:44:17.000000000 +0100 +++ /mounts/work_src_done/STABLE/yast2-ncurses/yast2-ncurses.changes 2007-03-06 10:14:09.380151000 +0100 @@ -1,0 +2,7 @@ +Tue Mar 6 10:10:33 CET 2007 - kmachalkova@suse.cz + +- initscr() code is back - needed for running yast clients from + scripts with no terminal associated (#248864) +- 2.15.11 + +------------------------------------------------------------------- Old: ---- yast2-ncurses-2.15.10.tar.bz2 New: ---- yast2-ncurses-2.15.11.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ncurses.spec ++++++ --- /var/tmp/diff_new_pack.Sh7732/_old 2007-03-06 11:19:09.000000000 +0100 +++ /var/tmp/diff_new_pack.Sh7732/_new 2007-03-06 11:19:09.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ncurses (Version 2.15.10) +# spec file for package yast2-ncurses (Version 2.15.11) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-ncurses -Version: 2.15.10 +Version: 2.15.11 Release: 1 License: GNU General Public License (GPL) Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-ncurses-2.15.10.tar.bz2 +Source0: yast2-ncurses-2.15.11.tar.bz2 prefix: /usr BuildRequires: doxygen gcc-c++ libzypp-devel yast2-core-devel yast2-devtools BuildRequires: blocxx-devel libxcrypt-devel @@ -44,7 +44,7 @@ %prep -%setup -n yast2-ncurses-2.15.10 +%setup -n yast2-ncurses-2.15.11 %build %{prefix}/bin/y2tool y2autoconf @@ -77,6 +77,10 @@ %doc %{prefix}/share/doc/packages/yast2-ncurses %changelog +* Tue Mar 06 2007 - kmachalkova@suse.cz +- initscr() code is back - needed for running yast clients from + scripts with no terminal associated (#248864) +- 2.15.11 * Fri Mar 02 2007 - kmachalkova@suse.cz - Replaced 'Solve' label with 'OK -- Try again' in pkg manager (to be compatible with Qt), enhanced help text (#213602) ++++++ yast2-ncurses-2.15.10.tar.bz2 -> yast2-ncurses-2.15.11.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.10/src/NCurses.cc new/yast2-ncurses-2.15.11/src/NCurses.cc --- old/yast2-ncurses-2.15.10/src/NCurses.cc 2007-02-14 15:30:26.000000000 +0100 +++ new/yast2-ncurses-2.15.11/src/NCurses.cc 2007-03-06 10:10:10.000000000 +0100 @@ -271,6 +271,12 @@ open(log.c_str(), O_APPEND | O_CREAT); } + if ( !theTerm ) { + UIMIL << "no term so fall back to initscr" << endl; + if ( ::initscr() == NULL ) + throw NCursesError( "initscr() failed" ); + } + UIMIL << "have color = " << ::has_colors() << endl; if ( want_colors() && ::has_colors() ) { if ( ::start_color() != OK ) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-ncurses-2.15.10/VERSION new/yast2-ncurses-2.15.11/VERSION --- old/yast2-ncurses-2.15.10/VERSION 2007-03-02 12:40:33.000000000 +0100 +++ new/yast2-ncurses-2.15.11/VERSION 2007-03-06 10:10:30.000000000 +0100 @@ -1 +1 @@ -2.15.10 +2.15.11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org