File: BUGS

package info (click to toggle)
robotfindskitten 1.7320508.406-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,720 kB
  • ctags: 102
  • sloc: sh: 8,991; ansic: 836; makefile: 59
file content (42 lines) | stat: -rw-r--r-- 1,531 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Current bugs:
-------------
When you hit the escape key, it takes about a second to register. Why?

	From the getch man page (Shazdeh <zen@emgnulation.org>):
-- 
       Use of the escape key by a programmer for a single charac-
       ter function is discouraged, as it will cause a	delay  of
       up to one second while the keypad code looks for a follow-
       ing function-key sequence.
--
	Also, you can now use Q to exit the simulation.

ncurses doesn't cooperate with characters less than '!'. It displays
them as, eg ^A for what should by rights be a little smiley
face. draw.h uses the A_ALTCHARSET flag. It doesn't work.

Occasionally, there are redraw errors.  Any ncurses gurus out there who can
clear this up?

	There's a chance that when I fixed the problem with noecho, it
	fixed this as well, but it hasn't been tested.
			- Shazdeh <zen@emgnulation.org>

Possible Improvements:
----------------------
The code generally needs to be cleaned up.

Although the code should compile on anything that has ncurses, the
special character set used probably won't be handled correctly on
anything but Linux/Intel. Have an option to stick to standard ASCII.
[currently robotfindskitten is only standard ASCII.]


I think the list of messages should be in a text file which is read in
at runtime, so that people can easily change the messages.

The screen array is bigger than it needs to be. It probably shouldn't
be an array at all, actually, since at most 1/8 of the entries are
full. It should be a hash or something.