Questions about tools for programming (compilers, IDE, etc.) For questions that involve programming, ask on Stack Overflow.

learn more… | top users | synonyms

0
votes
4answers
102 views

Compiling C/C++ code by way of including preprocessor build instructions in an actual C/C++ source file

So here's the thing, and it's really just conceptual so don't let it bug you: I've got reasons for not wanting to rely on a specific build system. I don't mean to dis anybody's favorite, but I really ...
0
votes
0answers
49 views

VT100 terminal emulation to use with a Java-based 8-bit computer emulator

I'm successfully using GNU Screen as serial terminal to "talk" to my Altair 8800 clone (http://altairclone.com/) using serial line. The command I use is: screen -istrip /dev/ttyUSB0 Screen does the ...
1
vote
1answer
38 views

Bash loop new user

I have to create 20 users on 10 servers. I want to create a script that will create 20 users for me on the server (that's easy with useradd) and encrypt the password. I have my variable $crypt=perl ...
2
votes
2answers
60 views

Is there an equivalent book/resource to “The Linux Programming Interface” for FreeBSD?

Most of you here are probably aware of the famous The Linux Programming Interface, which presents a truly masterful guide to the Linux and general POSIX APIs. I know that much of the general POSIX ...
0
votes
1answer
74 views

How to develop a GUI app in linux which can run without x window system? [closed]

While developing a GUI app in Linux, in most time, those app are using gtk or qt lib, they can only be run in the X window system and will not work in text mode. I want to develop a movie player which ...
1
vote
2answers
59 views

How many sections can I create in object file?

I'm following the course of Baking Pi – Operating Systems Development. In it they created another section .init. So can we create as many sections as we want (not just .data, .bss, .text) and can we ...
4
votes
1answer
106 views

Right-align comments in vim

I'm writing C code using vim and are searching for a possibility to right-align my comments so that they all end at col 80. To give a short example: int a = 80; /* initialize a */ int b = 7; /* ...
1
vote
1answer
23 views

How to have Kate spell check ignore run together words?

I use Kate editor for scientific programming (Fortran, Python, matlab) and would like to leave spell check on, but have it automatically ignore words that have been run together to create a variable ...
2
votes
1answer
69 views

Windowing system strictly for code editing? [closed]

I'm a usability obsessive and I can't help dreaming about how nice it would be to have a windowing system configured for nothing but editing code... mostly it would be ultra minimalist, with just ...
1
vote
1answer
40 views

How kernel allows a process to receive network data that do not belong to it? [closed]

Each process is assigned with port number when using network resource. A process can only send and receive network data from its assigned port number. How kernel allows security programs like IDS, ...
1
vote
1answer
63 views

Adding timestamp before each STDOUT line inside perlscript

In a perl script, I am capturing all the STDOUT and STDERR using the below code: open STDOUT, '>>', "$log_file" or die "Can't redirect STDOUT: $!"; open STDERR, ">&STDOUT" or die "Can't ...
4
votes
2answers
208 views

Concatenate all commentary about source files in a directory tree

I am working on a multitude of projects involving codes in Fortran. They are in a directory tree involving 10 to 20 folders, each of the codes is in a 'src' folder. What I am looking for is a simple ...
2
votes
1answer
49 views

Can you use LXC through C?

I want to use LXC to 'container' plugins my application is loading. Am I able to do this through C? I have been Googling a lot about it, but there don't seem to be any headers, only scripts that can ...
1
vote
2answers
82 views

What was the old linux game for programmers, simulating a life on a grid of pixels? [closed]

I remember about 10 years ago in the official Linux repository there was a program, simulating a life of creatures on a grid of pixels (each occupying one pixel). The point of the "game" was in ...
2
votes
2answers
121 views

What graphical programming language does OpenBox use primarily?

Is there a specific graphical language that OpenBox uses for most of it's apps, or one that it likes to run with? For example how KDE uses primarily QT for it's apps, and also includes a large ...
0
votes
0answers
48 views

What Ubiquity files should I change or interface with to make a change to Ubiquity?

There's a difference between the GTK and Qt/KDE versions of the Ubiquity installer. The GTK version doesn't take you to a manual disk partitioner if you choose the dual boot radio button. The Qt ...
1
vote
2answers
199 views

Is the Unix Programmers Manual relevant for Linux?

I've been looking for an all around Linux Programmers manual but there isn't one... So that leads me to ask if the Unix Programmers Manual is relevant for Linux? The manual is here: ...
5
votes
1answer
459 views

Use the command bar in bash without I/O?

I really like the look of the output of bar But that script is only used for Input/Output operations. How can I use it as a replacement for sleep? sleep 10
4
votes
4answers
2k views

Progressbar in bash to visualize the time to wait

In a bash script sometimes you need the user to wait some seconds for a background process to finish. I usually use for example: sleep 10 How can I add a kind of progressbar to the script, so the ...
0
votes
3answers
78 views

how to run more than one program in a single script?

I have about 6 programs I want to run one after the other. They all are in different directories with their respective data. I would like help with a script that I can use to run each program in a ...
0
votes
1answer
74 views

how to plot multiple graphs in one plot?

I want a plotting script that will plot multiple graphs on the same plot where the values of my data have the same x coordinate. This will help me the differences of each variable in the plot. I tried ...
1
vote
0answers
56 views

Where does backtick and single quote come from when denoting commands e.g. `prog'? [duplicate]

When referring to commands in tutorials, man pages, and articles I see authors use the backtick and single quote in this way: `./configure' `make' I believe I have seen gcc denote points of failure ...
0
votes
1answer
141 views

Can we run objective c on UNIX operating system? [duplicate]

How can I run objective c on Unix systems?
-1
votes
1answer
198 views

Delimiters of program arguments?

What is the syntax to delimit the arguments of a C program. For example, if I type : ./myprogram 1 2 3 | grep result The | grep result will be interpreted as arguments (and passed as argv). So how ...
1
vote
1answer
83 views

Set auto completion for a new filetype

I have a file, which contains lines of function name, now I want to use them for code auto completion, and only for file names end with .XXX. How should I do it, is it possible to work with ctags or ...
3
votes
3answers
451 views

default wordsize in UNIX/Linux

I was inspecting the preprocessed output of my C program and happened to look at the header file wordsize.h It is located in /usr/include/i386-linux-gnu/bits/wordsize.h the file contains only one ...
-1
votes
2answers
70 views

Using .. and . to copy files from dirctories

I'm trying to copy a file from the home directory to the current directory( which is a subdirectory of a directory in home) using .. and . instead of path names or ~ This is what I tried, but it ...
2
votes
3answers
295 views

Keeping program GUI front-end and CLI functionality separate

In Linux a lot of programs have a CLI version and a GUI front-end. I read somewhere that this follows the linux philosophy and is good practice. Of course it's true from a developers perspective to ...
0
votes
2answers
595 views

Best language to write linux services [closed]

I want to create a crawler that scans one single web page and sends me an email in case something is wrong on the page (the page holds some webservers' status - Up/Down). What would be the best ...
12
votes
1answer
286 views

What is AT&T’s Link Editor Command Language?

The man page for ld makes reference to AT&T’s Link Editor Command Language, however a Google search does not offer a satisfactory explanation as to what AT&T’s Link Editor Command Language is ...
-2
votes
2answers
491 views

UI toolkit + programming language to develop linux applications [closed]

Suggest good GUI designer tool with programming language for linux based application. For a developer who knows winform and C#. Don't want to use mono on linux to run .net application on linux. I ...
1
vote
1answer
87 views

How do I keep 'indent' from moving curly braces to the next line?

I have several empty inline function definitions in C++ like so: class C { void foo(){} void bar(){} }; now if I run indent -st -i4 -nut test.cc in order to just fix the indentation I get ...
4
votes
1answer
327 views

Is there a Linux for an MSM7227 tablet with USB keyboard and touchscreen stylus drivers?

I have a ZTE V9C 7" tablet with 800MHz MSM7227 processor, Snapdragon family (ARM architecture?), Android 2.3, and I want to have a (very lightweight) Linux running on it (I know Android uses a Linux ...
3
votes
2answers
188 views

What does the term static variable mean in unix speak?

From the section 2.7 of the book - The Linux programing Interface named Process memory layout : Data is defined as the static variables used by the program. What is the significance of the word ...
2
votes
2answers
619 views

Extract name of file without extension in shell script [duplicate]

Possible Duplicate: Best way to remove file extension from a string? How to rename multiple files by removing the extension? I have a metric boatload of .txt files I'd like to load into a ...
8
votes
5answers
24k views

Best distro for programming [duplicate]

Possible Duplicate: Linux distribution geared towards developers I don't know if this question qualifies to be a question to be asked here. But can anyone tell me what's the best (linux) ...
2
votes
1answer
3k views

What is the command or hotkey for stopping a running program in DrJava?

I installed DrJava about a week ago. Its been working fine so far but I ran into an infinite loop and wanted a way to stop the program from running without having to force DrJava to quit. Is there a ...
0
votes
1answer
529 views

How do I install drjava in linux from terminal?

I've downloaded drjava-stable-20100816-r5366.jar file which is the drjava version for Linux. How do I install it on my machine? I'm running Ubuntu 11.10. I have OpenJDK Java 6 runtime and Sun Java 6 ...
11
votes
5answers
3k views

Is there a way for linux to pick up the phone?

I know that there is a way to make Linux dial out using a modem. Is there a way to program Linux (using a library/device) to pick up the modem (record phone calls) etc? see caller id?
5
votes
11answers
6k views

Which programming language is best to begin with as a total beginner? [closed]

Ok here is the deal after playing with Linux distros for best part of 4 years, I have a great urge learn some coding. However I'm a bit undecided as to which programming language to begin with. Word ...
10
votes
2answers
733 views

Where is best place to find sources of standard linux command line tools?

Into: I like learning by reading sources. But it's tiring of searching them across internet splited on many many different project sites. I'd love to see central browsable repo with sources of many ...
-5
votes
1answer
285 views

Linux: create list of text with multiple operators [closed]

I want to make a list like this: 7785237_770x770_de3b540dc13ed50023d17854513b40aa07e50a6a 732308_770x770_ec5c344c0114011a5306b31142ff9b001813f6d6 ...
2
votes
3answers
408 views

Developing software on linux

What tools or IDEs do I need to start developing software on Linux in C++? Can I work using C#? What are necessary skills in order to know to develop software on Linux? I mean what is required in ...
0
votes
2answers
658 views

Best Distro For Artificial Intelligence Research? [closed]

Is there a definite best distro for AI research? I want to build a AI that can be used to help me manage all my emails intelligently.
2
votes
1answer
224 views

How to get transient highlighting to work from an elisp script?

I want an elisp script to highlight a region of text. Upon exit, the highlighted selection should disappear when a key is pressed. Everything I've tried results in the highlighting hanging on like the ...
1
vote
3answers
447 views

Managed code programming languages in Linux

Is there a .NET-like managed code programming environment in Linux? I've heard of Mono, but I don't see it extensively used -- even now Python can be seen used in most open source projects. Edit: ...
2
votes
1answer
929 views

How synchronize two disks (or folders) using symbolic (or hard) links (like rsync)?

I'm searching a tool or a shell script or another program to synchronize two or more folders or disks. But it differs of rsync tool, because, I don't want to duplicate the missing file, but do a ...
4
votes
4answers
2k views

Linux on a tegra tablet for programming

I would like to use a tablet for some mobile programming. It would be nice to read a pdf and immediately try the code on the same device. I've found various videos and tutorials how to get Ubuntu ...
0
votes
1answer
900 views

Free way to get financial data as Bloomberg terminal [closed]

I was wondering if there are some free ways (applications or programming) to get financial data (either live data, historical data or both), achieving similar function as Bloomberg terminal? Thanks ...
2
votes
1answer
5k views

How to install Scala?

Please note: I have to use the source package, not the prebuilt package from the repo (it is broken, at least IDEA complains). From the page: http://www.scala-lang.org/downloads I downloaded ...