Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 405  |
|  Gene Buckle to Chad Adams  |
|  Free Pascal Question  |
|  11 Jan 18 07:39:38  |
 
Re: Free Pascal Question
By: Chad Adams to All on Tue Jan 09 2018 05:47 pm
> When running locally, if i use writeln('My Text') it works fine.
> the next writeln('test') writes left justified on the second line.
>
> When I run the same program over a telnet connection (in linux xinetd), the
> second write line doesnt left justify. I am sure it has to do with ANSI
> control characters but I cant find the unit, library, or info to reset the
> columns, and also enable ANSI color.
Your telnet client may be expecting both a carriage return and a line feed
character.
I suspect that if you do something like this:
writeln('one');
writeln('two');
writeln('three');
The output would be:
one
two
three
If that's the case, try this:
writeln('one'#13);
writeln('two'#13);
writeln('three'#13);
You should get:
one
two
three
g.
--- SBBSecho 2.27-Win32
* Origin: The Retro Archive (1:138/142)
|
[ << oldest | < older | list | newer > | newest >> ]