What could change my line endings?



Hello,
I was recently tinkering around, programming interpreters,
when I discovered that my line endings are CR (0x0D),
instead of the expected LF (0x0A).

This behavior has been observed under a plain console,
xterm, LXTerminal, and xfce Terminal.

Machine:
Toshiba Satellite A205, Dual P4 @ 1.6 GHz, 1 GB RAM
OS:
Zenwalk GNU Linux 7, latest patches applied

I am at a loss to what could changed the line endings under
the console...

Console reports $TERM=linux, all the X-based terminals
report $TERM=xterm

All terminals report $LANG=en_US.utf8

Can anyone shed some light?

TIA,
Tarkin

.



Relevant Pages

  • Re: What could change my line endings?
    ... Do you mean when you hit 'return', applications reading the terminal ... I am at a loss to what could changed the line endings under ... Console reports $TERM=linux, all the X-based terminals ... All terminals report $LANG=en_US.utf8 ...
    (comp.os.linux.misc)
  • Re: how to set argv command line args for ps
    ... >sequences could set and then report back strings. ... that's why you shouldn't be using terminals with programmable ... And the people who fixed "xterm should be able to report windowtitle" ... to opinions held by my employer, Sun Microsystems. ...
    (comp.unix.solaris)
  • Re: Kylix doesnt like D 2006
    ... Willi, ... > Reason for the errors are mixed line endings; ... > I'll open a QC report for this.. ...
    (borland.public.delphi.non-technical)
  • looking for DOS-UNIX-Mac file detector
    ... report whether the file has Unix line endings, ... want it to detect and report whether its newlines are for Unix, ... I could probably script this, but if something has already been ...
    (comp.unix.shell)
  • Re: looking for DOS-UNIX-Mac file detector
    ... report whether the file has Unix line endings, ... want it to detect and report whether its newlines are for Unix, ... Windows, or Mac systems. ...
    (comp.unix.shell)