Programming :: Recognizing Ctrl+c,ctrl+l,ctrl+d In C Programs?

Aug 19, 2009

i am using gcc 4.3i need to recognize ctrl+c,ctrl+l,ctrl+d in my C program without terminating the program when i get a ctrl+c...

View 1 Replies


ADVERTISEMENT

Ubuntu :: Map Ctrl+W In Hebrew Layout(which Is Actually A Ctrl+') To Be A Ctrl+w?

Jan 5, 2010

I have 3 layouts: USA, Russian and Hebrew. In Hebrew the W key is mapped to apostrophe, so Ctrl+W in Hebrew layout doesn't close tabs in Firefox. There is no workaround for it as I see by now, so I am trying to get it work this way:I want to map Ctrl+W in Hebrew layout(which is actually a Ctrl+') to be a Ctrl+w. Here is what I got from xmodmap:Code:$ xmodmap -pke | grep 25keycode 25 = w W Cyrillic_tse Cyrillic_TSE apostrophe WAs you can see, there are pairs for each layout, each pair tells what happens without and with the Shift key pressed.

View 2 Replies View Related

General :: Disable Ctrl+C, Ctrl+V, Ctrl+X In Rdesktop?

Dec 27, 2010

I am doing a project on rdesktop. My aim is to setup a write/copy protected session. I have made rdesktop connection between two Linux machines using Xrdp.Next I want to disable the ctrl+x,ctrl+v keys and the cut and copy option in mouse right click at client side

View 1 Replies View Related

General :: Vim:ctrl+v Command To Select Some Data.But When Push Ctrl+v.It Doesn't Work?

Nov 28, 2010

" Mark the start of the text with "v", "V" or CTRL-V. The character under the cursor will be used as the start.""With CTRL-V (blockwise Visual mode) the highlighted text will be a rectanglebetween start position and the cursor."I can mark the start with "v" or "V".But it doesn't work when I push ctrl+V.

View 14 Replies View Related

Ubuntu :: Keyboard - Can Not Copy/paste Ctrl+C Or Ctrl+p From One Folder To Another With Mouse

Sep 5, 2010

I can not copy/paste ctrl+C or ctrl+p from one folder to another with the mouse. i was trying to move an item to another folder.

I looked in the keyboard short cut and it was not there. i tried to add it and it put it in custom as disabled and I could not enable it.

View 2 Replies View Related

CentOS 5 :: Why 'ctrl+a, K' Nor 'ctrl+a Kill' Doesn't Work For Screen Windows?

Oct 3, 2010

anyone has a clue why 'ctrl+a, k' nor 'ctrl+a, :kill' doesn't work for killing one of screen windows? Other screen's commands invoked with 'ctrl+a'seem to work.

View 3 Replies View Related

