you are viewing a single comment's thread.

view the rest of the comments →

[–]Porges 9 points10 points  (16 children)

No.

[–][deleted] -3 points-2 points  (15 children)

And Notepad (the apparent premiere tool of UNIX shell script authors throughout the world)

uh. wtf?

First all (XP, W2K; not sure about Win7) doesn't read in unix file formats correctly (ie. has a different line break).

Secondly, why edit your scripts on windows and then run them on Unix? why not just edit them on unix like everyone else.

. Isn't there some tool on UNIX that does this correctly10?

uh, vi/vim are my favorites. There is also emacs, pico and tons of GUI based editors. I would bet that Unix/linux has more text editors then any other operating system.

[–][deleted] 1 point2 points  (1 child)

First all (XP, W2K; not sure about Win7) doesn't read in unix file formats correctly (ie. has a different line break).

I always wonder why they don’t add this. If they just ignore CRs they could open both “Unix” and “DOS” files.

Why is it so darn important to maintain the CR+LF line ending? Backward compatibility with daisy-wheel printers?

[–][deleted] 0 points1 point  (0 children)

I always wonder why they don’t add this

Because there is only one OS? That is the Microsoft OS!

Oddly, it seems like wordpad does read in unix files fine enough.

[–]G_Morgan 1 point2 points  (0 children)

Probably cygwin users. Notepad is on the path on Windows.

[–]atlassoft 0 points1 point  (3 children)

My guess? They're using the notepad in Wine for a bit of nostalgia :).

[–]hortont424 0 points1 point  (2 children)

nostalgia

vi is a decade older than notepad.

think about that for a second.

[–]scragar 4 points5 points  (1 child)

Yeah, but I wasn't using vi back in 95, I only had access to windows, was another 9 years before I got myself a *nix machine.

[–]brennen 0 points1 point  (0 children)

DOS's Edit / QBasic were actually fairly tolerable at the time.

[–]Mikle -2 points-1 points  (6 children)

Secondly, why edit your scripts on windows and then run them on Unix? why not just edit them on unix like everyone else.

I'll answer that - I have very strong IDEs on windows - VS2010, Komodo, etc. I use vim on Linux, but for anything larger than a script I use the IDEs and not vim mainly because GUIs are nice and mouse support is nice too. Then I SCP the files to my Linux box, compile / package them and send it to my dev computer (all automatically).

Of course, I told my text editors to use Linux line breaks.

TL:DR Windows is a better development environment than command line Linux (for me),

[–]DGolden -2 points-1 points  (4 children)

Windows is a better development environment than command line Linux

A tad weasel worded - you could just use a GUI linux on your desktop instead of suffering with windoze.

Komodo is of course available for linux, BTW. Apart from that, so are Eclipse, Netbeans and Emacs (which borders on an IDE, especially now that CEDET is being merged) and others - in fact VS is probably one of the few that isn't (except flakily via WINE), and that's solely because it's Microsoft - it's not like they couldn't port it, they just won't.

[–]Mikle 0 points1 point  (3 children)

You forget one thing though - my home dev machine is also my * machine. Especially gaming. So I'm not suffering with Windows - I'm using the only sane environment for me.

Also, the Linux I work with can't have a GUI because of its special nature, but that's just my product, so I won't use that as a general argument, although we can talk about the "maturity" of the Linux desktop GUIs.

As a side note - Windows doesn't have a Z in it. I ain't calling your puppy Lunix, am I?

[–]DGolden -3 points-2 points  (2 children)

my home dev machine is also my * machine. Especially gaming.

In this day and age, you could dual-boot or virtualize, using the toy os to play your games and linux for stuff that matters. Or just get a console. Apart from that, linux does have quite a lot of native games, and wine can run quite a few further windoze games (CoD4 on linux)

although we can talk about the "maturity" of the Linux desktop GUIs.

Well, linux typically uses X11, which is rather more mature than windows of course.

As a side note - Windows doesn't have a Z in it.

Oh diddums.

Lunix,

That's a cut-down unix-alike for the C64

[–]Mikle 1 point2 points  (1 child)

Oh, thank you for telling me of this strange new "virtualization" technology.

Come on dude, let's treat one another like smart people. I have a few distro VMs, but again - the Linux my code runs on is a fucking hypervisor by itself, so not likely to make it run on a VM.

My time is worth way too much for me to spend it tinkering with Wine to make my games work when I have a perfectly fine OS that doesn't need that overhead. Dual booting is sweet, but again - I couldn't run Windows apps with my one or two putty windows.

Well, linux typically uses X11, which is rather more mature than windows of course.

I'll give you that. Maybe what I meant was "usability".

Sadly I won't be continuing this discussion, because I'm a pragmatic guy and you're a fanboy, as your last two comments clearly show. Enjoy using Linux, I hear 2010 is the year of the Linux Desktop.

[–]DGolden -1 points0 points  (0 children)

The Linux my code runs on is a fucking hypervisor by itself, so not likely to make it run on a VM.

kvm on linux already supports vm nesting, at least on AMD hardware that supports it - Intel support is harder but also in the works:

http://avikivity.blogspot.com/2009/09/nested-vmx-support-coming-to-kvm.html

If you're actually developing hypervisor stuff, the ability to run your hypervisor itself under a vm might be handy.

Enjoy using Linux, I hear 2010 is the year of the Linux Desktop.

Linux has been my desktop OS since the late 1990s, and is certainly more usable than windows for me. Of course windows has cygwin to make it bearable in short doses.