Path: utzoo!attcan!lsuc!canrem![glen_lalonde@canrem.uucp] From: glen_lalonde@canrem.uucp (glen lalonde) Newsgroups: comp.os.minix Subject: macminix Message-ID: <199024.1046.1155@canrem.uucp> Date: 24 Dec 90 23:01:58 GMT Reply-To: "glen lalonde" Organization: Canada Remote Systems Lines: 24 Here is a patch to MacMinix that will enable LINEWRAP, that is output will wrap to the next line after 80 cols. In the file kernel/console.c in function vduput: There is a line vdumoveto(v->crow, v->ccol+1); return; (this is for the normal char case) change this to: if (v->ccol >(LINEWRAPPOS -2)) { if (v->crow == NROW -1) { for (i=0; icrow,0); } else vdumoveto(v->crow+1,0); } else vdumoveto(v->crow, v->ccol +1); return; You need to put 'register i;' at the top of the function, and to define LINEWRAPPOS as a macro, I made it 80 so it will wrap at col 80 in my case. Please report any problems with the above modification. -- Canada Remote Systems. Toronto, Ontario NorthAmeriNet Host