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
"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
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
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
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
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:
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,
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
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
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
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
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
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
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,
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
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
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
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
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
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?
"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
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
"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
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
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
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.
>
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
"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
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
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
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
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
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
"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
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
"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
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);
"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
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
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
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 '
"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
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
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
"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
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...
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
"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
"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
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
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
"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
"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
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
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
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
"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 "
"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.
>
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
"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
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
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
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
"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
"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
"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
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
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
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
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
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
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
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
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?!
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
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
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
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
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
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
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
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
> 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 /
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.
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
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
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.
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
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!
>
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
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
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
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!
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
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
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
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,
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
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
"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 - 100 of 111 matches
Mail list logo