1. My code does not directly interact with any environment variables. 2. I am using version 2.6.4 to compile the daemon.
my .service file for systemctl looks like: [Unit] Description=The Modern Pascal Code Running Socket Server After=network.target [Service] Type=simple PIDFile=/run/coderunner2.pid EnvironmentFile=-/etc/coderunner2.conf ExecStartPre=/usr/bin/rm -f /run/coderunner2.pid ExecStart=/usr/local/bin/coderunner2 ExecReload=/bin/kill -s HUP $MAINPID KillSignal=SIGQUIT TimeoutStopSec=5 KillMode=process PrivateTmp=true Restart=on-failure RestartSec=42s StandardOutput=null [Install] WantedBy=multi-user.target 3. I do not see anything in that file that would override socket output. 4. And again, if I to /usr/local/bin/coderunner2 from the shell, the client see's the 8bit code. 5. per wireshark, tcpdump (if the same) - it shows '?' is being sent when the daemon is managed by systemctl, and the expected 8bit is sent when ran at the shell prompt. 6. So, the thought of LANG/LOCALE affecting it, from the shell: [root@www LEGACYX]# echo $LANG en_US [root@www LEGACYX]# echo $LOCALE 6b. Not sure how to do that except have my daemon display those two at connect time... 7. CentOS 7, dropped using init.d for systemctl - on my CentOS 6 machine, it works perfectly... 8... does socket.pp get affected at RUN-TIME, by environment variables? (did not notice my first pass through)... On Wed, Jan 29, 2020 at 8:43 AM <wkitt...@windstream.net> wrote: > On 1/29/20 8:54 AM, Ozz Nixon via fpc-devel wrote: > > Would/Could, LANG/LOCALE affect socket output? > > > wouldn't they affect what the server decides to transmit based on the > selected > "character set"? > > > -- > NOTE: No off-list assistance is given without prior approval. > *Please keep mailing list traffic on the list where it belongs!* > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel >
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel