delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/09/04:58:55

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sun, 9 Dec 2001 11:54:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Roger Young <roger AT weka DOT grace DOT cri DOT nz>
cc: djgpp AT delorie DOT com, roger AT kea DOT grace DOT cri DOT nz
Subject: Re: Newbie installation problems
In-Reply-To: <200112090855.fB98tXw20295@weka.grace.cri.nz>
Message-ID: <Pine.SUN.3.91.1011209114548.13320P-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 9 Dec 2001, Roger Young wrote:

> I'm having a few problems with DJGPP and Allegro
> and hope someone can help out. Here are my queries:

It is best to post each question in a separate message, unless they are 
all closely related (which they aren't in your case).  That makes the 
discussion more easily followed, and you can also come up with a 
meaningful Subject line (hint, hint ;-).

> (1) How do I control the bash environment? for
> example I would like to alias 'ls' with 'ls --color'
> this works on the fly but how do I make it part of
> my configuration.

Put the alias on your _bashrc or _blogin files.

 I tried to set it in djgpp.env
> but it had no effect. 

Do NOT edit djgpp.env, ever!  It's dangerous, since the file has a 
cryptic syntax, and, if modified incorrectly, can easily break your DJGPP 
installation.

> (2) Is it possible to scroll back the console screen
> as in Linux?

No :-(.  Microsoft wants DOS programs to die, so it deliberately makes 
their life as hard as they can.  That's why the DOS box is so poor in 
features.

My private solution is to have the DOS box as large as the screen can 
handle without making the font too small to be legible.  Where this isn't 
enough, piping output to Less and using the Script program are the next 
best solutions.

There's also a port of rxvt, a free terminal emulator, but I have no idea 
how compatible it is with DJGPP programs (redirecting standard handles 
between DOS and Windows programs may be tricky).

> (3) I am not able to compile allegro 3.12, apparently something
> to do with the assembler. I include the log below. The compiler
> is gcc-3.0.2 downloaded Nov 28.

Get a newer Allegro.

> Updating dependencies in c:/dir/microwin/microwin.89p/src/mwin ...
> c:/djgpp/bin/bash.exe -ec 'gcc -MM  -DERASEMOVE=1 -DUPDATEREGIONS=1
> -DMWPIXEL_FORMAT=MWPF_PALETTE -DDOS_DJGPP=1 -D_NAIVE_DOS_REGS=1
> -DMSDOS=1   -I. -I/dir/microwin/microwin.89p/src/include winmain.c
> winuser.c wingdi.c winexpos.c winclip.c winevent.c windefw.c winrgn.c
> winfont.c winsbar.c \
> | sed '\''s/\(\)\.o[ :]*/\1.o \.depend : $(TOP)\/config /g'\'' >
> .depend; \
> [ -s .depend ] || rm -f .depend'
> c:/djgpp/bin/bash: .depend: No such file or directory (ENOENT)

Is this plain DOS or some version of Windows?  If the latter, does it 
help to set LFN=y in the environment?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019