delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/07/13/23:45:16

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "pjfarley3" <pjfarley3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: ANSI terminal control under DJGPP bash?
Date: 13 Jul 2005 20:33:32 -0700
Organization: http://groups.google.com
Lines: 35
Message-ID: <1121312012.304310.267560@g14g2000cwa.googlegroups.com>
NNTP-Posting-Host: 24.215.207.141
Mime-Version: 1.0
X-Trace: posting.google.com 1121312018 18337 127.0.0.1 (14 Jul 2005 03:33:38 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Thu, 14 Jul 2005 03:33:38 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse AT google DOT com
Injection-Info: g14g2000cwa.googlegroups.com; posting-host=24.215.207.141;
posting-account=8j3MmQwAAAAB3MfQxahpC54dm-Irfpks
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j6E3j5wF014984
Reply-To: djgpp AT delorie DOT com

Hi all,

I have another small problem (probably my own ignorance, tell me to
RTFM if I missed it) under DJGPP bash.

All of the ANSI terminal control sequences that our bash scripts use
are being displayed literally when using DJGPP bash, which is this
version:

$bash --version
GNU bash, version 2.04.7(1)-release (i686-pc-msdosdjgpp)
Copyright 1999 Free Software Foundation, Inc.

Example of terminal sequences:

←[1;36m   Checking ←[1;37muname←[1;36m
←[790D←[60C←[1;37m[←[1;32m  ok  ←[1;37m]←[0m
←[1;36mPress the ←[1;37mENTER←[1;36m key to continue←[1;36m
Checking ←[1;37muname←[1;36m ←[790D←[60C←[1;37m[←[1;32m  ok
 ←[1;37m]←[0m
←[1;36mPress the ←[1;37mENTER←[1;36m key to continue

I tried exporting TERM=pcansi, but that didn't change the behavior.  Is
there any way to use ANSI control sequences under DJGPP bash?

OS is WinXP SP2 with all current updates, file system is NTFS-only,
DJGPP bash is taken from "current/v2gnu" on the delorie ftp site.

TIA for any info, RTFM, etc. you can provide.

Peter


- Raw text -


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