LF (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (remove displaytitle)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:LF}}
<span class="pageSubtitle">Separate returned web lines by line-feed character</span>
<span class="pageSubtitle"><section begin="desc" />Separate returned web lines by line-feed character<section end="desc" /></span>


<var>LF</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port.  
<var>LF</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


This parameter indicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').  
This parameter indicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').  
Line 10: Line 9:
While most browsers will correctly display text data whether the line separator is CR, LF or CR/LF, other non-browser applications might not process one or the other correctly. If text data is being saved from the browser and is not being correctly processed by another application (either appearing as one big line or with non-displayable characters at the end of each line), then experimenting with the <var>CR</var>, <var>LF</var>, and <var>CRLF</var> parameters might prove helpful. The default setting for <var>CR</var>, <var>LF</var>, or <var>CRLF</var> is <var>CR</var>.  
While most browsers will correctly display text data whether the line separator is CR, LF or CR/LF, other non-browser applications might not process one or the other correctly. If text data is being saved from the browser and is not being correctly processed by another application (either appearing as one big line or with non-displayable characters at the end of each line), then experimenting with the <var>CR</var>, <var>LF</var>, and <var>CRLF</var> parameters might prove helpful. The default setting for <var>CR</var>, <var>LF</var>, or <var>CRLF</var> is <var>CR</var>.  


The <var>JANUS DEFINE</var> setting for <var>CR</var>, <var>LF</var>, or <var>CRLF</var> can be overridden by the corresponding parameter setting on a <var>[[JANUS WEB ON]]</var> rule or by a <var>[[$Web_ProcSend]]</var> parameter.  
The <var>JANUS DEFINE</var> setting for <var>CR</var>, <var>LF</var>, or <var>CRLF</var> can be overridden by the corresponding parameter setting on a <var>[[JANUS WEB ON]]</var> rule or by a <var>[[$Web_Proc_Send]]</var> parameter.  


Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.
Valid only for <var>[[JANUS DEFINE#type|WEBSERV]]</var> ports.


==References==
==See also==
 
<ul>
See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


[[Category:JANUS DEFINE parameters|LF]]
[[Category:JANUS DEFINE parameters|LF]]

Latest revision as of 17:49, 8 June 2016

Separate returned web lines by line-feed character

LF is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

This parameter indicates that lines of text data sent to a browser should be separated by the ASCII line feed character (X'0A').

The LF parameter is mutually exclusive with the CR and CRLF parameters.

While most browsers will correctly display text data whether the line separator is CR, LF or CR/LF, other non-browser applications might not process one or the other correctly. If text data is being saved from the browser and is not being correctly processed by another application (either appearing as one big line or with non-displayable characters at the end of each line), then experimenting with the CR, LF, and CRLF parameters might prove helpful. The default setting for CR, LF, or CRLF is CR.

The JANUS DEFINE setting for CR, LF, or CRLF can be overridden by the corresponding parameter setting on a JANUS WEB ON rule or by a $Web_Proc_Send parameter.

Valid only for WEBSERV ports.

See also