How do I output text to the same console that started the process?
If I use:
void writeln(String text)
{
// fprintf(stderr, "%s\n", text.c_str());
static HANDLE handle;
if (!handle) {
AllocConsole();
handle = GetStdHandle(STD_OUTPUT_HANDLE);
}
text += "\n"...
I am running RedHat v9
I setup a server to be a mail server and used an internal IP when I set it up in house.
I have since moved it to our hosted environment and have tried to set the IP to the new public IP.
This will take, but be forgotten on subsequent reboots.
I have tried using RH's setup...
On a client's box that we are trying to get setup to talk to the internet so we can ssh into the box, ping is acting wonky.
# ping 192.9.206.201
PING 192.9.206.201 (192.9.206.201): 56 data bytes
64 bytes from a3684 (192.9.206.9)...
Is there a way in sco 5.0.x to copy just all regular, non-linked files?
I am working on a script for copying stuff over for my clients when they upgrade and this would help me not miss files.
I want to use conditional compilation to compile my code for a 2nd customer type from the same code base so I don't have to make 2 changes everytime.
I get that part fine.
What I don't get or see how to do is to handle the forms which may be different. How do I conditionally handle them properly?
I need to use the registry to store settings for my software. The settings are setup in the installation program.
We have been using HKey_Local_Machine in the past, but when installing in a corporate environment where the user does not have admin rights to the machine, we get errors writing to...
I need to use the registry to store settings for my software. The settings are setup in the installation program.
We have been using HKey_Local_Machine in the past, but when installing in a corporate environment where the user does not have admin rights to the machine, we get errors writing to...
How can I override the external DNS for a site name: xyz.mycompany.com internal ip 192.168.0.123, external ip
Inside my network I need the internal IP to be used, externally is working properly as it is.
We just cant talk to the machine inside the network using the external IP from inside the...
Our Database is being created by a batch file, where each script is fired off separately via osql each time.
There are 940 tables plus all the stored procs and triggers and views.
Example:
set @osqlcommand = 'osql -d ASCEND -USA -P'+ @SAPASSWORD + ' -i ' + '"'
set @instatement = @RUNDIR +...
I have an application that was written by someone else. Sigh.
Anyway I am getting an access violation when it cannot connect to the database (MSSQL).
After hours of single stepping, I traced it to the destructors of the classes that are failing because the classes didn't get initialized right...
I want to make Backup Exec format or erase the tape before backup.
I do not care to protect what is on the tape.
We have been switching from ArcServe and it "sticks" on these tapes at the loading media stage. If erased, it will backup just fine.
This is annoying for me.
I am trying to get BE 9.1 Remote Agent backing up a NT4 server across the network, but every time it tries, the NT server blue screens with a memory parity error.
We first thought it was a memory error, but since we can recreate it at will, we have kind of dismissed this theory.
Does anyone...
SCO documentation stinks! [mad]
I was trying to use ap with the -u option.
SCO for its examples shows trivial examples that are fairly straight forward.
Nowhere does it say that the group and passwd files need to be in their own little etc directories under the one specified. It also doesn't...
Can't print compressed on HP Deskjet 540.
Tried several drivers/models, tried forcing the escape sequence into the print job. It just won't print compressed, it prints fine in all other aspects.
Running 5.0.5 printing to a LPR printer off Win2000 using Unix Print Services for Windows.
What...
What would be the best way to have a remote user control/access a program using a HTML interface?
I have a program I would like to be able to work with remotely over the internet and access data and change settings on.
How would I implement this?
Thanks
Is there a way to hide/disable/ignore certain warnings?
I would like the ability to be able to not have the warnings for the file changing or being in use during the backup.
At the point where it prints is:
0<${file} eval ${FILTER} | lprpp $italics $length $nroff 2>&1;;
What is the order that the above is processed?
Does the 0< apply to the whole line or just the first part?
Just trying to understand this better.
One of our customers has a HP Color LaserJet 4550N. They are running SCO 5.0.6.
We have it printing fine on it except it prints a second page after each page.
We set it up like any of the other HP Lasers that we have setup w. 66 lines per page.
It is a big deal since it is preprinted forms...
I am using SCO Openserver 5.0.6
I have configured local printing to work off my local PC.
I can get it to print...sorta.
I only get 1 line, no matter what I print.
I can print to this printer just fine from windows.
What can I do to figure out why I am only getting 1 line?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.