I am trying to figure out how to script vim to send a message to a gnu screen "window". i.e. I have a screen session open and in one window I have a vim session and in the other a scheme interpreter. When I save my vim session I would like it to restart the interpreter in the other window loading in the new environment. I can figure out ...
By default, when you create a new window in GNU Screen, it will start in the directory where screen is invoked. I want to start a new window in GNU Screen at the current working directory of the window I'm currently in. How to do that? Thanks!
...
In GNU screen, I want to change the default command binding to Alt-s (by tweaking .screenrc) instead of the default C-a, the reason is I use emacs hence GNU screen binds the C-a key, sending "C-a" to the emacs becomes tedious (as @Nils said, to send "C-a" I should type "C-a a"), as well as "C-a" in bash shell, and I could change the esca...
I apologize if this question has been asked before. I did a rather extensive search for similar questions, however all I could find were answers related to C++ or C#. I'm using GNU C.
I'm writing a daemon that needs to be able to send e-mail using SMTP. I need to be able to login to an external mail server, send the email and interpret ...
I've written a small FUSE-based filesystem and now the only part's missing is that I want to register it with fstab(5) to auto-mount it on system startup and/or manually mount it with just mount /srv/virtual-db. How can I achieve this?
I know, I can just run /usr/bin/vdbfs.py /srv/virtual-db from some init script, but that's not exactly...
Assuming we have the rule:
a: b c d e
and b, c, d and e are independent of each other.
Is the order of making b, c, d, e defined? It seems that generally they will be made in order b, c, d, e, but may it sometimes happen, that the order will be different?
...
In my case, I am using gperf, I didn't fint it in the gnu gpl.
The C code generated by gperf, is very simple, and doesn't have any licensing header.
I guessed that a file without a licence at the beginning is totaly in the domain public.
Am I right?
...
I've seen some software (a Joomla component, to be exact) for sale on a web site. The web site says it is licensed under the GNU GPL2. However it also says you need to pay for every site you use the software on (with bulk discounts).
I know it's perfectly acceptable to sell software under the GPL, however the license implies that the so...
Is the iTextSharp DLL free to use and redistribute with my web application project which i will be selling?
...
Let's say I want to build a perfect hash table for looking up an array where the predefined keys are 12 Months, thus I would want
hash("January")==0
hash("December")==11
I run my Month names through gperf and got a nice hash function, but it appears to give out 16 buckets(or rather the range is 16)!
#define MIN_HASH_VALUE 3
#define M...
When GNU indent (at least version 2.2.6 and 2.2.10) is used on the following code...
void
main ()
{
int i = 0b01010101;
}
it will be reformatted into this ...
void
main ()
{
int i = 0 b01010101;
}
Is there any option in indent that avoids this behavior?
...
I'm trying to complie my program on Windows via Cygwin with the compilation command:
g++ ping.cpp -I./include -L./lib -lchartdir50
I'm using an API called ChartDirector which draws charts for me. I've never linked libraries this way before (usually I do it through Visual Studio) so i'm a little new to this. I've got a really large lis...
I've got a Subversion project that uses Gnu Autotools (i.e., automake, autoconf, and libtool) to manage source code within a subfolder (called 'subpackage'). The subpackage references source files that are above the subpackage's root source directory, and are common to other subpackages. Unfortunately, when running 'make dist' to creat...
Hi, does anyone know of a good OEM zip utility that we can use to integrate into our release package. We dont want to use GNU (GPL).
Cheers
Pete
...
I'm writing C++ using the MinGW GNU compiler and the problem occurs when I try to use an externally defined integer variable as a case in a switch statement. I get the following compiler error: "case label does not reduce to an integer constant".
Because I've defined the integer variable as extern I believe that it should compile, do...
Hi guys. I have a code like this:
.bss
woof: .long 0
.text
bleh:
...some op codes here.
now I would like to move the address of woof into eax. What's the intel syntax code here for doing that? The same goes with moving bleh's address into, say, ebx.
Your help is much appreciated!
...
Here is a C++ project, and its lib dependency is
Hello.exe
-> A.so
-> B.a
B.a
-> A.so
Hello.exe depends on B.a and A.so, and B.a depends on A.so.
GCC compiler will link Hello.exe successful?
And if there is a b.cc file in B.a which includes a header file a.h of A.so, and also uses some interfaces of A.so, then with rig...
I'm learning a little C over the holiday weekend, and I started to look at other programs written in C. I ended up looking at GNU Netcat, thinking it would be a good example.
I was a bit shocked to see a 600 line main() function. Is this normal? If it is normal is this considered good C coding practices?
...
I am using GNU autoconf/automake. Is there any way I can control what make prints to stdout from configure.ac or Makefile.am? For example, suppress mv and cp commands being printed out to the screen, only print the name of the file being compiled by gcc rather than the whole command line, highlight gcc warnings in some way.
...
I'm reading Computer Programming Using GNU Smalltalk, but I want to know with is the best program to write my Smalltalk sources, because I don't know if I use Notepad++, a editor or a IDE, then I want a suggestion for a beginner.
Remember that I'm using Windows XP.
...