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
ADVERTISEMENT
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
Jun 17, 2010
i have a code written in c..for which i was trying to create a gui using Gtk+.but now i want to use qt4 for the same purpose but native language of qt4 is C++. i have to do library binding for my C code to develop a gui using qt4.
View 5 Replies
View Related
Jun 13, 2010
On a new installation of Ubuntu 8.04.2 LTS, logging in as a standard user does not maintain the keybindings (whether through sudo su - or direct from ssh).As the root user everything is fine and /root/.inputrc does not exist (only /etc/inputrc) which has its default settings.In addition setting a ~/.bashrc and ~/.profile to the same as the root user (and chown'ing to user:user) has no effect.
View 1 Replies
View Related
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
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
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
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
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
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
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
View Related
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
Dec 1, 2010
I need to know how to set my Windows key + Key global shortcut on e16 1.0.7 stable.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to make a script that adds a systemwide keybinding, but I can't find a way to do it from a terminal.
View 9 Replies
View Related
Jul 14, 2009
Each time my machine reboots, it takes about 2 minutes for an attempt of the YP server to bind (then it fails).
Code:
jim@LinuxBox:~$ /etc/init.d/nis restart
start-stop-daemon: warning: failed to kill 2469: Operation not permitted
* Starting NIS services
* binding to YP server...
* ....
--> repeats 10 times <--
* .... [fail] [ OK ]
jim@LinuxBox:~$
The previous is a YP server command while running. What happens at boot time is similar. I think I need NIS for my work. This looks like an old common problem (maybe on AMD64 - Ubuntu; which I have). The following link has a good description of NIS and this particular problem. It is a complex problem that I am spending some time working on. It looks like my problem may be that an NIS master has not been created. [URL]. I am trying to share files and run remote desktop with XP machines on a local network. The lack of NIS server may be contributing to my difficulties.
View 1 Replies
View Related
Jun 28, 2011
I'm slowly coming to terms with Gnome 3 but one thing I can't get used to is using the "Windows Key".
For me it's a difficult key to use regularly. What I'd rather to is remap the "Switch between overview and desktop" action to alt-space, which I am used to from "Launchy" which I have been using in Windows for some time.
A couple of issues though - this is already mapping to "Activate the window menu". I never use it though. Are there any implications of remaping it?
Secondly, what is the command I need to map the key to, in order to emulate the Gnome 3 "Windows Key" behaviour?
View 3 Replies
View Related
Jul 20, 2011
I just wonder, is it possible (using Linux 2.6) to limit overhead done by ethernet interface to one specific core. Ie. I have core2duo CPU, and two ethernet interfaces: eth0 and eth1. Is it possible to move system load caused by packets comming on eth0 to CPU0, so the other core (CPU1) will be idle?
View 1 Replies
View Related
Jan 31, 2010
I've recently started using terminator. When using terminator, the delete key acts like backspace. in the ~/.config/terminator/config file I've tried:
Code:
delete_binding = ascii-del
and
[code]...
View 2 Replies
View Related
Jun 17, 2010
I have creates this brainstorm topic in regard with dual nature of MOD key and to allow the mod keys to behave as independent key also.
[URL]
View 1 Replies
View Related
Jun 24, 2010
i moved to 10.4 and would like to set a key-binding to the "window key" for "Hide all normal windows and set focus to the desktop". This option was possible in 9.04. No when i go to System > Preferences > Keyboard-Shortcuts and try to change the shortcut to the above function it does not accept the win-key as a shortcut.
View 2 Replies
View Related
Nov 23, 2010
I connect to my corporate LAN(dhcp) using a wired connection and also connect to a WLAN(dhcp) without various constraints applied by the wired connection. In short my wired connection blocks outbound ssh traffic to my server at home. My WLAN connection is pretty lax so ssh connections to my home webserver can be made using the wireless connection.Can I route ssh to that particular ip via my wireless connection?
View 1 Replies
View Related
Dec 3, 2010
I'm trying to migrate over to Ubuntu, and there is one really useful feature that I would like to replicate in Gnome. In Windows, I can hit the "Windows" key on my keyboard, which opens up the start menu.
Is there a way that I can replicate this behaviour in Gnome? Can I map the Windows key to opening the Applications menu?
View 6 Replies
View Related
Dec 21, 2009
My query is how to tag Linux server bonding interface what mode I use for bonding in prospective of interface tagging.
View 2 Replies
View Related
Feb 18, 2011
I'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).
My distro is Ubuntu 10.10 if that makes any difference.
I can bind the partitions perfectly manually using this as an example:
Code:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Code:
Are their subtleties with LVM that I do not understand?
Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).
my fstab:
Code:
View 3 Replies
View Related
Feb 14, 2009
I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443
Code:
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim
[code]....
here is the only part in the httpd.conf file that seems to have anything to do with this:
Code:
Listen 80
which from my understanding should make it listen on all interfaces, ipv4 and ipv6
View 8 Replies
View Related
Sep 13, 2010
I have a problem with GNOME and virtual desktops. I use Compiz, and when I use the keys to rotate the cube the cube will spin, but all the programs remain in the panel. It works if I manually press the buttons on the "Workspace Switcher" which I've included on my panel.can I create a key-binding for the Workspace Switcher so I don't have to press on the buttons on the panel?
View 1 Replies
View Related
Sep 2, 2010
I'm trying to execute X server (automatically), which will not bind to 0.0.0.0 (port 6000) - meaning X server will not listen on generic interface. If it's possible, I'd prefer X server not to listen at all (and communicate through other IPC if needed), is there a way to make it not listening at all? -nolisten flag or something like that? (and do it automatically, every reboot). Also, Is there a way to make X server bind to 127.0.0.1(localhost) instead of 0.0.0.0(generic interface)? It should be in one of the configuration files or the start-up command to run X.
View 1 Replies
View Related
May 27, 2010
I have 4 DSL modems connected with 4 different ISP's my scenario is
a) My FC-2 machine with LAN IP=192.168.10.1 and Bond0 IP=192.168.1.1
b) Modem-A LAN IP= 192.168.1.2 , ext IP=xxx.xxx.xxx.xxx
c) Modem-B LAN IP=192.168.1.3, ext IP=xxx.xxx.xxx.xxx
d) Modem-C LAN IP=192.168.1.4, ext IP=xxx.xxx.xxx.xxx
e) Modem-D LAN IP=192.168.1.5, ext IP=xxx.xxx.xxx.xxx
Modem-A, B, C, and D LAN connected with my FC-2 machine, and all 4 interfaces of my machine are in Bond0, Now please help me what default Gateway I should set in my FC-2 machine?>??? or I have to set 4 gateways in my machine?and will this configuration works?
View 1 Replies
View Related
Mar 31, 2010
Is it possible to bind a USB drive formatted in NTFS to a specific folder so when i open that folder i see the contents of the drive?
View 12 Replies
View Related
Jun 18, 2009
I am using using Red Hat Enterprise Linux ES release 3 (Taroon)
dhcp server ver: dhcp-3.0pl2-6.14
I am trying to bind macid 00-21-6B-A1-C9-4C & 00-15-00-1D-AD-57; but it give, when I start dhcp service, I get the following error messages. I am sure macid are absolutely correct. Following the error message I get.
Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2
Copyright 1995-2003 Internet Software Consortium. All rights reserved.
For info, please visit [URL]
/etc/dhcpd.conf line 2196: Bogus number: 00-21-6B-A1-C9-4C.
hardware ethernet 00-21-6B-A1-C9-4C;
Configuration file errors encountered -- exiting
View 3 Replies
View Related