Re: Questions about windows support

2012-02-27 Thread H. S. Teoh
On Sun, Feb 26, 2012 at 05:10:35PM -0500, Nick Sabalausky wrote: [...] > I've just thought of (ie, gotten bit by) another thing that would be > nice about having the commands do their own globbing: > > If the applications glob on their own insted of the shell, then for > safety they can choose to

Re: Questions about windows support

2012-02-26 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.829.1329869699.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 06:49:45PM -0500, Nick Sabalausky wrote: > [...] >> I think that globbing should be done explicity by the app, *but* for >> apps that don't play ball you should be able to *exp

Re: Questions about windows support

2012-02-24 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 07:19:33PM +0100, Adam D. Ruppe wrote: > On Friday, 24 February 2012 at 17:54:47 UTC, H. S. Teoh wrote: > >You could just pad the unused space with blank pixels. > > whoa, make a tile based system, like the NES. > > There's a private use area in unicode, 16 bits of space I

Re: Questions about windows support

2012-02-24 Thread Adam D. Ruppe
On Friday, 24 February 2012 at 17:54:47 UTC, H. S. Teoh wrote: You could just pad the unused space with blank pixels. whoa, make a tile based system, like the NES. There's a private use area in unicode, 16 bits of space I think. You could define a tile set to use that, or a simple bitmap for

Re: Questions about windows support

2012-02-24 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 02:32:38PM +1300, James Miller wrote: [...] > I have tried to keep the scope of what the graphics capabilities of > the terminal are down to a minimum, so all the drawing would still be > in terms of the terminal. I was thinking that you put it into graphics > mode, say how

Re: Questions about windows support

2012-02-24 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 05:19:44PM +0100, Adam D. Ruppe wrote: > On Thursday, 23 February 2012 at 19:10:03 UTC, H. S. Teoh wrote: [...] > >The echo command has a bug, it's not supposed to output 'echo' as > >part of its output. :) > > Yeah, I messed up argv. > > Here's an updated version: > http:

Re: Questions about windows support

2012-02-24 Thread Adam D. Ruppe
On Thursday, 23 February 2012 at 19:10:03 UTC, H. S. Teoh wrote: Nice!!! So you can write the same code for both the "shell library" and the actual shell itself. Yeah. This is similar to the technique I used in my web.d thing, though web.d's is a lot more complex. (It also handles sub objects,

Re: Questions about windows support

2012-02-23 Thread James Miller
On 24 February 2012 12:03, H. S. Teoh wrote: > On Thu, Feb 23, 2012 at 10:34:24PM +0100, Adam D. Ruppe wrote: >> On Thursday, 23 February 2012 at 21:17:35 UTC, H. S. Teoh wrote: >> >Taking the idea of an in-terminal video player further, what about >> >a general escape sequence for "application-sp

Re: Questions about windows support

2012-02-23 Thread H. S. Teoh
On Thu, Feb 23, 2012 at 10:34:24PM +0100, Adam D. Ruppe wrote: > On Thursday, 23 February 2012 at 21:17:35 UTC, H. S. Teoh wrote: > >Taking the idea of an in-terminal video player further, what about > >a general escape sequence for "application-specific output"? > > . That gives you the funn

Re: Questions about windows support

2012-02-23 Thread Adam D. Ruppe
On Thursday, 23 February 2012 at 21:17:35 UTC, H. S. Teoh wrote: Taking the idea of an in-terminal video player further, what about a general escape sequence for "application-specific output"? . seriously, once you take the in-terminal stuff too far, you have a beast of a program that do

Re: Questions about windows support

2012-02-23 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 12:38:52AM +1300, James Miller wrote: > On 23 February 2012 19:41, H. S. Teoh wrote: [...] > > Perhaps there's a way of detecting JPEG or PNG output, say some kind > > of magic number detection ala /usr/bin/file. Buffer the first few > > bytes at output at the start of new

Re: Questions about windows support

2012-02-23 Thread James Miller
On 23 February 2012 19:41, H. S. Teoh wrote: > On Thu, Feb 23, 2012 at 06:02:30PM +1300, James Miller wrote: > [...] >> And I've been playing with trying to write my own terminal emulator. I >> actually kinda have one working, in C. I just need to wrap all the C >> code in functions and do all the

Re: Questions about windows support

2012-02-23 Thread H. S. Teoh
On Thu, Feb 23, 2012 at 03:56:49AM +0100, Adam D. Ruppe wrote: > I started the dshell just to waste a little time: > > http://arsdnet.net/dcode/dshell.d > > dmd dshell.d -L-lreadline -L-lncurses > > It doesn't do much here, but there's a few things I think > are cool: > > 1) D reflectio

Re: Questions about windows support

2012-02-23 Thread Christopher Nicholson-Sauls
On 02/20/2012 09:31 PM, H. S. Teoh wrote: On Tue, Feb 21, 2012 at 04:24:44AM +0100, Adam D. Ruppe wrote: On Tuesday, 21 February 2012 at 03:13:10 UTC, H. S. Teoh wrote: for x in *; mv $x dest/$x; done Easy. :) And wrong! What if the filename has a space in it? You can say "$x", with quotes,

Re: Questions about windows support

2012-02-23 Thread H. S. Teoh
On Thu, Feb 23, 2012 at 06:02:30PM +1300, James Miller wrote: [...] > And I've been playing with trying to write my own terminal emulator. I > actually kinda have one working, in C. I just need to wrap all the C > code in functions and do all the interesting stuff in D. [...] > But I have plans for

Re: Questions about windows support

2012-02-22 Thread James Miller
On 23 February 2012 15:56, Adam D. Ruppe wrote: > I started the dshell just to waste a little time: > > http://arsdnet.net/dcode/dshell.d > >        dmd dshell.d -L-lreadline -L-lncurses > > It doesn't do much here, but there's a few things I think > are cool: > > 1) D reflection rox. You can writ

Re: Questions about windows support

2012-02-22 Thread Adam D. Ruppe
I started the dshell just to waste a little time: http://arsdnet.net/dcode/dshell.d dmd dshell.d -L-lreadline -L-lncurses It doesn't do much here, but there's a few things I think are cool: 1) D reflection rox. You can write D functions with simple arguments and it works basically. I w

Re: Questions about windows support

2012-02-22 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 01:14:46PM -0500, Nick Sabalausky wrote: > "H. S. Teoh" wrote in message [...] > > On a more serious note, this is perhaps a proof that it's not a good > > idea to conflate the OS with the GUI. :) But then I'm just being > > pedantic. > > > > I've thought about that, and

Re: Questions about windows support

2012-02-22 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 07:36:24PM +0100, Kagamin wrote: > On Wednesday, 22 February 2012 at 17:34:16 UTC, H. S. Teoh wrote: > >On a more serious note, this is perhaps a proof that it's not a good > >idea to conflate the OS with the GUI. :) But then I'm just being > >pedantic. > > Do you wanna say

Re: Questions about windows support

2012-02-22 Thread Kagamin
On Wednesday, 22 February 2012 at 17:34:16 UTC, H. S. Teoh wrote: On a more serious note, this is perhaps a proof that it's not a good idea to conflate the OS with the GUI. :) But then I'm just being pedantic. Do you wanna say modern hardware still can't run GUI system?

Re: Questions about windows support

2012-02-22 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.865.1329932055.20196.digitalmar...@puremagic.com... > On Wed, Feb 22, 2012 at 11:08:41AM -0500, Nick Sabalausky wrote: >> "H. S. Teoh" wrote in message >> news:mailman.860.1329924869.20196.digitalmar...@puremagic.com... >> > On Wed, Feb 22, 2012 at 08:5

Re: Questions about windows support

2012-02-22 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 11:08:41AM -0500, Nick Sabalausky wrote: > "H. S. Teoh" wrote in message > news:mailman.860.1329924869.20196.digitalmar...@puremagic.com... > > On Wed, Feb 22, 2012 at 08:53:06AM +0100, Paulo Pinto wrote: > > [...] > >> This has been changing in the last years since Micros

Re: Questions about windows support

2012-02-22 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.860.1329924869.20196.digitalmar...@puremagic.com... > On Wed, Feb 22, 2012 at 08:53:06AM +0100, Paulo Pinto wrote: > [...] >> This has been changing in the last years since Microsoft introduced >> Powershell and due to market pressure created headless ve

Re: Questions about windows support

2012-02-22 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 08:53:06AM +0100, Paulo Pinto wrote: [...] > This has been changing in the last years since Microsoft introduced > Powershell and due to market pressure created headless versions of > Windows. Wow. Headless Windows? Can it even be called Windows anymore? :) T -- IBM = I

Re: Questions about windows support

2012-02-21 Thread Paulo Pinto
This is just a guess, since I've mostly used GUI access (VNC, Citrix and lately RDP). I would say SSH use in Windows is quite limited, depending on what you want to do, because historically most Windows developers lack the culture to separate application code from UI, which leads to many appl

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 03:44:33AM +0100, Adam D. Ruppe wrote: > On Wednesday, 22 February 2012 at 02:03:58 UTC, H. S. Teoh wrote: > >Hmm. Let's implement shell utilities in D! (Pointless, yeah, but a > >fun exercise to see how much cleaner D code can be -- if you've > > I'm sooo tempted again. >

Re: Questions about windows support

2012-02-21 Thread James Miller
On 22 February 2012 13:06, H. S. Teoh wrote: > On Wed, Feb 22, 2012 at 12:39:01AM +0100, Adam D. Ruppe wrote: > [...] >> Yeah, though I've only seen it suggested for daemon like >> programs... I think you're the first person who I've seen >> suggest it for gui apps too. >> >> Not a bad idea. > > P

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.842.1329878177.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 08:09:49PM -0500, Nick Sabalausky wrote: >> "H. S. Teoh" wrote in message >> news:mailman.830.1329870386.20196.digitalmar...@puremagic.com... >> > On Tue, Feb 21, 2012 at 06:0

Re: Questions about windows support

