bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug: ncurses + slackware 10.0, 10.1


From: Russell Whitaker
Subject: bug: ncurses + slackware 10.0, 10.1
Date: Thu, 17 Mar 2005 14:13:13 -0800 (PST)

Hi

Program below illustrates a bug: lower case a,  lower case f thru z,
and number 0 are printed with graphic characters. This bug did not
appear in earlier versions of slackware.

If you make the window with a frame around it, (uncomment the framewin
line) the characters are printed normally, and afterwards any window
written to is also printed normally.

program ncurtest;
uses GPC, GPCUtil, CRT, FrameWin;

var
  submenu : WinState;

  Data : array[1..3] of string( 32 ) = (
    'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    'abcdefghijklmnopqrstuvwxyz',
    '0123456789');

  i : integer;

begin
  i := (ScreenSize.X - 32) div 2;
  MakeWin( SubMenu, i, 2, i + 32, 7 );
{  FrameWin('HELP: hit Enter to exit', DoubleFrame ); }
  FillWin( ' ', 16 * Blue );
  HideCursor;
  for i := 1 to 3 do
    WriteStrAt( 2,i, Data[ i ], 16 * Blue + LightGray );
end.

   Russ

Note to address@hidden, address@hidden:
  address@hidden is a pascal mailing list
  unit CRT is a pascal interface to ncurses




reply via email to

[Prev in Thread] Current Thread [Next in Thread]