home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 401 
 mark lewis to Chad Adams 
 Free Pascal Question 
 09 Jan 18 20:19:04 
 
 On 2018 Jan 09 17:47:00, you wrote to All:

 CA> When running locally, if i use writeln('My Text') it works fine. the
 CA> next writeln('test') writes left justified on the second line.

that's correct... writeln sends the CRLF which moves the cursor down one line
and returns it to the left margin...

 CA> When I run the same program over a telnet connection (in linux
 CA> xinetd), the second write line doesnt left justify.

what terminal are you using? check your terminal settings... i forget what it
is called but there is generally a setting for LF or CRLF... it sounds like
you just have LF which will simply move the cursor down a line but keep it in
the same column position...

 CA> I am sure it has to do with ANSI control characters

what makes you think this? especially if you are not sending any ANSI stuff...

 CA> but I cant find the unit, library, or info to reset the columns, and
 CA> also enable ANSI color.

based on this is why i say "not sending ANSI stuff" above... if you don't have
a unit or whatever for ANSI then it shouldn't come into play...

)\/(ark

Always Mount a Scratch Monkey
Do you manage your own servers? If you are not running an IDS/IPS yer doin' it
wrong...
... Caltitude: Height cat's back can arch to meet the hand stroking it
---
 * Origin:  (1:3634/12.73)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca