Questions about windows support

Nick Sabalausky a at a.a
Tue Feb 21 11:43:39 PST 2012


"Adam D. Ruppe" <destructionator at gmail.com> wrote in message 
news:veaiisjzbijgdjbzwjif at 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.
>
> I like slackware's default of \u@\h:\w\$
>
> Simple, informative, reliable.
>

That's default on Debian and Ubuntu, too. And if you're root, the "$" 
changes to "#" (I think that's pretty common though...?).

I used to find the "\u@\h" kinda pointless, especially the "@\h" part. But 
now that I'm dealing more and more with multiple machines/VMs/users, ssh, 
etc., I absolutely love it.

>
> But, one of the sysadmins I worked with fell in love with
> colors. I still have access to one of his systems, let
> me pull this up... this system is slow! come on...
>
> Here we go:
> # echo $PS1
> \033[0m\033[36mname\033[34mredacted\033[0m#
>
> Two different colors forming the system's name! And no
> useful info. This isn't a prompt. It's a logo.
>

Hmm yea. I never could stand prompts that didn't at least include the 
working dir.

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 "This is LIVE 
PRODUCTION SERVER!!!" staring you in the face.

>> Only seven years? ;-) I've been at it for several years longer.
>
> I'm relatively new but just as grizzled :-)
>

I started about 11 years ago, but only on an occasional basis (and there was 
a big gap of a few years in the middle). It's been nowhere near permanent 
day-to-day (though that's slowly changing). So I'm practically a newbie by 
comparison.

>
> Fond memories here of video mode 13h too. That was
> easy programming, and good speed too, even on those
> old computers.
>

God yes.  0xA0000 forever! :)  And on a related note, long live Future Crew!

> When I finally switched to coding for these
> newfangled multitasking OSes, it took a long time
> to get used to not having my precious memory map.
>

I remember that playing high-end games in Windows (thanks to 
GameSDK/DirectX) just felt very weird. Took some getting used too.

Actaully, even now I'm not a real huge fan of it. The multitasking can still 
cause stutters and such that never occur when games are able to take over 
99% of the system.

>
> With Linux users, there's always some list of third
> party stuff they need too. dmd, qt, whatever, but
> always something.
>

I had loads of fun with dependencies when I tried to compile Git from source 
a few weeks ago. (Not as bad as pre-yum rpm's though.)




More information about the Digitalmars-d mailing list