Ubuntu :: Freezes Mouse After Changing A Tab (with Ctrl+tab, Alt+#) Or Closing It (ctrl+w)?

Nov 11, 2010

I just installed Ubuntu 10.10 x64 and already am really annoyed by Firefox, which freezes my mouse after changing a tab (with ctrl+tab, alt+#) or closing it (ctrl+w). After about one second, i can continue working as usual. Changing Tabs by just clicking on one does not freeze anything...Maybe some of you would think now if I am crazy because of complaining about such a little thing, but it is really annoying if you are used to work fluently with ff.Edit:I today noticed, that not only shortcuts in firefox, but all Hotkeys freeze my mouse for a second. For examle ctrl+c, ctrl+v, super+e or anything else.Do you have any Idea what causes this behaviour? Reinstalling ubuntu didn't change anything

View 4 Replies View Related

OpenSUSE :: Ctrl+z And Ctrl+c Do Not Work Without A Third Keystroke

Feb 3, 2010

I just spent a few days ripping out all the broken/buggy apps that are in the opensuse 11.2 official repos so I can finally get working software(openoffice, thunderbird, wine, eclipse, rubygems, rails, and a few others required getting the "official" versions from their respective websites to avoid strange behavior and outright broken functionality).

All of which makes updating more annoying and time-consuming. Why are opensuse packages so different anyway? Anyway, the last thing that I have noticed to fix is Konsole. For some really bizarre reason ctrl+z and ctrl+c do not work without a third keystroke: enter.Maybe this is something new with the KDE team, since they seem bent on making simple things that already work more complex, but given my experience with crappy packages in the suse repos, I am thinking this is the problem. I have looked over all the config settings that I can find and nothing fixes this affront to productivity.

View 1 Replies View Related

OpenSUSE :: Konqueror Can't Cut'n'paste With Ctrl C, Ctrl V?

Mar 7, 2010

I've been using Kaggregator in KDE-PIM, which uses Konqueror as the browserto go to links from Kaggregator.Unfortunately, Konqueror no longer seems tobe able to Copy highlighted material with Ctrl C, the way we've done it forever.Is this a setting I've missed? Or is this a new "feature" in Konqueror?

View 2 Replies View Related

Ubuntu Servers :: Writing Init Script - Signals To Kill The Process (Ctrl-C) From A Bash Script And Exit Dtach (Ctrl-`)

Dec 5, 2010

I'm trying to write a init.d script to daemonise a sagemath notebook server. Here's what I've done so far, I've copied /etc/init.d/single for the structure, and tried to use dtach to provide a handle to access the process. However, my main problem is issuing the signals to kill the process (Ctrl-C) from a bash script and exit dtach (Ctrl-`)

[Code]...

View 1 Replies View Related

Programming :: Map Special Keys In Vim - E.g. Ctrl+< ?

Apr 25, 2011

How to map special keys in vim, e.g. ctrl+< , ctrl+> , shift+< . I want to resize the windows in vim, ctrl+w+< is complex, I want map it to double press ctrl+< , how can I achieve it ?

View 2 Replies View Related

Programming :: BASH: Detecting CTRL+C Being Pressed?

Jan 28, 2010

I am working on a script and I want it to detect if CTRL+C is pressed at any time during the script and have it not Break the script and display a message stating to use CTRL+Z instead. How can I do that?

View 9 Replies View Related

Programming :: Use CTRL+D Signal In Bash Script?

Jan 15, 2010

I am writing a bash script where I need standard Input should be saved in a file and should be terminated by passing CTRL+D signal. Any clue how can I do that in bash script.

e.g.
Enter one line at a time
Press CTRL+D to finish

View 1 Replies View Related

Programming :: Enable CTRL+C (to Terminate The Program) While Still Have RAW Mode?

Jun 2, 2010

changed terminal into raw modecfmakeraw(&termios);After that terminal no more captures CTRL+CIs there a way to enable CTRL+C (to terminate the program) while still have RAW mode?

View 3 Replies View Related

Programming :: Ignore / Disable Ctrl-C (SIGINT) In Shell Script

Jan 6, 2010

How do I write my trap statement in shell script to ignore SIGINT.Reason being is that the script is used to update records in database. I want to avoid inconsistency in database when user presses Ctrl-C .The result should be

1. Totally ignore Ctrl-C (SIGINT) when user presses Ctrl-C
2. Continue with the rest of processing

View 3 Replies View Related

Programming :: Bash Ctrl+c Tarp And Bash Read With Timeout?

Jan 24, 2010

simple bash code:

Code:
#!/bin/bash
trap "echo 'you got me'" SIGINT SIGTERM # to trap ctrl+c
echo "Press ctrl+c during 5 sec loop"
for ((i=0;i<5;i++)); do

[Code]...

How come code behaves normally and stops when ctrl+c signal is caught and resumes, but after I use at least one timeout read in the code it looks like, if signal is caught again it doesn't pause the execution but skips the loop. If you remove -t (timeout) option from the read, both loops look the same!

View 10 Replies View Related

Ubuntu :: How To Use The Ctrl-Alt-F2

Aug 16, 2011

after you hit ctrl+alt+F2 it says < [username]login: > i've tried a thousand different lines here and everytime it asks for password then says wrong login. what am I missing?

View 3 Replies View Related

CentOS 5 :: Alt-Ctrl-F1 Won't Available?

Dec 14, 2009

I switch from Gnome environmnet to text environmnet by ALT+CTRL+F1, but get this picture, anyone could tell me what's problem with it and how to solve it?

View 1 Replies View Related

Fedora :: Disable Ctrl + Alt + F10 In F13 ?

Aug 31, 2010

I often use the key combination ctrl + shift + F10 in my editor, and sometimes I mistakenly hit ctrl + alt + F10 which instantly transports me to a black screen with nothing but a cursor resulting in my having to reboot. I have no idea what the purpose of this key binding is but I want to get rid of it. I have looked in 'keyboard shortcuts' but there is none listed for ctrl + alt + F10. How do I disable this once and for all?

View 4 Replies View Related

Fedora :: Ctrl-Alt-F1 Or F7 To Go Back To GUI?

Oct 4, 2010

When I open a tty (Ctrl-Alt-F2) then go back to my GUI sometimes I need to use Ctrl-Alt-F1 and sometimes I need Ctrl-Alt-F7. Why? The lack of consistency is a bit annoying.

View 3 Replies View Related

Fedora :: Ctrl+V And Del Not Works?

Aug 26, 2011

Today I've installed Fedora 15 and I don't know what to do. I always use ctrl+c/ctrl+v/del shortcuts and now only ctrl+c works perfectly. The ctrl+v and del not works. So what am I doing wrong?

UPD Ok I reasigned shortcut from Ctrl+Del to Del key. But problem with Ctrl+V is persist.

View 14 Replies View Related

OpenSUSE :: [Ctrl]+[Alt]+[F1]~[F7] Cause 11.2 To Frozen?

Apr 7, 2010

1) start up the openSUSE 11.2 GNOME desktop. 2) press [Ctrl]+[Alt]+[F1] --- give me the text mode (tty1)3) press [Ctrl]+[Alt]+[F7] --- back to the desktop.

