simon@cs.ualberta.ca (Simon Tortike) (06/28/91)
I have been running my NeXTstation as a Unix number cruncher and needed to free some more memory: it was paging even with 20 Mbytes of RAM. To release the memory, I adjusted the /etc/tty file so that the loginwindow application was not run, and was able to get a 60 row by 120 column console window by booting as a single user (after interrupting during power up), then initiating the multiuser procedure. (Note, if one allows the NeXT to go through its own booting process, one ends up with a tiny console of some 15 rows by 40 cols, or thereabouts.) This is just fine for what I need, giving me some 4 or 5 Mbytes extra. However, the console has a tendency to go into inverse video (white text on black) apparently at random, and have been unable to figure out how to reset it to black text on white, which I prefer. Can anyone suggest how this can be done? -- W. Simon Tortike, | tel : 403/492-3338 Dept of Mining, Metallurgical | fax : 403/492-7219 and Petroleum Engineering, | University of Alberta, | CA*net : simon@mmpe.mineral.UAlberta.CA Edmonton, AB, CANADA T6G 2G6. | NeXTmail: simon@nawab.mineral.UAlberta.CA
coco@cbnewsl.cb.att.com (felix.a.lugo) (06/29/91)
In article <simon.678126548@mmpe> simon@cs.ualberta.ca (Simon Tortike) writes: | I have been running my NeXTstation as a Unix number cruncher and | needed to free some more memory: it was paging even with 20 Mbytes | of RAM. I've got 64MB of memory on my '040 NeXT cube and I've managed to get ~30MB swap files several times. | To release the memory, I adjusted the /etc/tty file | so that the loginwindow application was not run, and was able to | get a 60 row by 120 column console window by booting as a single | user (after interrupting during power up), then initiating the | multiuser procedure. (Note, if one allows the NeXT to go through | its own booting process, one ends up with a tiny console of some | 15 rows by 40 cols, or thereabouts.) This is just fine for what Since you're interrupting the boot process (something I don't recommend unless you know what you're getting into), why don't you set "verbose test mode" to "yes" from the ROM monitor "p" command? That way, when you boot you'll automatically have the large ROM monitor window (which you would get anyway if you interrupted the boot process). | I need, giving me some 4 or 5 Mbytes extra. However, the console | has a tendency to go into inverse video (white text on black) | apparently at random, and have been unable to figure out how | to reset it to black text on white, which I prefer. Can anyone | suggest how this can be done? | Something you output (or a program you're running, like man) is generating an escape sequence that turns reverse video on. I use ksh and include some sequences in my prompt for highlighting. The last sequence in the prompt turns all highlighting off. This is what I use: STANDOUT="^[[4;2m" NORMAL="^[[4;1m" where "^[" is the escape character (ASCII 27). STANDOUT turns highlighting on and NORMAL turns everything off. Try using the NORMAL sequence when you encounter the white-on-black problem. I've found other sequences, but the above are the ones I use most often. Cheers! =============================================================================== Felix A. Lugo E-Mail: (NeXTmail preferred) AT&T Bell Laboratories, Naperville, IL Felix_A_Lugo@ATT.COM coco@ihcoco.att.com AT&T NeXT User Group nug@ihcoco.att.com T.Y.C. Software, Lisle, IL coco@ihtyc.att.com ===============================================================================