search for: inputrc

Displaying 20 results from an estimated 52 matches for "inputrc".

2010 Feb 19
3
CentOS and Bash History
Hi, I was wondering if bash or inputrc has changed form CentOS v4 to CentOS v5? Reason I ask is at the bash cli I can type, for example 'su' and then with the up and down arrows I can scroll through my history and will only see the commands that begin with 'su'. In CentOS 5 this isn't the case. I have added som...
2003 Sep 18
1
2.2.8a newbie path problem
...r/X11R6/bin" fi if [ "$UID" -ge 500 ] && ! echo ${PATH} |grep -q /usr/games ; then export PATH=$PATH:/usr/games fi umask 022 USER=`id -un` LOGNAME=$USER MAIL="/var/spool/mail/$USER" HISTCONTROL=ignoredups HOSTNAME=`/bin/hostname` HISTSIZE=1000 if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then INPUTRC=/etc/inputrc fi # some old programs still use it (eg: "man"), and it is also # required for level1 compliance for LI18NUX2000 NLSPATH=/usr/share/locale/%l/%N export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH export HI...
2005 Feb 02
1
Hangup detection with TDM400 in UK
When a caller hangs up (e.g. after leaving a voicemail), my British Telecom exchange sends a continuous tone for about 15s and then silence. I can't get asterisk to recognise this tone as a hangup indication. I have tried indications.conf with both country=uk and country=us. My zapata.conf has busydetect=yes, callprogress=yes and I've tried setting busycount from 1 through 7 I am using
2019 Oct 23
2
issues with Asterisk CLI
...rl"+"w" should delete the last word backward. But the CLI deletes whole line (same as "ctrl" + "u"). Also, I would like to be able to use the "PageUp" and "PageDown" for history-search-forward/backward, as I can use in Bash (defined in my /etc/inputrc). In short, I would like to be able to modify the asterisk CLI line editing capabilities Does Asterisk use the readline library? Does it use /etc/inputrc ? Can the behavior described above be configured ? 2) I would like to be able to change the color of the asterisk prompt as described here: h...
2014 Jun 11
0
[PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
...open a tty as a controlling tty, you can't call setsid as pid 1. The hack that I got to work (for reference, I'm using this for raw kernel testing qemu-kvm) is: kernel command line: init=/boot/mz-boot.sh $ cat /boot/mz-boot.sh #!/bin/bash main() { echo 'Init (hostname, HOSTNAME, INPUTRC, HOME, LOGNAME, USER, USERNAME, BASH_ENV, TERM, proc, fsck)' hostname linuxvm export HOSTNAME=linuxvm export INPUTRC=/etc/inputrc export HOME=/root export LOGNAME=root export USER=root export USERNAME=root export BASH_ENV=/root/.bashrc export TERM=xterm mount -t proc proc /p...
2001 May 17
0
Patch: Set SSH_AUTHKEY to key id used to authenticate.
...of the connection. For example, if I log in as root on a box, I'd like to be able to configure vi-specific settings, while another user may prefer to have emacs. Originally I had thought about doing it with environment variables. Set it up with: SSH_PROPOGATE_ENV="SSH_PROPOGATE_ENV INPUTRC REMOTE_USER" INPUTRC="$HOME/.inputrc-vi" REMOTE_USER="jafo" Something like that. Obviously, there are some problems with "$HOME" getting expanded on the client side, but worst case you could use REMOTE_USER in the .profile. Basing it on the key id seemed...
2004 Nov 25
2
logistic regression and 3PL model
Hello colleagues, I am a novice with R and am stuck with an analysis I am trying to conduct. Any suggestions or feedback would be very much appreciated. I am analyzing a data set of psi (ESP) ganzfeld trials. The response variable is binary (correct/incorrect), with a 25% base rate. I've looked around the documentation and other online resources and cannot find how I can correct for
2016 Apr 20
2
Backspace key does not work in a ssh chroot jail
...o login, use ls and use scp which is all I really want. I do have a problem I cannot solve: when connected and navigating the filesystem, the backspace key actually moves the cursor forward and does not delete what I type. I may have found a hint from some googling that readline will read in /etc/inputrc on login but if this is true, I am unsure what component of readline might I require to copy over from the live system into the chroot jail. For reference, I include the tree view of the chroot jail I created below. Thank you kindly for any suggestions. % tree -a /var/jail /var/jail ??? .bashrc...
2014 Jun 11
3
[PATCH] isatty(): use TCGETS instead of TIOCGPGRP, like dietlibc does
H. Peter Anvin dixit: >But is that really a tty, then? I also understand that virtio console Hm. Both eglibc and dietlibc return true for isatty on it. >doesn't support termios, which makes this an ugly bifurcation. All of Let me test that? quick? hah not really (CONFIG_VIRTIO_CONSOLE=m)? ok luckily Ubuntu?s linux-image-3.15.0-5-generic is installable on Debian stable and has
2008 Apr 07
2
problem with Rmpi 0.5-5 and openmpi
...arman PATH=/opt/openmpi/bin:/opt/sge/bin/lx24-amd64:/opt/mpich/1.2.6..14b/x86_64/gcc//bin:/opt/gm/2.1 .21/2.6.11-21smp/bin:/opt/c3-4:/home/pearman/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/u sr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/pathscale/bin CPU=x86_64 JAVA_BINDIR=/usr/lib/jvm/java/bin INPUTRC=/etc/inputrc PWD=/home/pearman JAVA_HOME=/usr/lib/jvm/java LANG=en_US.UTF-8 PYTHONSTARTUP=/etc/pythonstart SGE_ROOT=/opt/sge SDK_HOME=/usr/lib/jvm/java C3_RSH=ssh TEXINPUTS=:/home/pearman/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX JDK_HOME=/usr/lib/jvm/java SHLVL=1 HOME=/home/pearman LESS_ADVANCED_PREP...
2005 Jul 25
2
[LLVMdev] How to partition registers into different RegisterClass?
...d %Vec4 v1, c1 %r2 = mul %Vec4 v1, c2 %o1 = mul %Vec4 r2, v2 // write the output register 'o1' I planed to partition the register into different RegisterClass: input, output, general purpose, constant, etc. def GeneralPurposeRC : RegisterClass<packed, 128, [R0, R1]>; def InputRC : RegisterClass<packed, 128, [V0, V1]>; def ConstantRC : RegisterClass<packed, 128, [C0, C1]>; def ADDgg : BinaryInst<0x51, ( ops GeneralPurposeRC :$dest, ope GeneralPurposeRC :$src), "add $dest, $src">; def ADDgi : BinaryInst<0x52, ( ops GeneralPurpose...
2015 Jan 25
1
customizing Asterisk CLI
...sk CLI, I can use command history and readline functions such as CTRL+r to search. But not all functions are available. For example, the alternate mappings for "page up" and "page down" to search the history do not work. They work in everything else (bash, mysql, ..) $ cat /etc/inputrc "\e[5~": history-search-forward "\e[6~": history-search-backward is there a way to make it work in asterisk ? I am using Asterisk 11.13 on Debian Wheezy.
2007 Sep 24
2
asterisk cli - vi keybindings ?
...to my fingers and using different bindings, like the arrow keys to fetch previous lines, really blows me !... :-( Is there any way to setup the asterisk cli to use such keybindings ? I took a quick glance at 1.4.11 source and found readline.[ch] files, but asterisk is not behaving to my inputrc configuration... Googled for a while to no effect. Am I alone in this ? Thanks in advance for any hint, -- exvito
2010 Aug 09
1
R readline not honoring RCustomCompletion
...h/pipermail/r-help/2008-September/173828.html https://stat.ethz.ch/pipermail/r-help/2009-May/197360.html Looking at the source in src/unix/sys-std.c, it seems that the definition of rl_readline_name as "RCustomCompletion" is made after the readline library has been initialized and the ~/.inputrc file has been read. Typing "C-x C-r" at the R prompt makes the definitions under "$if RCustomCompletion" work, but this is not what one expects the R users to do. Attached below is the trivial patch that seems to fix the problem. Best regards, Rafael Laboissiere -------------...
1997 Jun 12
1
R-alpha: ISO Latin1 and Readline
Does anyone have experience with using the readline library in conjunction with ISO Latin1 characters? In response to a prod from Martin Maechler I am trying to convert R so that it will accept 8-bit characters (and render them correctly in text and graphics). This appears to work when I type such lines into a file and source it, but readline seems to intercept any 8-bit characters I type
2008 Jan 06
1
tomcat still sees jvm version 1.4.2 in Cent OS 5
...="i686-redhat-linux-gnu") BASH_VERSION='3.1.17(1)-release' COLORS=/etc/DIR_COLORS.xterm COLUMNS=80 CVS_RSH=ssh DIRSTACK=() EUID=0 GROUPS=() G_BROKEN_FILENAMES=1 HISTFILE=/root/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/root HOSTNAME=app2 HOSTTYPE=i686 IFS=$' \t\n' INPUTRC=/etc/inputrc JRE_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre LANG=en_US.UTF-8 LESSOPEN='|/usr/bin/lesspipe.sh %s' LINES=24 LOGNAME=root LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:...
1998 Jan 17
1
R-beta: command-line editing not working in Debian Linux version
...ry). Perhaps this was an oversight, or perhaps command-line editing has yet to be added. I notice that for vi editing style one ought to set (in "bash" shell) export S_CLEDITOR=vi however, hopefully, the readline [not the S/R readline() function, but the readline library] file ~/.inputrc parameters would work to set "vi" mode and other readline parameters (if the readline library gives this command line functionality in R, that is). -- Jim Burt, NJ9L, Fairfax, Virginia, USA jameson at mnsinc.com http://www.mnsinc.com/jameson jameson at pressroom.com "It is...
2020 Oct 30
3
SSH client and bracketed paste mode
Hello list, Using a terminal with bracketed paste mode (see [0], [1]), I am not able to paste text while being in the "~C" command line mode. The reason for that is, that while being in that special mode, openssh-client attempts to interpret the special bracketed paste start escape sequence, which does not work: root at localhost:~# ssh> ^[[200~-L
2005 Feb 26
2
Wierd asterisk-perl compilation problem
I am running a fully updated Fedora Core 3 server, and installed a pretty thin system, and have just installed packages as needed. My problem is that I am trying to get asterisk-perl installed, but it keeps segmentation faulting on me. I know a little python but perl baffles me. # perl Makefile.PL Segmentation fault ==========Strace============
2005 Jul 23
0
[LLVMdev] How to partition registers into different RegisterClass?
On Sat, 23 Jul 2005, Tzu-Chien Chiu wrote: > 2005/7/23, Chris Lattner <sabre at nondot.org>: >> What does a 'read only' register mean? Is it a constant (e.g. returns >> 1.0)? Otherwise, how can it be a useful value? > > Yes, it's a constant register. > > Because the instruction cannot contain an immediate value, a constant > value may be stored in