View 8 Replies View Related

General :: Swap The CTRL And ALT In KDE?

Mar 5, 2010

how to swap the CTRL and ALT keys in KDE? to me it seem like the ALT key is better positioned to be used more often for stuff like the CTRL-W close or the CTRL-S save. and there is no way to press CTRL without taking my fingers off of the home row.

View 1 Replies View Related

Ubuntu :: Cannot Exit TTY Even With Ctrl+Alt+F7 On 10.10

Nov 29, 2010

Here I was, having problems with the resolution then I stopped the X server as was instructed at the tutorial. I followed it all then rebooted. But I found that even after reboot, I'm still stuck with TTY. I clicked Ctrl Alt F7 but still it's a terminal and it did not return to the GUI or the normal desktop. What will I do to exit it? It's a good thing I have windows vista along with it or else I'll now have a computer that I can't use outside the terminal.

As nothingspecial said, I should place the link of the tutorial I was following: [URL]

View 4 Replies View Related

Ubuntu :: Key Ctrl-Alt-R Doesn't Do Anything?

Jun 5, 2011

I've just done a fresh install of Natty. The key Ctr-Alt-R doesn't do anything. I've checked in both Unity and Gnome. Using the Keyboard Layout GUI when I press Ctrl and then Alt and then R, the Ctr and Alt keys light up but the R key doesn't. Ctr-Alt-S works (and so do the other keys I've tried). kev shows a keynotify event for Ctrl-Alt-R, not a keypress event. I've checked my Keyboard Shortcuts to make sure it isn't listed there, but since the Keyboard Layout doesn't show the R key being pressed I don't think it's a shortcut issue.

View 2 Replies View Related

General :: Alt-ctrl-f1 / Would Not Return To A Gui?

Aug 12, 2009

ok, I pressed alt-ctrl-f1 and it displayed my screen with a gui. I then pressed alt-ctrl-f2 and it displayed a textual desktop. I pressed alt-ctrl-f3 and it displayed the same thing. When I pressed alt-ctrl-f1 to return to my gui, it would not let me return to a gui. I was stuck in a cmd line textual desktop.

How, without restarting, do i return to a gui once I press alt-ctrl-f2??

View 3 Replies View Related

General :: Ctrl+alt+ Fn1 , Fn2 Etc Do Not Work?

Jan 27, 2010

I am using opensuse 11.2 on my dell studio 14 laptop and to my surprise the key combination for bringing up text based console does not function as expected.when I press ctrl+alt+ fn keys I am greeted with a blank screen and ctrl+alt+F7 brings me back to the GUI plasma desktop.Does this have to do something with the acpi=off thing I did for booting successfully into linux ( without this option, the screen would go off and not respond to anything ... physical restart was the only option). although my system starts off without any fuss, OS does not detect the battery of my laptop.

View 14 Replies View Related

Security :: Cracked / Could Not Use Ctrl+f1?

Feb 23, 2011

A few months ago I installed slack 13.1 on two completely different machines with very different hardware and of differnt age, they are not networked and I dont ssh to or from them.

The only things they have in common are, I installed the same version of slack, on the same day and they are both connected to the same router and modem.

They had been working fine for a few months. I have not installed any common programs on them, just what came with slack.

Last week, on the same day both computers started to freeze in X, no mouse or keyboard control, could not use ctrl+f1.. Etc. Then they would lockup while looking in the bios, not at boot but when i would go into the bios. Neither computer will restart if I use the reset button, No bios startup or antything unless I hold down the power button for a few seconds the push the power botton again.

Does this sound like I have been cracked or just a big coincedence(sp?)

View 3 Replies View Related

Debian Multimedia :: Right Ctrl Not Working / What To Do?

Mar 12, 2010

Right Ctrl has traditionally been the key used to un-grab the keyboard/mouse in VirtualBox. I've never had a problem with it before, but on my laptop it doesn't work. When I press the key, I get this xev output code...

So, I am pretty confident that the key itself is functional. However, it doesn't seem to do anything in applications. For example, keyboard shortcuts in Kate (such as Ctrl+a to select all) do not work with the right Ctrl key.

View 4 Replies View Related

Fedora :: Enable Ctrl-alt-backspace In F10?

Mar 5, 2009

The default is forbidden in F10.

View 14 Replies View Related







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