General :: Control-Backspace (unix-kill-rubout) For Readline?

Jan 14, 2010

In readline(3) I should be able to map Control-Backspace to the same function as Control-W (unix-kill-rubout). Regardless of what I put in ~/.inputrc I'm unable to get this to be recognized.

C-: unix-kill-rubout

...for instance does not work. Can I map Control-Backspace to the unix-kill-rubout in readline?

View 5 Replies


ADVERTISEMENT

Networking :: Kill/disconnect Unix Domain Socket?

Jan 5, 2010

I have described my issue in detail here: [URL] basically, I am having a mysql server which keeps piling up on it's unix domain socket connections.

here's a small example of netstat as it looks now (count about 80-100 connections paired with httpd):

Code:
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 3521428 12429/mysqld /tmp/mysql.sock

[Code].....

This is indeed a mysql server issue as far as I managed to debug it but until a workaround/fix is found I need to have my server responsive and the first idea that comes to my mind is to somehow kill those stray connections. as described in the mysql topic mentioend above, killing from mysql will not work. I need to kill them from outside mysql. I have setup a crontab script to kill and restart the mysql server when it cannot connect and it runs every 5 min. however this only lead to mysql being down sooner rather than later because in many cases just kill -9 and then service start mysql does not do the job (it's either part of the same issue of mysql or another issue). basically I need to manually kill mysqld instances a bunch of times until it's ok, OR, if that doesn't work, stop everything that is using mysql, wait a few minutes, and then start mysql. so I ditched that script and now I am manually restarting mysql server every ~ 24 hours.

so basically it's a pain. if I were to kill the stray connections however, I will not have to bother every day with restarting mysql.

View 2 Replies View Related

Software :: Error: Readln.c:25:31: Error: Readline/readline.h: No Such File Or Directory

Dec 28, 2010

I am trying to install ald: [URL].. As said in the installation manual, I execute "./configure" and then "make". In the middle of the compilation It aborts and return the following error: readln.c:25:31: error: readline/readline.h: No such file or directory. readln.c:30:30: error: readline/history.h: No such file or directory

View 3 Replies View Related

General :: Cannot Install GNU Readline 6.1 - Ubuntu Server?

Jan 22, 2011

I am trying to install the GNU Readline Library for microdc2. In order to install it I:

1) run configure
2) run make
3) run sudo make install

When I enter sudo make install at the end of many lines of output, I get this:

Code:

/bin/sh ../support/mkdirs /usr/local/lib
/bin/sh ../support/shlib-install -O linux-gnu -V unknown -d /usr/local/lib -b /usr/local/bin -i "/usr/bin/install -c -m 644" libhistory.so.6.1

[code]....

microdc2 doesn't read it as installed. I tried to follow this but it doesn't work: [URL]

View 2 Replies View Related

General :: How To Map Shift+Del To Backspace

Feb 23, 2011

One of the very few things I miss from Windows is that when you press LeftShift+Del the delete key acts like the backspace key, in other words you can use Del to delete forwards and LeftShift+Del to delete backwards.

I've been reading man pages such as xmodmap and used xev to get keycodes but I can't work out how to map LeftShift+Del to Backspace.

Can someone tell me how to do this please?

View 4 Replies View Related

General :: Enable Backspace In Vim Permanently?

Feb 24, 2010

I enabled backspace in vim by "set backspace=eol,start" and it worked. But if I close the window and open up another one, the backspace is automatically disabled again. Is there a way to enable backspace once and for all?

View 2 Replies View Related

General :: Weird Backspace Behaviour On Shell Sometimes?

Jan 4, 2011

I use bash shell and sometimes all of a sudded, my Backspace key stops working (when this happens Ctrl + Backspace still works fine) I am not sure why this happens, but it also carries over to any vim sessions that I use from the shell. To my surprise, getting a fresh shell does not help, and the problem seems to go away as abruptly as it started.

This is what the typed characters look like, each Backspace keypress is shown by a ^? on the shell

View 1 Replies View Related

Ubuntu :: Kill Doesn't Kill, Killall Is Powerless?

Oct 21, 2010

Today I run OpenOffice.org extensions update and it freezed fter showing me that everything was successful.When i xkilled it it refused tolaunch without any problem indication.killall soffice.bin didn't report "No process found" after 1,2,3...20 times.So I tried killall soffice.bin -i

Code:
$ sudo killall soffice.bin -i
Kill soffice.bin(3319) ? (y/N) y

[code]...

View 1 Replies View Related

Software :: Unable To Kill Process With Kill -9

Jan 13, 2011

the process is mcelog. When I do as root kill -9 2323 which is pid of mcelog the process is not killed. I tried doing the same from top, press K and enter pid of mcelog. doing ps auwx | grep mcelog I see there are several results. I tried killing all of them like kill -9 2355 2341 3425 2345. But re-running the above commands still shows them as running. How else would I troubleshoot this to avoid restarting of the box.

View 5 Replies View Related

General :: Ubuntu 10.04 Freezing And Ctrl + Alt + Backspace Does Nothing But Music Keeps Playing

May 26, 2010

I'm having intermittent problems where the screen will freeze in Ubuntu. I've tried using Ctrl + Alt + Backspace to restart the X-server, though this does nothing. When the freeze occurs, there's a small square of black dashes around the mouse pointer - maybe 1 inch in size. These dashes look a lot like a 2d barcode. The rest of the screen looks normal, but I can't move the mouse and none of the keyboard shortcuts work to do anything. However, music that I begin playing before the freeze continues to play, which seems to indicate it hasn't stalled up completely.

I've noticed a similar freezing problem when I'm using Windows 7. That is, I see the same barcode like dashes around the mouse pointer when it freezes up. So I'm guessing it's either a driver or hardware problem. I thought if it was a hardware problem though, the whole computer might stop working (i.e. music would stop playing)? The video card I am using is an Nvidia, and I believe it's in the 7600 range. In Ubuntu I have the drivers for the card set to the latest available (proprietary). Ideally I'd like to be able to continue using the proprietary drivers. Is there any known issues with the drivers for this model graphics card

View 3 Replies View Related

General :: Lenny Freezes - CTRL+Alt+Backspace Does Not Work - Diagnose ?

Apr 2, 2010

I recently switched from Windows XP to stable Debian w/KDE on my work dell B120 laptop. I have been trying to diagnose freezes. In the evenings I have been leaving an SSH connection to my home computer. I leave a command running that writes the current time to a file every ten minutes. The past two nights it has stopped writing the time after a couple hours (not at the exact same time), and I am no longer able to ssh from my home computer to my work computer.

When I get back to work, the work laptop is frozen. CTRL+Alt+Backspace does not help, neither does CTRL+ALT+F1. Ctrl+Alt+SysRq works sometimes. It has not yet frozen while I have been present.

I tried disabling the screen saver and monitor power controls in KDE, thinking that those only come on when I am away, so they might be the cause. But it did not help.

I took the last time recorded by my ssh connection and looked through the logs trying to find something that happened at that time, but the only event occuring around the time the SSH connection dropped was a chron job that runs every hour. As far as I can tell, the chron job does not actually do anything but write to the log each hour.

So obviously I need to post more information. What would be helpful? Which log or configuration files might contain clues?

I see these lines in my logs:
kernel: Kernel logging (proc) stopped.
imklog 3.18.6, log source = /proc/kmsg started.

It appears at 6:25 AM each day between when the SSH connection drops and when I arrive in the morning. Do I need to restart logging?

View 2 Replies View Related

General :: Ubuntu - Optical Mouse Assign Backspace To Wheel Button

Apr 25, 2010

I am trying to use my Microsoft Optical Wheel Mouse (it has left button, right button and the wheel button) in Ubuntu 9.04.I would like to use the wheel button to perform the same task as backspace key in firefox browser and file browser. I have hunted around the net for the past two weeks and found many articles on imwheel and editing x11config files but they all are for 5 of 7 button mice. I have installed and used imwheel -c which tells me that it is "wheel: Left Button 6". However as a total beginner with Linux I am not sure what to do from here. I am hoping that someone would be kind enough to give me a reasonably detailed explanation of what I need to do. If someone could spend some time to list what files I need to edit and what I need to insert into them for this mouse I would be grateful.

View 3 Replies View Related

Software :: Unable To Install The Readline.so.6

Jul 22, 2010

I'm having a bit of a problem installing the readline.so.6 on my CentOS machine. I have a 64-bit system and already have readline.so.5 installed. I need version 6 in order to run an application called mothur [URL] as it won't compile without it. I have downloaded the package and when I used the "make install" command I received the following output:

Code:

/bin/sh ./support/mkinstalldirs /usr/local/include
/usr/local/include/readline /usr/local/lib
/usr/local/share/info /usr/local/share/man/man3\

[code]....

View 5 Replies View Related

Programming :: .inputrc And Readline Key Binding?

Feb 10, 2010

I can find eC-f and eC-b in /etc/inputrc and they work. However, I find the eC- key combination a bit of a finger reach and I use forward-word and backward-word a lot so I wanted to add a key modifier combination that was easier. I have tried several different versions of key binding in ~/.inputrc but nothing seems to work. Here is the latest version of my .inputrc:

# Bill's inputrc for ReadLine
# '$include' directs readline to the file
# with 'universal' settings.
# Place 'export /etc/inputrc' in .bash_profile

[code]....

Meta (ALT) -b works (does backward-word) for some reason but M-C-b doesn't. Meta (ALT) -f gives me the window menu, as it should. I don't want to change that. But ~/.inputrc gives me nothing with ALT(Meta)-CTRL-f. I was kind of hoping to figure out how to substitute M-C- for e on my local or users .inputrc and readline for many of my user's bindings.

View 1 Replies View Related

OpenSUSE :: Php5-readline Causes Segmentation Fault Of PHP In 11.2?

Mar 23, 2010

as the title describes - php5-readline causes Segmentation fault on opensuse 11.2, on both my desktop and laptop, on all listed versions of php - 5.2.9, 5.3.0 and 5.3.1

View 3 Replies View Related

OpenSUSE Network :: 11.4 PHP5 Interactive Readline Not Working?

Apr 25, 2011

I just installed openSuse for the first time the other day. I'm trying to get my web development tools up and going and I've hit a little snag.After installing php5 I tried to use interactive mode on the command line (php -a) but I didn't get the nice line-edit-capable prompt I'm used to. A little research told me I needed to install readline support, so I installed the php5 readline package. The thing is even though `php -m` now shows the readline module is loaded I still don't get the line-edit support

View 6 Replies View Related

SUSE :: Import Error: No Module Named Readline

Dec 5, 2009

I recently installed python in SLES and now i get the below error when running it.

Code:

The GCC team.
Distribution: SUSE Linux Enterprise 11
linux-ooix:~/Desktop # python3

[code]....

Import Error: No module named readline

View 7 Replies View Related

Software :: Configure Error: Readline Library Not Found

May 8, 2010

configure: error: readline library not found If you have readline already installed, see config.log for details on the failure. It is possible the compiler isn't looking in the proper directory. Use --without-readline to disable readline support. Now I tried to yum install readline-devel and the result was failure as below:

Quote:

[root@localhost ~]# yum install readline-devel-6.0-3.fc12.i686.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[code]....

So I am thinking that maybe I have to tell configure where my readline libraries are. From the above, it looks like readline-6.0 is not on my computer, even though I went through the configure/build/install process for it.

View 3 Replies View Related

Debian :: Upgrading From Lenny To Squeeze - Alternatives Readline Error - Invalid Argument

Sep 23, 2010

Made sure kernel was 2.6.26+ Changed sources. apt-get update Then it all goes to hell at util-linux... When attempting to

Code:

[root@WdoACnbF01:pts/0][18:42][28.331mb][~]
[===>uname -a
Linux WdoACnbF01 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 2010 i686 GNU/Linux
[root@WdoACnbF01:pts/0][18:44][28.331mb][~]

[code]....

update-alternatives: error: readlink(/etc/alternatives/automake) failed: Invalid argument

View 3 Replies View Related

Fedora Networking :: Can Access Unix Machine From Another Unix Machine?

Feb 23, 2009

i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?

View 4 Replies View Related

General :: What Is The Meaning Of Kill %1

Jul 30, 2011

I have seen the following command:

$ kill %1

What is the usage of this statement?

View 2 Replies View Related

General :: How To Kill The Grub2

Sep 24, 2010

How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?

View 7 Replies View Related

General :: Using The Kill Command In Ssh?

Feb 18, 2010

use kill command in ssh? some of my friends are always disturbing me while i'm programing using ssh...

View 1 Replies View Related

General :: Kill The Process In Different Group But Not One-by-one?

Apr 5, 2010

Can we just put all the processes in one group and kill that group? Is there any other way to do this?

View 3 Replies View Related

General :: How To Kill A Process With Name Having Spaces

Dec 10, 2010

A process with name=example can be killed by killall -9 example

How to kill multiple instances of following command which contain spaces?

"valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03"

Following command returns valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03: No such file or directory

View 3 Replies View Related

General :: What To Do When Ctrl-c Can't Kill Process?

Feb 9, 2011

Ctrl-c doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor, and can't do much else.What's the easiest way to force that process to die now without losing my terminal?

Summary of answers below:Usually, you can Ctrl-z to put the process to sleep, and then do "kill -9 process-pid", where you find the process's pid with 'ps' and other tools.On Bash (and possibly other shells) you can do "kill -9 %1" (or '%N' in general) which is easier. If Ctrl-z doesn't work, you'll have to open another terminal and kill from there.

View 6 Replies View Related

General :: How To Kill Same Group Process

Feb 18, 2011

How to kill a process initiated by another user, who is in same group as me?

View 1 Replies View Related

General :: Get It To Kill FreeBSD Install?

Aug 22, 2010

This is a humbling experience for a long time MS admin/tech.I am wanting to build a file server fr my home network. So, I downloaded and installed FreeBSD 8.1 last night.Wanting a more familiar interface, I downloaded and tried to install KDE. It loads and asks for language. Then I select "Install kubuntu".

The kubuntu logo and a progress meter pop up for a while. Eventually the screen goes black and nothing else happens. I have to reboot. If I take the CD out it boots to FreeBSD.Am I missing something? Kubuntu never asks anything regarding partitioning. Is FreeBSD an os like DOS and kubuntu a GUI like Win 3.1 or is kubuntu more like XP with a GUI built in to the os? If it is the latter, how do I get it to kill the FreeBSD install?"Try kubuntu without installing" does the same thing.

View 3 Replies View Related

General :: Cannot Kill Mbusd Process And Cannot Run It Again

Oct 30, 2010

I have a big problem with one of my processes named "mbusd" ;it is an opensource modbus RTU/TCP gateway when I plug USB to serial convertor to it my laptop without this process linux makes virtual ttyUSB very fine and when I unplug it it removes except some times (SOME TIMES not all the times) that I run mbusd process to work with, at that time during mbusd process work when I unplug USB/serial converter the virtual ttyUSB does not disappear and mbusd does not exit too and it turnes in something like this when I get ps -aux: mbusd [defunc] at this time I can not even kill it with -9 or -15 signals and pluging back the converter does not solve the problem too and mbusd does not exit or start to run again.

View 3 Replies View Related

General :: Cleaning Up Kill Command?

Jul 19, 2011

Using Ubuntu 11.04. I use this command to kill frozen Flash processes ...

Code:
pgrep -P1 -f 'npviewer.bin' | xargs kill -9
IF there are no hung processes, I get the error ...
Code:
Usage:
kill pid ... Send SIGTERM to every process listed.

[Code]...

View 4 Replies View Related







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