Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!mcsun!unido!sbsvax!mg From: mg@sbsvax.cs.uni-sb.de (Michael Greim) Newsgroups: comp.unix.programmer Subject: Re: Strange curses problem Keywords: curses bug? Message-ID: <11633@sbsvax.cs.uni-sb.de> Date: 26 Jun 91 16:23:42 GMT References: <883@spam.ua.oz> Organization: Universitaet des Saarlandes, Saarbruecken, Germany Lines: 35 Hello, In article <883@spam.ua.oz>, dcook@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@cs.uni-sb.de \ / \ / \ / or : ...!uunet!unido!sbsvax!mg ~ ~ ~