Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* dialog/gauge on RH5.1
@ 1998-06-26 13:46 Quant-X Alpha Linux Support
  0 siblings, 0 replies; only message in thread
From: Quant-X Alpha Linux Support @ 1998-06-26 13:46 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-06-26 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-26 13:46 dialog/gauge on RH5.1 Quant-X Alpha Linux Support

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox