devel::repl::plugin::readlinehistory(3pm) [debian man page]
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)
Check Out this Related Man Page
Devel::REPL::Plugin::Nopaste(3pm) User Contributed Perl Documentation Devel::REPL::Plugin::Nopaste(3pm)NAME
Devel::REPL::Plugin::Nopaste - #nopaste to upload session's input and output
COMMANDS
This module provides these commands to your Devel::REPL shell:
#nopaste
The "#nopaste" sends a transcript of your session to a nopaste site.
#pastetitle
The "#pastetitle" command allows you to set the title of the paste on the nopaste site. For example:
"#pastetitle example of some code"
defaults to 'Devel::REPL session'
CONFIGURATION
nopaste_format
The format sent to the nopaste server can be adjusted with the "nopaste_format" option. By default, the output of each perl statement is
commented out, and the perl statements themselves are not. This can be reversed by setting the "nopaste_format" attribute to "comment_code"
like this in your re.pl file:
"$_REPL->nopaste_format( 'comment_code' );"
The default of commenting out the output would be set like this:
"$_REPL->nopaste_format( 'comment_output' );"
These options can be set during a Devel::REPL session, but only affect the future parts of the session, not the past parts.
AUTHOR
Shawn M Moore, "<sartak at gmail dot com>"
CONTRIBUTORS
Andrew Moore - "<amoore@cpan.org>"
perl v5.14.2 2010-05-08 Devel::REPL::Plugin::Nopaste(3pm)
Hi I am new here.Hope this has not been already posted.I searched,but couldn't find.
I am currently learning and using lots of new bash commands,I even check sites and try out commands,or visit folders like /usr/bin and /bin etc and just man many of them and try them.
The thing is..I forget some... (7 Replies)
Hi...
i have one doubt pls...
1)can we clear the command line history in UNIX for a paricular login(scadm/root)if so how?.
2) can we see the time at which command executed.
history is showing like :
100 display
101 lock
102 exit (7 Replies)
Example:
I have folders
456
abc
xyz
123
a1b
I dont want to find in 123 and a1b. From rest folder i need to find in html and php files.
find ./ -path "123" -prune and a1b
find ./ -iname "*.htm*" -o -iname "*.shtm*" -o -iname "*.php"
Now while finding i need to grep multiple... (7 Replies)
Is it possible to use the keyboard UP ARROW in place of k to recall history? If so, how/what do I need to do change terminal emulation, etc.?
TIA,
George (7 Replies)
Hi,
Just wanted to know if anyone else has noted that the time-stamp in the history is all out of whack.:eek:
I've Ubuntu, all patched, and when I ran history, it showed me commands that I ran few weeks ago with today's date. Is this normal?
Here is a snippet:
....
85 2010-06-09 09:03:31... (6 Replies)
Hello All, Good Morning.
I am trying to erase history list in my linux box, but my below command is failing. What is the actual way to clear it?
> history clear
-bash: history: clear: numeric argument required
Also when I run my commands in my command prompt, my team lead can see my... (7 Replies)
Dear All,
I need to restrict the users in our server.
1.History & history -c command working all groups & others.So i need to restrict history -c option for groups & others .
2.Any option available to view user activity with all
Eg--->user1 Jul22 10:20:11 date
3.Any other Special... (7 Replies)
Hi all
My first post here. I've been told certain things regarding HP-UX's .sh_history file which I'm not so sure I agree with completely.
These things are that the history file gets flushed on every clean shell exit (plausible, but I doubt it seeing as there are more than 11 thousand lines... (9 Replies)
I am trying to get my history in sync in multiple bash sections and things aren't working the way I expect.
Desired behavior, hitting esc-K in all bash sessions (same userid and machine) will use the same history.
Observed behavior: Esc-k shows the history of the current session, rather than... (8 Replies)
hi
i want to show my history command in UNIX solaris ( bash shell ),,
i tried this command ( HISTTIMEFORMAT="%d/%m/%y %T " )
but it's not working with me ,, is there any restricted condition to do this command
any one know why it's not working to me ..
thanks (10 Replies)
Hello,
I'd want to know who and what time has modified a file in unix (history). I'd like to know all people who has modified a file.
Thanks in advance (6 Replies)
This is for the big guns...
I have been modifying AudioScope.sh to bring it inline with more current practices.
I hit a bug which IS not present in the original code but was after modification.
Shell check first:-
#!/bin/sh
txt="1234567890"
echo "$(( $txt ))"
echo "$(( ${#txt} - 1 ))"
echo... (17 Replies)
why in solaris 10 I do not get history when I have the role as root?
computer.root > history
I get history:not found
I am in computer.root > echo $SHELL
/bin/sh
computer.root >
how can I see roots history in the sh shell?
but in other shells I can only see my... (6 Replies)
Dear All,
Taking a break from Vue.js coding for the site, SEO and YT videos; and hopefully addressing some well deserved criticism from some here that I have been too focused on the visual aspects of the forums versus the substance and the community....
While the "current generation... (9 Replies)
I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX.
The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)