delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/18/13:00:09

From: =?ISO-8859-1?Q?Rafael_Garc=EDa?= <rafael AT geninfor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP exe switch console to 80 columns
Date: Tue, 18 Mar 2003 18:44:07 +0100
Organization: Telefonica Data Espagna
Lines: 17
Message-ID: <3E775AE7.8090604@geninfor.com>
NNTP-Posting-Host: 80-24-251-44.uc.nombres.ttd.es
Mime-Version: 1.0
X-Trace: nsnmrro2-gest.nuria.telefonica-data.net 1048009442 8349 80.24.251.44 (18 Mar 2003 17:44:02 GMT)
X-Complaints-To: usenet AT nsnmrro2-gest DOT nuria DOT telefonica-data DOT net
NNTP-Posting-Date: Tue, 18 Mar 2003 17:44:02 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020826
X-Accept-Language: en-us, en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I would like to use a WindowsXP console with more than 80 columns. I run 
  MODE CON COLS=100 and then run this DJGPP compiled code:

#include <stdio.h>
int main() {
    printf("hello\n");
    getchar();
    return 0;
    }

The console window change to 80 columns during program execution and 
then, after termination, it goes to 100 cols.

¿Can I change this so I can use any console width?

Thanks

- Raw text -


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