2012-02-21 Thread Adam D. Ruppe
On Wednesday, 22 February 2012 at 02:03:58 UTC, H. S. Teoh wrote: Hmm. Let's implement shell utilities in D! (Pointless, yeah, but a fun exercise to see how much cleaner D code can be -- if you've I'm sooo tempted again. Though, I don't really like shell utilities I'd want many of them to

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 08:09:49PM -0500, Nick Sabalausky wrote: > "H. S. Teoh" wrote in message > news:mailman.830.1329870386.20196.digitalmar...@puremagic.com... > > On Tue, Feb 21, 2012 at 06:01:37PM -0500, Nick Sabalausky wrote: [...] > >> Heh, as bad as this might sound, I think what I basic

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 01:33:56AM +0100, Adam D. Ruppe wrote: > Thinking about globbing, I think rm * is a mistake > anyway... > > The way I'd do programs is something like this: > > echo input > program_name options > > So, you wouldn't rm *. You'd ls | rm. > > You'd implement rm like thi

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 07:45:36PM -0500, Nick Sabalausky wrote: [...] > Windows's cmd.exe always inserts a newline right before a command > prompt. So you get the best of both worlds. Only issue is you end up > with excess newlines. For example, you get: > > C:\>echo Hello > filea.txt > > C:\>ec

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 07:27:41PM -0500, Nick Sabalausky wrote: > "H. S. Teoh" wrote in message > news:mailman.826.1329869015.20196.digitalmar...@puremagic.com... [...] > > fg/bg is the best thing on earth since sliced bread. Well, to me. :) > > > > It lets me fire up my (text-based) mail client

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.830.1329870386.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 06:01:37PM -0500, Nick Sabalausky wrote: > [...] >> Hmm, if that's like Total Commander on Windows, then I don't think I >> would like it. I do *love* Total Commander's multi-f

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 01:21:41AM +0100, Adam D. Ruppe wrote: > On Wednesday, 22 February 2012 at 00:03:35 UTC, H. S. Teoh wrote: > >It lets me fire up my (text-based) mail client > > mutt Yep! > I switched to mutt from the terrible webmail in... 2007 I think. > Rarely look back (only when

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.829.1329869699.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 06:49:45PM -0500, Nick Sabalausky wrote: > [...] >> I think that globbing should be done explicity by the app, *but* for >> apps that don't play ball you should be able to *exp

Re: Questions about windows support

2012-02-21 Thread Adam D. Ruppe
Thinking about globbing, I think rm * is a mistake anyway... The way I'd do programs is something like this: echo input > program_name options So, you wouldn't rm *. You'd ls | rm. You'd implement rm like this: void main() { foreach(file; stdin.byLine) std.file.remove(file);

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.826.1329869015.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 06:22:25PM -0500, Nick Sabalausky wrote: > [...] >> That hadn't occurred to me. Thanks. Normally, the only time I use >> fg/bg is if I try to cancel something with Ctrl-blah an

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 06:01:37PM -0500, Nick Sabalausky wrote: [...] > Hmm, if that's like Total Commander on Windows, then I don't think I > would like it. I do *love* Total Commander's multi-file renaming, but > that feature is really the only reason I keep it around. > > Heh, as bad as this m

Re: Questions about windows support

2012-02-21 Thread Adam D. Ruppe
On Wednesday, 22 February 2012 at 00:03:35 UTC, H. S. Teoh wrote: It lets me fire up my (text-based) mail client mutt I switched to mutt from the terrible webmail in... 2007 I think. Rarely look back (only when I need to view images when on a separate computer). I handle 200-300 emails a

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 06:49:45PM -0500, Nick Sabalausky wrote: [...] > I think that globbing should be done explicity by the app, *but* for > apps that don't play ball you should be able to *explicitly* do it at > the command line. Example: > > $someutil *.txt foo.html > ERROR: Can't find file '

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.824.1329867308.20196.digitalmar...@puremagic.com... > > You can do: > > program_name >/dev/null 2>&1 & > > That will silence everything. But yeah, too much typing, too much > obscure stdout/stderr redirecting for a newbie to even begin to dream > that su

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Wed, Feb 22, 2012 at 12:39:01AM +0100, Adam D. Ruppe wrote: [...] > Yeah, though I've only seen it suggested for daemon like > programs... I think you're the first person who I've seen > suggest it for gui apps too. > > Not a bad idea. Perhaps I'm just dreaming, but I *think* I've seen one GUI

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 06:22:25PM -0500, Nick Sabalausky wrote: [...] > That hadn't occurred to me. Thanks. Normally, the only time I use > fg/bg is if I try to cancel something with Ctrl-blah and it suspends > the process instead of stopping it. So then I "fg [whatever num]" and > either try a di

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Bernard Helyer" wrote in message news:iianhomhapvkfhide...@forum.dlang.org... > >Nick replied to something about globbing > Having programs doing the globbing sounds great until you run into someone > who doesn't play ball. *cough* every single digital mars utility *cough*. > I think Windows a

Re: Questions about windows support

2012-02-21 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 23:35:09 UTC, H. S. Teoh wrote: That will silence everything. But yeah, too much typing Yea. I'm pretty sure this is common knowledge, just that nobody bothers to do it. But I can dream. :) Yeah, though I've only seen it suggested for daemon like programs...

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 11:35:09PM +0100, Adam D. Ruppe wrote: > On Tuesday, 21 February 2012 at 22:26:34 UTC, Nick Sabalausky wrote: > >On other thing I meant to mention: It's kinda annoying on Linux > >how if you launch a gui app at the command line, it will > >automatically be a blocking foregro

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:bexfgnarfyprlvslm...@forum.dlang.org... > On Tuesday, 21 February 2012 at 22:26:34 UTC, Nick Sabalausky wrote: >> On other thing I meant to mention: It's kinda annoying on Linux how if >> you launch a gui app at the command line, it will >> automatically be

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.812.1329855805.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 11:50:24AM -0500, Nick Sabalausky wrote: > [...] >> I literally grew up on command-lines[1]. But despite that, I still >> much prefer GUIs for anything a GUI reasonably works f

Re: Questions about windows support

2012-02-21 Thread Bernard Helyer
Nick replied to something about globbing Having programs doing the globbing sounds great until you run into someone who doesn't play ball. *cough* every single digital mars utility *cough*. I think Windows and unix both get it wrong, but unix gets it less wrong (as it could theoretically be an

Re: Questions about windows support

2012-02-21 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 22:26:34 UTC, Nick Sabalausky wrote: On other thing I meant to mention: It's kinda annoying on Linux how if you launch a gui app at the command line, it will automatically be a blocking foreground process unless you remember to add "&" at the end. Which I always f

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:ji0s7e$81a$1...@digitalmars.com... > "Adam D. Ruppe" wrote in message > news:veaiisjzbijgdjbzw...@forum.dlang.org... >> On Tuesday, 21 February 2012 at 03:53:20 UTC, H. S. Teoh wrote: >> >>> Heh, never seen that before. I usually just turn off all fancy s

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.811.1329854653.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 01:48:35PM -0500, Nick Sabalausky wrote: > [...] >> Another issue with it is that to make a binary work on both an older >> and newer Linux, you have to actually compile it *on

Re: Questions about windows support

2012-02-21 Thread torhu
On 21.02.2012 18:54, Benjamin Thaut wrote: Am 21.02.2012 04:08, schrieb torhu: On 20.02.2012 22:36, Benjamin Thaut wrote: 2) Will dmd support exporting/importing data symbols from dlls? I know there is a patch that does the data symbol address patching from the runtime but thats a feature t

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 11:50:24AM -0500, Nick Sabalausky wrote: [...] > I literally grew up on command-lines[1]. But despite that, I still > much prefer GUIs for anything a GUI reasonably works for: Like file > browsers, DB admin, manual DB queries, debuggers, Tortoise*, etc. > (although for web s

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 01:48:35PM -0500, Nick Sabalausky wrote: [...] > Another issue with it is that to make a binary work on both an older > and newer Linux, you have to actually compile it *on* an older Linux. > I've heard that, in theory, you can use a newer Linux to create > binaries that wor

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:ji0s7e$81a$1...@digitalmars.com... > > It's pretty though! Crap, now I want to color-code the user and host parts > of my prompts...Especially for root and live production servers, that > could be downright useful: Big bright right "This is ROOT!!!", or "

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:veaiisjzbijgdjbzw...@forum.dlang.org... > On Tuesday, 21 February 2012 at 03:53:20 UTC, H. S. Teoh wrote: > >> Heh, never seen that before. I usually just turn off all fancy settings >> after installing a new system, and just stick with a bare-bones prompt. >

Re: Questions about windows support

2012-02-21 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 05:56:49AM +0100, Adam D. Ruppe wrote: [...] > I actually liked working with DOS though. Good old segment b800 where > can just write your bytes and see them on screen. > > Fond memories here of video mode 13h too. That was easy programming, > and good speed too, even on th

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:hmldxgffvfeyydaru...@forum.dlang.org... > >The ugly escape sequences showed through to the end user (me)! I'm not as experienced in Unix as you are, but there's some smaller quirks I've noticed. For instance, if you're in the terminal and use the arrow keys

Re: Questions about windows support

2012-02-21 Thread Sean Kelly
Unless things have changed dramatically in the past few years, SUA is barely usable though. The shells don't behave the same way as their *nix equivalents and the API coverage is spotty at best. If you really want to go the Posix on Windows route I'd suggest either downloading GnuWin32 (for to

Re: Questions about windows support

2012-02-21 Thread Benjamin Thaut
Am 21.02.2012 10:06, schrieb Manu: On 21 February 2012 01:00, H. S. Teoh mailto:hst...@quickfur.ath.cx>> wrote: On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote: > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote: > > 1) Is there a chance that dmd will sup

Re: Questions about windows support

2012-02-21 Thread Benjamin Thaut
Am 21.02.2012 04:08, schrieb torhu: On 20.02.2012 22:36, Benjamin Thaut wrote: 2) Will dmd support exporting/importing data symbols from dlls? I know there is a patch that does the data symbol address patching from the runtime but thats a feature that should be supported by the compiler directly

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:sjkpvfivljpifhnsa...@forum.dlang.org... > On Tuesday, 21 February 2012 at 03:30:00 UTC, H. S. Teoh wrote: >> +1, LOL. > > I just thought of a better one! > > -v > > for grep. > > grep 'some string' * > > is something I do a lot; I like that command as > gener

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"H. S. Teoh" wrote in message news:mailman.740.1329784653.20196.digitalmar...@puremagic.com... > On Tue, Feb 21, 2012 at 12:21:33AM +0100, Adam D. Ruppe wrote: >> On Monday, 20 February 2012 at 23:12:36 UTC, James Miller wrote: >> >Windows has not, historically, been a pleasant platform to develo

Re: Questions about windows support

2012-02-21 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:epzlyfzibmpuoilaw...@forum.dlang.org... > On Tuesday, 21 February 2012 at 00:38:46 UTC, Andrei Alexandrescu wrote: >> ssh into Windows and... well last time I did it it was like "welcome to >> Hell". > > Oh, certainly! Does anyone suppose it would work bett

Re: Questions about windows support

2012-02-21 Thread Jacob Carlborg
On 2012-02-20 22:36, Benjamin Thaut wrote: 3) Am I mistaken or are most of the people here using dmd under linux? General bugs or linux only bugs tend to get fixed a lot faster then windows only bugs. Mac OS X here. -- /Jacob Carlborg

