From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10243 invoked from network); 26 Jun 1998 13:48:40 -0000 Received: from stefan.sime.com (193.228.80.247) by mail2.redhat.com with SMTP; 26 Jun 1998 13:48:40 -0000 Received: (from stefan@localhost) by stefan.sime.com (8.8.7/8.8.7) id PAA03289; Fri, 26 Jun 1998 15:46:53 +0200 Date: Fri, 26 Jun 1998 15:46:53 +0200 Message-Id: <199806261346.PAA03289@stefan.sime.com> From: Quant-X Alpha Linux Support To: axp-list@redhat.com Subject: dialog/gauge on RH5.1 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: Quant-X Alpha Linux Support Reply-To: Quant-X Alpha Linux Support Organization: Quant-X Service & Consulting Ges.m.b.H. X-Mailer: GNU Emacs 20.2.1 C-x m (X11 ; I; Linux 2.0.34 i586) Hi ! Problem: "dialog gauge" displays no bar when using ncurses 4.2.so but it works on 1.9.9.e. wattrset(dialog, item_selected_attr); wmove(dialog, height - 3, 4); for (i = 0; i < x; i++) { waddch(dialog, winch(dialog)); } but using "waddch(dialog, winch(dialog) | item_selected_attr);" works here. I'm not an ncurses expert and so I don't know if a) if the fix is correct (if, than dialog is broken) or b) waddch(dialog, winch(dialog)) should take care about wattrset(dialog, item_selected_attr); if so than forget about the fix and somebody should fix ncurses. Stefan Traby -- Quant-X Service & Ph: (+43) 4212 6004-0 Consulting Ges.m.b.H. Fax: (+43) 4212 600420 http://www.quant-x.com Email: support@quant-x.com