Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
custom:javascript [2019/04/28 17:27] – [Output] Note that console.write()/writeln() defeat the line-counting/auto-pausing digital man | custom:javascript [2019/05/06 02:05] – [See Also] digital man |
---|
| ''client.socket.send()'' | Yes | No | No | No | | No | Avoid using | | | ''client.socket.send()'' | Yes | No | No | No | | No | Avoid using | |
| |
| |
| === Carriage Returns === |
| If you wish to send a traditional "carriage return" character to the client terminal (i.e. move the cursor to the far left column without advancing to the next line) it is recommended that you use an output method/function that supports [[custom:Ctrl-A codes]] and you send the Ctrl-A ''['' sequences //instead of// an ASCII 13 (''\r'') character. This is required for PETSCII terminal compatibility, where an ASCII 13 character performs a complete "newline" sequence (the equivalent of ''\r\n'') on the client terminal. |
===== See Also ===== | ===== See Also ===== |
* [[http://synchro.net/docs/jsobjs.html|Synchronet JavaScript Object Model]] | * [[http://synchro.net/docs/jsobjs.html|Synchronet JavaScript Object Model]] |
* [[:custom:index|Customization]] | * [[:custom:index|Customization]] |
| |
{{tag>javascript}} | {{tag>javascript petscii}} |
| |