Programming :: GDB (Control C) Command Not Working

May 12, 2011

I've just started using gdb at my new job, and I'm having a small issue debugging C++ with it. After I execute "continue" or "run" through gdb, I'm not able to return control to gdb. Based on the documentation I read, I should be able to use Control-C to interrupt the program, and have control return to gdb.

This does not work on my setup. Not sure if it's related, but I'm debugging on a remote machine. I tried through PuTTY and xterm using Exceed XServer. In both cases, gdb does not respond to Control-C. This is quite annoying because I have to restart my program every time I want to set a breakpoint.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Control-c - Control-v - Copy And Paste Functions - Stopped Working

Jan 19, 2011

I don't know how this happened, but my keyboard copy and paste functions have stopped working. Oddly enough, I discovered that I can only copy and paste by using the third mouse button. Pressing down on the scroll wheel after highlighting text copies the text, pressing it again pastes it Ican still use the Edit-copy and Edit-paste menu functions.

I'm sure it has something to do with all the tinkering I have been doing with my desktop. I have been experimenting with CompizConfig and Cairo dock, changing my themes and things of this nature.

Ububtu 10.04.1
kernel 2.6.32-27 generic

View 7 Replies View Related

Programming :: Multiple Command In Ssh Not Working?

Apr 22, 2011

I have prepared a script which will login to each server and search for a keyword.
I want output on same machine from where m running script.

When i try to run command on any machine.. It works well.

