[Tutor] carriage return on windows
Jacob S.
keridee at jayco.net
Sun Jan 30 04:28:19 CET 2005
Thanks Kent and Max!!!!!
Wow, I didn't know it did that. I'm too dumb to figure it out on my own I
guess...
Oh well! I found a cool new thing to play with at least!
Thanks,
Jacob
>
> On Jan 30, 2005, at 02:40, Jacob S. wrote:
>
>> I don't think that's what he wants. I think he wants to *overwrite*
>> what's in the shell with new output.
>> For example.
>>
>>
>> so that the whole line is overwritten. In my experience, this is not
>> possible and if anyone can show me how to do it,
>> I would be grateful.
>>
>> HTH,
>> Jacob
>
> It *is* possible, that's exactly what my code does (well, as long as you
> don't run it on Mac OS 9). The carriage return (\r, as opposed to the
> linefeed \n) moves the cursor to the beginning of the *current* line.
>
> -- Max
> maxnoel_fr at yahoo dot fr -- ICQ #85274019
> "Look at you hacker... A pathetic creature of meat and bone, panting and
> sweating as you run through my corridors... How can you challenge a
> perfect, immortal machine?"
>
>
>
More information about the Tutor
mailing list