bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: History Feature issue


From: Pranav Deshpande
Subject: Re: History Feature issue
Date: Mon, 22 May 2017 15:57:34 +0530

Thank you.
It seems that there is no read to implement this feature. Could you suggest
me some bug so that I can get started?
Something which is simple for a beginner?

Regards,
Pranav.

On Mon, May 22, 2017 at 3:06 AM, Eduardo Bustamante <address@hidden>
wrote:

> On Sun, May 21, 2017 at 11:29 AM, Pranav Deshpande
> <address@hidden> wrote:
> > The lssue here: https://savannah.gnu.org/support/?109000 interests me.
> > It's something that I have experienced while using the shell. I am
> > interested in solving it
>
> That bug report lacks detail. There are already ways of sharing
> history between multiple sessions. Some of the alternatives are
> outlined here: https://unix.stackexchange.com/questions/1288/preserve-
> bash-history-in-multiple-terminal-windows
>
> Give these a try first.
>
> > Any ideas so as how can I get started with the code base?
>
> If you're interested in the implementation, review:
>
> address@hidden:~/src/gnu/bash$ head -n1 bashhist.c builtins/history.def
> ==> bashhist.c <==
> /* bashhist.c -- bash interface to the GNU history library. */
>
> ==> builtins/history.def <==
> This file is history.def, from which is created history.c.
>
> And if you want to go into even more detail, review the history
> library as implemented by GNU readline (and bundled with bash):
>
> address@hidden:~/src/gnu/bash$ head -n1 lib/readline/hist*c
> ==> lib/readline/histexpand.c <==
> /* histexpand.c -- history expansion. */
>
> ==> lib/readline/histfile.c <==
> /* histfile.c - functions to manipulate the history file. */
>
> ==> lib/readline/history.c <==
> /* history.c -- standalone history library */
>
> ==> lib/readline/histsearch.c <==
> /* histsearch.c -- searching the history list. */
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]