Re: Questions about windows support

2012-02-21 Thread Manu
On 21 February 2012 01:00, H. S. Teoh wrote: > On Mon, Feb 20, 2012 at 05:25:28PM -0500, Jonathan M Davis wrote: > > On Monday, February 20, 2012 22:36:49 Benjamin Thaut wrote: > > > 1) Is there a chance that dmd will support 64 bit on windows any > > > time soon? What are the issues currently wi

Re: Questions about windows support

2012-02-21 Thread Paulo Pinto
You need to enable it. "H. S. Teoh" wrote in message news:mailman.748.1329787800.20196.digitalmar...@puremagic.com... On Mon, Feb 20, 2012 at 06:38:47PM -0600, Andrei Alexandrescu wrote: On 2/20/12 6:25 PM, Adam D. Ruppe wrote: >On Tuesday, 21 February 2012 at 00:19:47 UTC, Jonathan M Davis

Re: Questions about windows support

2012-02-21 Thread Paulo Pinto
Many only know the UNIX version of Linux or BSD, but lets not forget the idiosyncrasies any developer faces when having to support multiple commercial UNIX systems in spite of standards like POSIX. I still remember the first time I loggeded into an HP-UX system in a production system at one o

Re: Questions about windows support

2012-02-21 Thread Paulo Pinto
They did, but Microsoft way as usual. SSH in Windows, means making use of Powershell remote access. SSH is only meant for UNIX compatibility and it works better if SUA (UNIX personality) is also installed. -- Paulo "Andrei Alexandrescu" wrote in message news:jhupcv$2l7j$1...@digitalmars.co

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 03:53:20 UTC, H. S. Teoh wrote: But alas, if you were to implement such a terminal, pretty much *everything* would break, since everyone assumes the terminal is just a single stream of mixed controls + data. Yeah... I've been wanting to do it, but it'd mean redoi

