When I use Solaris, I get page numbers every 60 lines or so that look like this
SunOS 5.11 Last change: 10 Feb 2009 1
Also, I get headers like
User Commands ls(1)
Is there any way to remove them? It's distracting to have them appear when I'm reading text line by line.
...
I am doing some C++ cross development - been doing that for a while on Windows and recently started on Unix.
I suppose what I am after is to simplify Unix development experience - I have a local windows box I do development on, and a remote Solaris box which I use to compile and test code on unix environment.
What I do now - I develop...
In Solaris, gcc gives me
implicit declaration of function `getopt'
when compiling
#include <unistd.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
getopt(1,argv,"");
return 0;
}
The man page for getopt says something about including unistd.h or stdio.h, however even though I'm inluding both I still get this w...
Hi,
I have a java3d project that was developed on solaris that I am trying to move onto my macbook for a variety of reasons (1 being that our solaris machines are painfully slow).
Basically what I want is to use osx + netbeans for this project but it seems to reference java3d methods that are not included in the outdated version of jav...
I have ported a fair bit of code from Win to Solaris, one of the issues I have -
I am getting a heaps of warnings:
Warning: Last line in file is not terminated with a newline.
I like warnings - but because of the sheer amount of those I am afraid I could miss more important one.
Which compiler (cc) option should I specify to silence...
i want my yylex to parse a string rather than a file or stdout.how can v do it in solaris
...
what libraries should be linked in lex & yacc (solaris) to include YY_BUFFER_STATE. when i use
YY_BUFFER_STATE in lex and compile it .i get an error saying tat it is undeclared.but when i do it in unix i am getting the output so pls help me.
...
The file i am working with (oraInst.loc) looks like this:
inventory_loc=/u01/app/ORAENV/oracle/oraInventory
inst_group=dba
I need to use a regular expression to grab the value between app/ and /oracle. In this case it will be ORAENV but it could be any alphanumeric string of any case and length but with no spaces.
From what I have re...
I have built a standalone executable which references my .so object.
both are in the same directory. when I try to run executable it gives me the following error:
ld.so.1: myExec: fatal: libMine.so:
open failed: No such file or directory
what am I doing wrong?
...
I was using the return value of fgrep -s 'text' /folder/*.txt to find if 'text' is in any .txt file in /folder/. It works, but I find it too slow for what I need, like if it searches for 'text' in all the files before giving me an answer.
I need something that quickly gives me a yes/no answer when it finds at least one file with the 't...
Is there any compiler option to make time_t 64-bit in Solaris 5.8 in forte compiler. I need to develop library in 32-bit and I cannot change it to 64-bit as it effects existing client applications.
...
How can I create a solaris package that will not to break soft links when the package gets installed ?
...
Hi,
I've got a problem on my Solaris servers. When I launch a Sun Java process with restricted memory it takes more than twice the ressources.
For example, I have 64 Go of memory on my servers. 1 is on Linux, the others are on Solaris. I ran the same softwares on all servers (only java).
When servers starts they took between 400Mb and...
Our application has a couple of shell scripts that are called from web-based Oracle Forms 10g, running on multiple Solaris 10 servers. We've discovered recently that the shell scripts are not running with the full permissions of the OAS user account that runs the forms. I added a echo User is $USER command to one script to display the ...
Hi guys I hope anyone can help me. I'm running a simple program in C, running in Solaris 8, and I found a problem while using popen/pclose.
FILE * stream;
stream = popen("ps -ef | grep "pattern");
if(pclose(stream)){
printf("Erro no fechamento da stream\n");
}
The pattern in grep command it's just a filter that I use to treat...
I have a server serverA running a weblogic application App1, with base url /app1/ on port 7001, and another server serverB, running a weblogic application App2, with base url /app2/ on port 8001. Both servers run Solaris, Apache2 and Weblogic 9.2
(details changed, but these are representantive)
In other words, app1 could be accessed on...
Just started a new coop workterm and using a solaris machine with bash as my shell. Know basic commands in bash:
ls, pwd, find, cd, mkdir, rm, grep ...
That is basically all I need to do my job (working in java with intellij), but would like to be able to use my machine better. Can anybody recommend a book for me? Hopping for some l...
One of our projects is a cross-platform piece of code. We build it on Windows, Linux, and Solaris/SPARC mostly. Of the 3, we deal with Solaris the least and it's a maintenance pain to keep our SPARC box up and running and in general Solaris administration is not our competency.
A few years back I built a working cross-compiler for SPA...
On OpenSolaris ($^O eq 'solaris', vers. 2.11), I'm trying to build an XS module which uses the XPGv4v2/Single Unix Spec. understanding of struct msghdr, specifically for "ancillary data" interrogation.
However, the native perl (v5.8.4) was built without the requisite defines, and so the struct msghdr visible within my XS file is the old...
I'm working on a project where we are dealing with importing/exporting data from database tables using ksh scripts and Perl scripts. We have an existing process to export data from a table to a file and it is then imported into another system.
Here's the catch - the export process dumps out pipe delimited files while the system that is...