SUSE :: Redefine Ctrl+C As The SIGINT

Jan 5, 2010

I've done some hunting on this and other forums as well as my own system and have come up dry. I have a SLES10 box where root is using the Korn shell as the default. There was a lot of system configuration done by the vendor of the app that sits on this box and one of the "features" is that Ctrl+C no longer sends a SIGINT. I just get "^C" when I try. Needless to say, I'd like to redefine this so that I can kill commands/scripts without the need to manually whack the PID. Where is the Ctrl+C defined and what steps do I take to redefine it to its default behavior?

View 6 Replies


ADVERTISEMENT

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

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

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 View Related

Programming :: Why Redefine Basic Types In C

Jun 24, 2010

I guess I'm just a noob, but I notice that some C libraries (and even some C++ ones) tend to redefine the basic types with their own naming convention.

For example, OpenGL redefines the basic types:
Code: from GL/gl.h
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef unsigned int GLbitfield;
typedef signed char GLbyte;
typedef short GLshort;
typedef int GLint;
[Code].....

View 3 Replies View Related

Ubuntu :: Redefine Terminal Keys (not X-server)

May 17, 2010

Im running ubuntu 9.04 remotley via ssh, using putty on a windows computer to control it. I want to redefine one key (I have a swedish keyboard where I have to press AltGr+key to get a tilde sign, would be better if I could get the tilde without AltGr modifier).

I read about xmodmap and xev. Using them I succesfully redefined the key for x-programs. For example if I start firefox over ssh and press the key I get the correct key. But in the terminal session the changes does not take effect. Which is probably logical since xmodmap does only work on the x-server. But how do I redefine the keys for terminal use?

View 2 Replies View Related

General :: Redefine The Way ANSI Colors Are Shown In A Terminal Emulator?

Jun 8, 2011

I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works under linux that allows me to do this? how?

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

SUSE :: Flashing BIOS On Toshiba Satellite A105 S 4547 Laptop SUSe 11.2

Jan 14, 2010

I bought this laptop several years ago. It had Vista. Just long enough for me to download SUSe, nuke and pave the HD and install Linux. Recently I upgraded from 1 GB to 4 GB of RAM, the maximum that is allowed given the motherboard (based on from what I am able to learn the Intel 945 chipset).

After upgrading to 4 GB, the machine (according to "My Computer") only sees 2.9 GB. I understand that under an earlier version of the BIOS that the machine would not recognize the RAM correctly. Additionally the "My Computer" page lists the display as "Intel 945GM". My problem is that I can find no Linux utility to flash the BIOS on this machine-- Toshiba only provides the BIOS included in an .exe file for either XP or Vista. I am hesitant to use the BIOS for the Intel 945 series motherboards from their site.

View 3 Replies View Related

SUSE / Novell :: Open Suse 11.2 Install Grub Entry For Chainloading Ubuntu?

Jul 20, 2010

I intend to re-install open suse 11.2, 32-bit. On a previous install,suse did not provide a grub entry for ubuntu.My current setup has

ubuntu/root on /dev/sda6
ubuntu/home on /dev/sda7
ubuntu/usr/local on /dev/sda8

[code]...

View 4 Replies View Related

SUSE :: SUSE Warm Reset Generated Uncorrectable Error On Server

Jul 22, 2010

I am running memory test on SUSE, Memory test is just writing some patterns into a memory and reading it back in all CPU threads. After a while, when memory test is running in the background , I am trying to reset the system by echo b> /proc/sysrq-trigger command, Upon SUSE warm reset , I am seeing some UNCORRECTABLE MEMORY ERROR in model specific register (MSR : 0x421),

I am seeing this behavior on one of my server which has huge amount of memory.,Have you ever seen this UCECC error when SUSE generates warm reset when memory test in the background ?

View 4 Replies View Related

SUSE / Novell :: Multimedia CD-Rom Made For Windows 95/98/98 SE And 2000 Are Usable With Suse?

Nov 18, 2010

I've got several language multimedia CD-Rom's, made for Windows 95/98/98 SE and 2000, that I'm using by means of my daughter's old PC (Win 98 SE O.S.). However I noticed, also, that you can perfectly use them even with Windows Vista. What I'd like to know is if you can use them even with Suse/Novell and (why not?) OpenSuse Linux.

View 4 Replies View Related

SUSE / Novell :: Open SUSE 11.1 Mount Samba Share At Boot???

Jul 5, 2009

OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is

mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx
please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks

View 2 Replies View Related

SUSE / Novell :: Unable To Create Home Directory In Open Suse 11.3

Sep 8, 2010

When i am adding a user using "useradd -d /home/test test" or "useradd test", it is now creating the home directory, whereas when i am using the graphical mode and going through several menu options, i am getting the home directory.

View 1 Replies View Related

SUSE :: Improperly Shutdown Suse - Restore Gnome To Automatically Load The Default User On Start Up

Jun 30, 2010

I am new to Linux and wow, it did not take me long to run into a huge snag. I am running Suse Linux Enterprise 10 on a laptop and by some strange reason the computer froze from overheating and I was forced to shutdown improperly. Once I restarted it booted right to the command prompt when it usually instead boots to the default user. I managed to get gnome running using the "startx gnome" command. But when gnome loads, none of my normal extentions load like my wireless driver, the sound driver, etc. how to restore gnome to automatically load the default user on start up or fix any other damage I might have done? lol

View 3 Replies View Related

SUSE :: Installation SUSE With Keeping Windows Partition Intact

Jun 8, 2010

i have windows 7 installed on my laptop and working fine..i want to install Open Suse 11.2 along side. I tried installing by booting with DVD for Suse. But it gave me warning to delete the windows partition.I would like to keep the partition intact with windows 7 and install Suse. Any suggestions ?I can create partition on my laptop but i do not want to modify the current windows structure.

View 9 Replies View Related

SUSE / Novell :: Install A D-Link Access Point On Suse 11.0?

Sep 16, 2010

how to install a D-Link Access Point on Suse 11.0 or steer me toward documentation that will do that? I configured the device on XP following instruction from this forum and the AP configured perfectly.The AP is plugged directly into the network port on the computer. It *should* function correctly without a router. I tried a restart and Suse has no idea it's there. The computer is currently configured for a wired connection which needs to be changed. The computer itself is going to be used as a small home storage server.

View 3 Replies View Related

SUSE / Novell :: Monitor Turns Off After Few Minutes And Reboot - SUSE 11.3 KDE 4.5?

Nov 4, 2010

I have a disturbing problem with my monitor which goes to sleep (or ??) after few minutes if my comp is not used and most of the time I have to restart my comp.I disabled everything in Powersave , but nothing. I did have that problem in previous versions of SUSE, but somehow, I solved that. I cant remember what I did then.

View 4 Replies View Related

SUSE / Novell :: Can't Get Suse To Install On The Prepared 20gb Partition?

Aug 23, 2010

I've pre-partitioned my HDD and want to install 11.2 on the second primary partition.However, when using the installer, I can't get Suse to install on the prepared 20gb partition - it keeps insisting it wants to install on the large unallocated section of the drive.

I find the partitioner somewhat hard to use and the answer may be staring me in the face but I can't see it.

View 2 Replies View Related

SUSE :: Cannot Get Printer Installed With SuSe And Windows Applications

Jan 6, 2009

Recently my computer was infected by several viruses and my brother cleaned it up and installed SuSe for me. He also put windows xp back on my system for our children. I am having a terrible time installing our Dell 924 printer. I have it installed for windows, but cannot get it to print for my Linux system. What am I doing wrong? Can anyone give me some direction?

View 5 Replies View Related

SUSE :: Epson C900 Printing From Suse To Windows Xp?

Feb 1, 2010

i've had a windows xp pro where the printer epson aculaser c900 is shared. When i wan't to print from linux. When i look on dhe xp pc the files are in the print qeue. But the printer give no print out.

View 4 Replies View Related

SUSE :: Huawei E156 HSDPA Test On Suse 11.1?

Mar 9, 2010

I bought Huawei E156 HSDPA data card. Able to connect to internet with windows PC by using this data card.But I would like to test the card with linux PC where I have Suse 11.1 installed. Is there any one to help out how can I test ?

View 2 Replies View Related

SUSE :: Install Virtualbox On Suse Enterprise Desktop 11?

Mar 18, 2010

I was tryin to install virtualbox on Suse Linux Enterprise Desktop 11 and it said it needs pad-devil. I looked in the software archive that came with sled 11 but it wasnt there. I tried downloading the VirtualBox install for Suse Linux Enterprise Server but got the same error as when i tried install VirtualBox with the opensuse 11.1 rpm file. can virtualbox even be install on sled? (has anyone done it?) and if so where can i find pam-devil?

View 1 Replies View Related







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