Re: Questions about windows support

2012-02-20 Thread Juan Manuel Cabo
WARNING: for anyone reading dont try this without thinking: >find -print0 | xargs -0 rm Please don't type it as is (that deletes files without problems with spaces or '-', but will delete everything). The -print0 is very useful. I use for instance to see the latest file in a tree of dir

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 04:00:17AM +0100, Adam D. Ruppe wrote: > On Tuesday, 21 February 2012 at 02:05:16 UTC, H. S. Teoh wrote: > >Same with Linux, I thought? Although I mainly just use vim for > >programming, so maybe I'm unaware of the full situation. > > Yup. > > >Terminal escape sequences?!

Re: Questions about windows support

2012-02-20 Thread Juan Manuel Cabo
I think that the "for x in *" still gets you on the limit (not sure). This is how you deal with spaces in filenames or '-' find -print0 | xargs -0 rm Another funny unix thing is awk... it solves all your problems but in one line, but then creates new ones until you get them right for separato

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 03:30:00 UTC, H. S. Teoh wrote: +1, LOL. I just thought of a better one! -v for grep. grep 'some string' * is something I do a lot; I like that command as generally useful. -v on grep inverts the match. Instead of showing the files with some string, it will

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 04:24:44AM +0100, Adam D. Ruppe wrote: > On Tuesday, 21 February 2012 at 03:13:10 UTC, H. S. Teoh wrote: > >for x in *; mv $x dest/$x; done > > > >Easy. :) > > And wrong! > > What if the filename has a space in it? You can say "$x", with quotes, > to handle that. Argh, yo

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 12:07:41AM -0300, Juan Manuel Cabo wrote: > > That is so COOL!! I remember f*cking up one of my first linux computers > > that way. If I had known, I wouldn't have to go back to reinstall the > > many diskettes of slackware (no live cds at that time!, no easy way > > to fix

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 03:13:10 UTC, H. S. Teoh wrote: for x in *; mv $x dest/$x; done Easy. :) And wrong! What if the filename has a space in it? You can say "$x", with quotes, to handle that. But, worse yet... a leading dash? Another downside with the shell expansion is the progra

