The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
I remember the things well. I could never understand why the first key for line end was called CR=Campbell Ritchie, but I knew the second key was LF=LineFeed.Tim Holloway wrote:. . . TeleType™ terminals: . . .
Campbell Ritchie wrote:
I remember the things well. I could never understand why the first key for line end was called CR=Campbell Ritchie, but I knew the second key was LF=LineFeed.Tim Holloway wrote:. . . TeleType™ terminals: . . .
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
henry leu wrote:I'm running Windows command prompt and IntelliJ IDE all on the same Windows system. Why do they show different result?
Paul Clapham wrote:
henry leu wrote:I'm running Windows command prompt and IntelliJ IDE all on the same Windows system. Why do they show different result?
Why not? You're probably the first person to care about that for the last 25 years. I'm not entirely joking... when Windows 95 was released, command-line programs became obsolete.
henry leu wrote:
I'm running Windows command prompt and IntelliJ IDE all on the same Windows system. Why do they show different result?
No, about six years ago I tried running a program using \r from a dual boot machine and got different results running the same bytecode from the same memory location on the same machine depending on whether I booted into Windows® (probably Win7) or Linux (probably Fedora).Paul Clapham wrote:. . . You're probably the first person to care about that for the last 25 years. . . .
Dave Tolls wrote:
henry leu wrote:
I'm running Windows command prompt and IntelliJ IDE all on the same Windows system. Why do they show different result?
Because they're two different applications, each treating \r subtley differently.
The same applies to the two bits of IntelliJ.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Tim Holloway wrote:
Hey, I didn't do that long-winded explanation all for nothing.
Tim Holloway wrote:
And don't forget that for a LONG time, Windows Notepad handled end-of-line different than Windows Wordpad!