w=$(grep -irH "keyword.com" /home/*/public_html/*);if [ $? -eq 0 ];then echo -e "
$HOSTNAME";echo $(grep -irH "keyword.com" /home/*/public_html/* | cut -d: -f1 | uniq | awk '{for (i=1;i<=NF;i++) printf "%s
",$i}');fi

[Code]....

View 9 Replies View Related

Programming :: Ping Command Not Working In Tcl/tk?

Feb 16, 2010

I can't get exec ping to work on my system. wish is located in /usr/bin/wish8.4

Code:
#!/usr/bin/wish8.4
text .txt
set in [open "/root/hosts.txt" r]
while {[gets $in line] != -1} {

[Code]....

View 2 Replies View Related

Programming :: Source Or Dot Command Not Working In Makefile

Apr 5, 2010

I am trying to run a script to setup environment variables and then run other commands in a make file. But the source or the dot operator (shell is bash) does not seem to take any effect as the subsequent command didn't pick the environment up. Do I have to put every lines of the environment setup in the first script into the makefile instead?

sample setenv.sh
#!/bin/sh
export MYDIR=/somedir

sample makefile:
all: source ./setenv.sh
echo $(MYDIR)

View 5 Replies View Related

Programming :: Ptrace System Command Not Working Properly In X86 Platform

Apr 20, 2011

basically in the child process iam just calling the ptrace(PTRACE_TRACEME, 0, NULL, NULL) system call but if add this stsyem call rest of the code not working properly. i found the reason basically what happening is when we have ptrace() system call its printing the same variable 3 times i.e its not executing it 3 times but just it is printing 3 times .iam just wondering how it could be possible.

View 1 Replies View Related

Fedora :: Control Volume From Ssh Command Line?

Jul 23, 2010

I use F13. How can I control the volume of my desktop ssh'ing into it from my laptop?

I use the laptop like a remote control to control my desktop through vnc while watching movies, but changing volume through this setup is a bit too cumbersome and clumsy. I tried alsamixer but it behaves strangely and doesn't change volume.

View 4 Replies View Related

Ubuntu Multimedia :: Control VLC Via Command Line?

Jan 3, 2010

Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?

I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?

not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....

View 3 Replies View Related

Ubuntu / Apple :: Reversing Command And Control ?

Jan 6, 2011

Is there a way to reverse the functionality of the cmd and ctrl buttons? I'm used to the Mac layout and am often hitting cmd instead of ctrl. =

View 2 Replies View Related

Ubuntu / Apple :: Making The COMMAND Key The CONTROL Key?

Jul 30, 2011

If you're familiar with macs, you know that they use command keys instead of control..

If I want to select all I press COMMAND + A not CONTROL + A copy is COMMAND + C, paste is COMMAND + V, quitting an application is COMMAND + Q.

I am used to this, and I would like to change the command key to be the control key, and the macs control key to be the "windows" key.

View 1 Replies View Related

Ubuntu :: Control Mouse Position From Command Line?

May 17, 2010

Is it possible to control the mouse position from the command line? I want to centre the pointer in the middle of the screen

View 8 Replies View Related

Ubuntu / Apple :: Control CRT Via Command Line On An Imac G3?

Mar 20, 2011

I have forgotten how to turn the display on/off via command-line on an imac g3.how this can be done?(Google brings up lots of results which use "xset dpms ..", but this does not really apply to me since I don't usually run X).

View 4 Replies View Related

Ubuntu / Apple :: Remapping Command Key To Be The Control Key In 2011?

May 14, 2011

Is there a way to easily make the command key function as the control key on a macbook pro in these modern times of 2011? I tried one of the command-line based tutorials and couldn't get it to work. Seeing as I have little idea as to what I was doing, I'm going to need a gui. But come Natty, nothing appears to be working. I would think that this is a common question, so I'm sure there is something simple I'm overlooking.

View 9 Replies View Related

Security :: Uncovering Covert Command-and-Control Channels?

Nov 5, 2010

Quote:As the line between securely hosted and controlled enterprise applications and cloud-based applications continues to blur, there's more "legitimate" traffic between corporate networks and the Internet than ever before. This opens up new vectors for attack by hackers nd cybercriminals as more traffic types are allowed through corporate firewalls. The result is an increase in diversity of covert command and control channels, which hide inside legitimate traffic in order to bypass perimeter security. These C&C channels, used by malware ranging from simple spambots to more sophisticated rootkits, vary in the maliciousness of their intent from casual hacking all the way to advanced persistent threats (APT) and industrial espionage.

View 1 Replies View Related

Ubuntu Networking :: Command Line Control Of Network Settings

Mar 10, 2010

I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?

View 3 Replies View Related

Applications :: WinExe Command - Cannot Open Control Pipe Error

Dec 2, 2010

When I give the command:
winexe --interactive 0 --user <user>%<password> //<ip_address> 'cmd /C dir'
I receive the message:
ERROR: Cannot open control pipe - NT_STATUS_ACCESS_DENIED
The source machine is a RedHat EL4 server. The target machine is a Windows XP Home SP3 pc. When I give the same command to another pc all works fine. The other pc is a Windows XP Prof SP3.

View 6 Replies View Related

Security :: Attackers Moving To Social Networks For Command And Control

Jul 20, 2010

Bot herders and the crimeware gangs behind banker Trojans have had a lot of success in the last few years with using bulletproof hosting providers as their main base of operations. But more and more, they're finding that social networks such as Twitter and Facebook are offering even more fertile and convenient grounds for controlling their malicious creations.New research from RSA shows that the gangs behind some of the targeted banker Trojans that are such a huge problem in some countries, especially Brazil and other South American nations, are moving quietly and quickly to using social networks as the command-and-control mechanisms for their malware. The company's anti-fraud researchers recently stumbled upon one such attack in progress and watched as it unfolded.

View 9 Replies View Related

Fedora :: Volume Control Not Working

Aug 10, 2011

it's a while now that the volume control in gnome stopped working. I tried to reinstall gnome-media, but without success. The icon is present in the top bar and I can see the volume slider, but it simply doesn't change the volume.I'm using F15 on x86_64.

View 2 Replies View Related

Programming :: Control Characters In C

Feb 16, 2009

I'm working on my ncurses application, written in C. I get user input through a loop which uses getchar(). I was able to recognize Ctrl-n by comparing the keypress to ASCII character 16, and this seems to work fine. However, if I noticed that the ASCII character for Ctrl-j (10) is the same as the Line Feed. I tested this, and if I press enter on the keyboard I get the same ASCII value as when I press Ctrl-j.

So, what do I do if I want Ctrl-j to mean something different in my program than pressing enter?The ncurses terminal mode is set to raw, with a 100 millisecond timeout, and keypad is on (I'm already using the up and down arrow-keys).

View 1 Replies View Related

Programming :: Control VI With Tcl And Expect?

Mar 7, 2011

I'm using expect to log into a remote server and run a script. I want to able to have expect edit the output from that script, on the remote server, in VI. Has anyone ever done this before, it seems as though the expect interpreter has nothing to expect once VI is started, the file pointer starts at the beginning of the line, and expect usually reads the characters before the pointer.

spawn ssh user1@$remote_server
expect "password: "
send "$password

[code]....

View 2 Replies View Related

Fedora :: Volume Control Not Working Properly

Sep 24, 2009

I am having issues with Fedora 11 and audio. I have pulse audio running and configured. The volume control on the top panel (GDE) works properly, but i do not hear any volume until I move it up past 50%. I tested it with the advanced volume controls opened and it even shows the master volume not moving until the volume slider on the panel reaches at least 50%. Can anybody help with fixing this. It is very annoying. Thanks in advance for the support.

View 3 Replies View Related

Ubuntu :: Audio Working But Volume Control Isn't

Feb 16, 2010

I have a dual boot and my windows plays audio fine.My ubuntu plays audio fine as well however when I click on the Volume Control icon on the panel it gives me this error:No volume control GStreamer plugins and/or devices found.and I am still unable to control volume. I have alsamixer installed and it can control my system sound fine but all this time I've been able to use the controls on my HP Pavilion dv5250ca laptop's keyboard controls to control the volume and I'd like to be able to continue doing that- I haven't been able to for the last 2 days.

View 7 Replies View Related

Ubuntu :: Sensors Not Working & CPU Speed Control?

Feb 21, 2010

I installed Karmic 64-bit on a new Phenom X4 Quad-Core PC. I've replaced the stock CPU cooler with a Cooler Master Hyper TX3, enabled all fan control settings in the BIOS, switched their profiles on silent, enabled the Cool n' Quiet option as well but my CPU fan is still noisy and seem to be running up to the max number of RPM, thus ignoring BIOS specifications. Besides this I can tell there is something wrong with it since even the CPU is on idle or with just the regular browsing, media player operations, PC sometimes freezes or is automatically rebooted .

I installed lm-sensors and went through all the sensors-detect operations (output attached to this post) but it doesn't show anything else but the CPU and HDD temperature which is always 40 Celsius degrees.

View 7 Replies View Related

Ubuntu :: Control Keys Not Working In Some Programs?

Mar 19, 2010

control keys aren't working most of the time in Open Office. I can copy, cut and paste with the mouse, but Control+C/X/V/Z is not working at all. I also use intellij idea, there I have the same problem, but I can use its own defined control+alt+space. I've tried Abiword, the control keys worked at the begging but then after a while when I used control+something(C/X/V/Z), it always selected everything. Besides that, the control keys are working perfectly in nautilus, terminal, firefox, chrome, gedit. I'm using Ubuntu 9.10.

View 4 Replies View Related

Ubuntu Installation :: Brightness Control Is Not Working

Oct 14, 2010

i have inspiron n4010 lap top. i installed ubuntu 10.10, now brightness control is not working.

View 8 Replies View Related

Ubuntu Multimedia :: Control Key Not Working With Blender 2.57

May 1, 2011

I'm running Natty with the official Blender 2.57 32-bit build.This same problem occurs with previous version of Blender and Ubuntu, although not with Blender 2.4x or any other programs.Pressing the control key does nothing in Blender. Pressing 'Ctrl+S' causes the active object to scale, as if I just pressed 'S'. If I run 'killall gnome-settings-daemon', it temporarily works normally, but then I lose Gtk themes and icons and stuff.

I'm on a Dell Latitude D620, and I haven't messed with any keyboard settings.I know people using the same hardware and OS that can use Blender fine, so I'm guessing there's some sort of xinput configuration or something that got messed up somehow.

View 1 Replies View Related

Ubuntu :: Remote Control Is Not Working On Windows?

Oct 31, 2010

i have hp hdx-x16 1155ca laptop and my problem is that my remote control is not working on both of linux and windows so how can i distinguish the problem and solve it

View 3 Replies View Related

CentOS 5 :: JavaScript For MPlayer Control Not Working

Sep 22, 2010

I'm on web developing and was trying to embed an audio file on one of my page. The audio was successfully tested and emebeded on all browser. Added on the said embedding are javascript for customize buttons, here is the part of the code for embedding:

<script language="javascript" type="text/javascript">
QT_WriteOBJECT('[filename]', '90%','16', '', 'obj#id', 'movie0', 'emb#name', 'movie0', 'enablejavascript', 'true', 'autoplay', 'false');
</script>

View 1 Replies View Related

Debian :: Execute Command Mactime In Order To Control Changes Made To The File System?

Apr 23, 2011

I am trying to execute command mactime in order to control changes made to the file system, but I am getting an error. I am running the shell as root, and it is the first time I run the command in this system - Debian Squeeze up to date. The I/O is as follows:

# mactime 3/1/2011
cannot exec /bin/date: No such file or directory
cannot exec /bin/hostname: No such file or directory
cannot exec /bin/uname -n: No such file or directory
Cannot open /var/cache/tct/data/Amnesiac/body: No such file or directory

The first three lines of output are the ones that are worrying at the moment; I am not concerned with the last. Although error messages suggest the programs date, hostname and uname do not exist in /bin directory, they are available as shown by

[Code]...

View 3 Replies View Related

Programming :: Hosting Cp - How To Control Apache2 Via Php

Apr 23, 2011

**Forenote** i HAVE posted the other threads with the same intro of "hosting cp - " for the subject. I am attempting to create a web based hosting control panel and i figured that it would be easier & less confusing to post each different issue in a different thread so that answers to several differant problems weren't getting mixed up together. Ok, so as i said i'm building a hosting control panel and i need to figure out how to make my software control the functions of apache2. like setting up virtual hosts, sub domains, domains, etc.

if anyone can direct me to some good articles on interfacing with apache, or some open source projects that i could try to reverse engineer, that would be great. ive tried searching google, but i couldnt really find anything that really explained what i am trying to do. probably because most people usually dont try to use php to control apache as a weekend project, or a task to pass the time.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved