~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to packages/extra/ncurses/testn.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{
2
 
  $Id: testn.pp,v 1.2 2002/09/07 15:43:01 peter Exp $
3
 
 
4
 
  Simple ncurses test
5
 
}
6
 
program testn;
7
 
uses
8
 
  ncurses;
9
 
 
10
 
var
11
 
  win : pWINDOW;
12
 
begin
13
 
  if initscr=Nil then halt(1);
14
 
  start_color;
15
 
  win:= newwin (10,60,10,10);
16
 
  if win=nil then
17
 
   begin
18
 
     endwin;
19
 
     halt(1);
20
 
   end;
21
 
  init_pair(1,COLOR_WHITE,COLOR_BLUE);
22
 
  wbkgd(win, COLOR_PAIR(1));
23
 
  erase;
24
 
  refresh;
25
 
  box(win, ACS_VLINE, ACS_HLINE);
26
 
  wrefresh(win);
27
 
  mvwaddstr(win,1,1,'Press any key to continue !');
28
 
  wrefresh(win);
29
 
  raw;
30
 
  wgetch(win);
31
 
  endwin;
32
 
end.
33
 
{
34
 
  $Log: testn.pp,v $
35
 
  Revision 1.2  2002/09/07 15:43:01  peter
36
 
    * old logs removed and tabs fixed
37
 
 
38
 
  Revision 1.1  2002/01/29 17:55:18  peter
39
 
    * splitted to base and extra
40
 
 
41
 
}