Sponsored Content
Full Discussion: History and AutoComplete
Top Forums Shell Programming and Scripting History and AutoComplete Post 78466 by fermisoft on Wednesday 20th of July 2005 12:08:18 AM
Old 07-20-2005
Perderabo,

I found it more useful. As I'm practised to vi mode, I will utilize both the features in that mode. Thanks for ur efforts
 

10 More Discussions You Might Find Interesting

1. Linux

autocomplete - bash

Hi all I have installed Red Hat Linux Advanced Server 2.1 onto a Proliant DL580 (dual XEON 2.8GHz processors). The bash shell is not autocompleting filenames/directorynames when I hit escape twice. History (via Ctrl+r works). Is there a setting somewhere to enable this? Thanks. (2 Replies)
Discussion started by: saabir
2 Replies

2. UNIX for Dummies Questions & Answers

ksh autocomplete; f-secure/ssh character mapping

I'm coming from a c-shell environment where I was spoiled with the tab completion on the command line, only to find that using korn-shell I don't have this capability. The only thing I can find by googling is to use 'set filec' - but that doesn't work (and I think is only for c-shell anyway). ... (0 Replies)
Discussion started by: uacheesehead
0 Replies

3. UNIX for Dummies Questions & Answers

How to configure the AutoComplete Command

Hello All, I'm using the Solaris 8 and I'd like to know how to configure my KSH to use the double ESC to complete the command automatically. Do you know how do it?? thanks. rgs, Paulo (1 Reply)
Discussion started by: PAulo Trombetta
1 Replies

4. Shell Programming and Scripting

Shell Path Autocomplete w/ Variables

Suppose there exists a file, "/home/andrew/product/test". And suppose I set $FOO to "/home/andrew/product/"? I can't seem to type "$FOO/t" and then Escape (csh) in order to autocomplete. Is this possible in other shells? If not, then why? If so, then why can't csh do it, and how can I make... (1 Reply)
Discussion started by: acheong87
1 Replies

5. UNIX for Dummies Questions & Answers

VIM, autocomplete before a word

Hi there, I'm learning PHP now. $var_name is how to declare a variable. I was wondering if there is any convenient way in vim to autocomplete the dollar sign($) before a word. Something like, after typing var_name, then press some key, for example Tab, to automatically add a doller sign... (4 Replies)
Discussion started by: hz_i3
4 Replies

6. Solaris

autocomplete Path on UNIX (TRU64)

Hi, i need autocmplete file_name/dir_name by TAB key. I work on UNIX (TRU64) and I just tried to type on .profile this setting: set autolist but it doesn't work. I think it is because this command doesn't belong to this UNIX version (sure it works for example on HP-UX). I need to set it... (0 Replies)
Discussion started by: D4vid
0 Replies

7. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

8. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

9. Shell Programming and Scripting

Tcsh complete (autocomplete) script

I cant figure out how the complete function works in tcsh. 1. I whould like it to complete after writing my_program.py with either start or stop. I have tried to do something like this in .cshrc.user: complete my_program.py \ 'c/start/' \ 'c/stop/' However i cant get it to... (1 Reply)
Discussion started by: mr_cad
1 Replies

10. Shell Programming and Scripting

Cp command autocomplete

Hi I'm still new around bash and Ubuntu, but I was expecting for the "cp" command to have an autocomplete feature like the ls command. Should it, or I'm assuming too much? In case it doesn't have by default, is there a way to enable it? Cheers (2 Replies)
Discussion started by: blackfox2015
2 Replies
Devel::REPL::Plugin::ReadLineHistory(3pm)		User Contributed Perl Documentation		 Devel::REPL::Plugin::ReadLineHistory(3pm)

NAME
Devel::REPL::Plugin::ReadLineHistory - Integrate history with the facilities provided by Term::ReadLine DESCRIPTION
This plugin enables loading and saving command line history from a file as well has history expansion of previous commands using the !-syntax a la bash. By default, history expansion is enabled with this plugin when using Term::ReadLine::Gnu. That means that "loose" '!' characters will be treated as history events which may not be what you wish. To avoid this, you need to quote the '!' with '': my $var = "foo!"; or place the arguments in single quotes---but enable the "Term::ReadLine" attribute "history_quotes_inhibit_expansion": $_REPL->term->Attribs->{history_quotes_inhibit_expansion} = 1; my $var = 'foo!'; and to disable history expansion from GNU readline/history do $_REPL->term->Attribs->{do_expand} = 0; CONFLICTS
Note that Term::ReadLine::Perl does not support a history expansion method. In that case, you may wish to use the Devel::REPL History plugin which provides similar functions. Work is underway to make use of either History or ReadLineHistory consistent for expansion with either the Term::ReadLine::Gnu support or Term::ReadLine::Perl. perl v5.14.2 2010-06-13 Devel::REPL::Plugin::ReadLineHistory(3pm)
All times are GMT -4. The time now is 11:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy