Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ncar!elroy.jpl.nasa.gov!jarthur!uunet!ibmsupt.uucp!!jsalter From: jsalter@slo.paloalto.ibm.com Newsgroups: comp.unix.aix Subject: Re: changing the console; alloca missing from 9021? Message-ID: <1990Aug3.170532.11038@ibmpa> Date: 3 Aug 90 17:05:32 GMT References: <61875@bu.edu.bu.edu> Sender: news@ibmpa (news id) Reply-To: jsalter@slo.UUCP (James Salter) Organization: IBM AWD Development, Palo Alto Lines: 32 In article <61875@bu.edu.bu.edu> jdh@bu-pub.bu.edu (Jason Heirtzler) writes: >How do you change the console to be an HFT, rather than a serial port? It's >straight forward if you're reinstalling AIX from scratch (just make sure the >serial port isn't plugged in when you run the install) but i don't want to >go through that, just to change it. Have you looked at the 'chcons' or 'chdisp' commands and their relatives? >Also, it looks like alloca isn't in libbsd.a or libc.a. Was this just an >oversight in this release? If this is true, is there someone who can give >me a copy (hello IBM?) One of the mysteries of AIXv3.1 is the following: To access the alloca() function, you need to add the following line to the beginning of your SOURCE code: #pragma alloca This will make the alloca() routine available for use. I you don't have InfoExplorer/Documentation, get it. It has all this information available, and you can even do searches for the various strings. >Jason Heirtzler (617) 353-2780 jdh@bu-pub.bu.edu >Information Technology Boston University ..!bu.edu!bu-pub!jdh jim/jsalter IBM AWD, Palo Alto T465/(415)855-4427 VNET: JSALTER at AUSVMQ Internet: ibmsupt!jsalter@uunet.uu.net UUCP: ..!uunet!ibmsupt!jsalter "I'm going to win. I always do." George Steinbrenner, on ESPN.