From 579bf59181130a87e4dbf3856aae43785fbf4764 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 23 Feb 2006 08:13:14 +0000 Subject: [PATCH] Fix alien odyssey. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2510 --- src/shell/shell_batch.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/shell/shell_batch.cpp b/src/shell/shell_batch.cpp index 2fbf1eaf..952dd348 100644 --- a/src/shell/shell_batch.cpp +++ b/src/shell/shell_batch.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: shell_batch.cpp,v 1.19 2006-02-09 11:47:57 qbix79 Exp $ */ +/* $Id: shell_batch.cpp,v 1.20 2006-02-23 08:13:14 qbix79 Exp $ */ #include #include @@ -51,7 +51,11 @@ emptyline: n=1; DOS_ReadFile(file_handle,&c,&n); if (n>0) { - if (c>31 || c==0x1b || c=='\t') + /* Why are we filtering this ? + * Exclusion list: tab for batch files + * escape for ansi + * backspace for alien odyssey */ + if (c>31 || c==0x1b || c=='\t' || c==8) *cmd_write++=c; } } while (c!='\n' && n);