Re: Questions about windows support

2012-02-20 Thread torhu
On 21.02.2012 04:08, torhu wrote: On 20.02.2012 22:36, Benjamin Thaut wrote: 2) Will dmd support exporting/importing data symbols from dlls? I know there is a patch that does the data symbol address patching from the runtime but thats a feature that should be supported by the compiler direct

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Mon, Feb 20, 2012 at 11:56:11PM -0300, Juan Manuel Cabo wrote: > On 02/20/2012 11:06 PM, H. S. Teoh wrote: > > On Tue, Feb 21, 2012 at 02:00:20AM +0100, Adam D. Ruppe wrote: > > ... > > Yeah I remember that. I thought they've since fixed it, though. > > That's more a bash limitation than anythin

Re: Questions about windows support

2012-02-20 Thread torhu
On 20.02.2012 22:36, Benjamin Thaut wrote: 2) Will dmd support exporting/importing data symbols from dlls? I know there is a patch that does the data symbol address patching from the runtime but thats a feature that should be supported by the compiler directly in my eyes. Importing data symbols

Re: Questions about windows support

2012-02-20 Thread Juan Manuel Cabo
> That is so COOL!! I remember f*cking up one of my first linux computers > that way. If I had known, I wouldn't have to go back to reinstall the > many diskettes of slackware (no live cds at that time!, no easy way > to fix the fs). What happened was (If I remember correctly) that I renamed the /

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 02:56:13 UTC, Juan Manuel Cabo wrote: many diskettes of slackware (no live cds at that time!, no easy I love Slackware.

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 02:05:16 UTC, H. S. Teoh wrote: Same with Linux, I thought? Although I mainly just use vim for programming, so maybe I'm unaware of the full situation. Yup. Terminal escape sequences?! You should be using libcurses or libncurses. No wonder you had a bad experi

Re: Questions about windows support

2012-02-20 Thread Juan Manuel Cabo
On 02/20/2012 11:06 PM, H. S. Teoh wrote: > On Tue, Feb 21, 2012 at 02:00:20AM +0100, Adam D. Ruppe wrote: > ... > Yeah I remember that. I thought they've since fixed it, though. That's > more a bash limitation than anything, AFAIK. Besides, what *were* you > trying to do with such a long command-l

Re: Questions about windows support

2012-02-20 Thread James Miller
On 21 February 2012 15:06, H. S. Teoh wrote: > > Yeah, Unixland really works best with the "here's the source code, > compile it yourself" model, rather than with the Windows "here's the > binary executable" model. Gentoo's emerge is a step closer to making it > more accessible to end-users (i.e.

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 02:00:20AM +0100, Adam D. Ruppe wrote: > On Tuesday, 21 February 2012 at 00:37:33 UTC, H. S. Teoh wrote: > >Weird. I guess I must be a very strange person, because I find that > >my productivity soars at the command-line > > Me too. Command line rocks, and bash is a fine sh

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Mon, Feb 20, 2012 at 06:44:16PM -0600, Andrei Alexandrescu wrote: > On 2/20/12 6:41 PM, Adam D. Ruppe wrote: > >On Tuesday, 21 February 2012 at 00:38:46 UTC, Andrei Alexandrescu wrote: > >>ssh into Windows and... well last time I did it it was like "welcome > >>to Hell". > > > >Oh, certainly! >

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Mon, Feb 20, 2012 at 06:38:47PM -0600, Andrei Alexandrescu wrote: > On 2/20/12 6:25 PM, Adam D. Ruppe wrote: > >On Tuesday, 21 February 2012 at 00:19:47 UTC, Jonathan M Davis wrote: > >>In my experience, you only run into weird terminal nonsense > >>with old computers or maybe sometimes with ssh

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 00:37:33 UTC, H. S. Teoh wrote: Weird. I guess I must be a very strange person, because I find that my productivity soars at the command-line Me too. Command line rocks, and bash is a fine shell. (csh sucks though, why its the default on so many bsds is beyond me

Re: Questions about windows support

2012-02-20 Thread Andrei Alexandrescu
On 2/20/12 6:41 PM, Adam D. Ruppe wrote: On Tuesday, 21 February 2012 at 00:38:46 UTC, Andrei Alexandrescu wrote: ssh into Windows and... well last time I did it it was like "welcome to Hell". Oh, certainly! Rats. I was hoping the boys in Redmond have improved the situ since. Andrei

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 00:38:46 UTC, Andrei Alexandrescu wrote: ssh into Windows and... well last time I did it it was like "welcome to Hell". Oh, certainly!

Re: Questions about windows support

2012-02-20 Thread Andrei Alexandrescu
On 2/20/12 6:25 PM, Adam D. Ruppe wrote: On Tuesday, 21 February 2012 at 00:19:47 UTC, Jonathan M Davis wrote: In my experience, you only run into weird terminal nonsense with old computers or maybe sometimes with ssh. Other than that, there aren't any weird problems like that. It happens a lo

Re: Questions about windows support

2012-02-20 Thread H. S. Teoh
On Tue, Feb 21, 2012 at 12:21:33AM +0100, Adam D. Ruppe wrote: > On Monday, 20 February 2012 at 23:12:36 UTC, James Miller wrote: > >Windows has not, historically, been a pleasant platform to develop > >lower-level code for > > I couldn't disagree with that more, especially if you're comparing > t

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Tuesday, 21 February 2012 at 00:19:47 UTC, Jonathan M Davis wrote: In my experience, you only run into weird terminal nonsense with old computers or maybe sometimes with ssh. Other than that, there aren't any weird problems like that. It happens a lot if you use a lot of different unixes. ss

Re: Questions about windows support

2012-02-20 Thread Jonathan M Davis
On Tuesday, February 21, 2012 01:11:33 Adam D. Ruppe wrote: > On Monday, 20 February 2012 at 23:51:38 UTC, Jonathan M Davis > > wrote: > > I would consider the Windows console to be junk in > > comparison to the Linux console, but I'm almost always in Linux. > > Are you talking about the console,

Re: Questions about windows support

2012-02-20 Thread Adam D. Ruppe
On Monday, 20 February 2012 at 23:51:38 UTC, Jonathan M Davis wrote: I would consider the Windows console to be junk in comparison to the Linux console, but I'm almost always in Linux. Are you talking about the console, or the shell (and ecosystem)? The linux shells are a lot easier to use than

Re: Questions about windows support

2012-02-20 Thread Jonathan M Davis
On Tuesday, February 21, 2012 00:21:33 Adam D. Ruppe wrote: > On Monday, 20 February 2012 at 23:12:36 UTC, James Miller wrote: > > Windows has not, historically, been a pleasant platform to > > develop lower-level code for > > I couldn't disagree with that more, especially if you're comparing > to

Re: Questions about windows support

2012-02-20 Thread Nick Sabalausky
"Benjamin Thaut" wrote in message news:jhuedi$22k1$1...@digitalmars.com... > > 3) Am I mistaken or are most of the people here using dmd under linux? > General bugs or linux only bugs tend to get fixed a lot faster then > windows only bugs. > I'm primarily Windows. (Although I also test all my

  1   2   >