thank you very much for answering and helping me!
that's right, the problem comes from the variable PS1.
in fact when i use the csh shell instead of bash my problem disappears.
but i want to keep my bash!
so i have to modify PS1.
my default PS1 is:
[\u@\h \W]\$
this one or the other default keeps the problem.
i read the "man bash" about PS1 and the only solution i saw is to put the option \n
in PS1, this is the new line special character. it solves my problem: i can see my datas.
but: now each time i press return i see a blank line!!
this is not really annoying, but i still don't know exactly which variable or stuff causes the problem.
because now i see:
____________________
[localhost]$./myprog
test
[localhost]$
____________________
and i should see:
____________________
[localhost]$./myprog
test[localhost]$
____________________
this last result is what i obtain with csh for instance.
see you