Strange curses problem

Michael Greim mg at sbsvax.cs.uni-sb.de
Thu Jun 27 02:23:42 AEST 1991


Hello,

In article <883 at spam.ua.oz>, dcook at spam.ua.oz (David Cook) writes:
> (I got no answer to this question from comp.unix.programmer,
> so am re-posting to other groups. Maybe someone else knows
> this problem .... )
Maybe the reason why you did not get any answer is that your mail
address is wrong. Mail does not find "spam.ua.oz" and munnari.oz.au
says, it has no address record for "spam.oz.au" although the address was
correct and there is an entry in the nameserver.

> 
> Hello,
>   Here is a section of code I've been having trouble with,
[...]
> The current behaviour is to print the first number in each column
> in the correct place, and the other 5 appear around column 78 of the
> same line as the first number . If I remove the commented out section 
> of code, below, the program works.
> 
[...]

It seems that curses is using tabs to position the cursor to some
position on the screen, but there are no tabs set in your terminal.
Typical effect: the text is positioned at the right margin of the screen.
Try to set the tabs in your terminal, either by hand using the "setup"
feature of your terminal (if it has one), or by specifying a file
to load via tset (see manual about this).

	-mg
-- 
 .-. .-.  .-.  Michael Greim
(   X   )( __) e-mail : mg at cs.uni-sb.de
 \ / \ /  \ /  or     : ...!uunet!unido!sbsvax!mg
  ~   ~    ~



More information about the Comp.unix.programmer mailing list