Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 11:12:27 -0400 (EDT)
From:      brownicm@netunlimited.net
To:        Malte Lance <malte@webmore.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, "Numard (Norberto Meijome)" <numard@smartmedia.com.ar>
Subject:   Re: Doskey?
Message-ID:  <XFMail.980715111227.brownicm@netunlimited.net>
In-Reply-To: <XFMail.980715113029.malte@webmore.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 15-Jul-98 Malte Lance wrote:
> 
> On 15-Jul-98 Numard (Norberto Meijome) wrote:
>> Andrew Specht wrote:
>>> It allows you to scan through your previous commands.
>> yup.... but only the last 50 (compare it to the last 500
>> in my unix box,
>> be it Linux or FreeBSD :))) One nice thing that WinNT
>> has in its shell
>> is when you press F7, a pop-up window shows up and you
>> can scroll
>> through 
On 15-Jul-98 Malte Lance wrote:
> 
> On 15-Jul-98 Numard (Norberto Meijome) wrote:
>> Andrew Specht wrote:
>>> 
>>> Doskey does the same thing as the .bash_history file if
>>> i remember
>>> correctly.
>>> 
>>> It allows you to scan through your previous commands.
>> yup.... but only the last 50 (compare it to the last 500
>> in my unix box,
>> be it Linux or FreeBSD :))) One nice thing that WinNT
>> has in its shell
>> is when you press F7, a pop-up window shows up and you
>> can scroll
>> through the history and select w/<enter> what you want.
>> But you can work
>> your way around with ~/.bash_history
> 
> Then try <CTRL>-r and type some chars. It'll scan through
> the history and
> update the result depending on your search-pattern.
> 
> Additionally try setting "export HISTSIZE=200000" in your
> ~/.bashrc or
> ~/.bash_profile to get 200000 lines of typed history.
> Increment to your
> desire or machine-limits.
> 
> Malte.
> 
>> -- 
>> Norberto Meijome (a) Numard, (a) Beto | ICQ # 15032073
>>  * Contrary to popular belief, Unix is user friendly. It
>>  just happens to
>> be very selective about who it decides to make friends
>> with.
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the
>> message
> 
> ----------------------------------
> E-Mail: Malte Lance <malte@webmore.com>
> Date: 15-Jul-98
> Time: 11:26:58
> ----------------------------------
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the
> message
the history and select w/<enter> what you want.
Microsoft's Visual FoxPro database mgr uses a command line
a lot and has the same thing. They call it a command window
(duh). Slickest thing I ever saw (well, almost). Scroll up,
click the command, hit enter. It beats the pants off doskey
or history. You don't even have to be at the beginning of
the line. I've been toying with it as my very first
programming project in X. 
>> But you can work
>> your way around with ~/.bash_history
> 
> Then try <CTRL>-r and type some chars. It'll scan through
> the history and
> update the result depending on your search-pattern.
> 
> Additionally try setting "export HISTSIZE=200000" in your
> ~/.bashrc or
> ~/.bash_profile to get 200000 lines of typed history.
> Increment to your
> desire or machine-limits.
> 
> Malte.
> 
>> -- 
>> Norberto Meijome (a) Numard, (a) Beto | ICQ # 15032073
>>  * Contrary to popular belief, Unix is user friendly. It
>>  just happens to
>> be very selective about who it decides to make friends
>> with.
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the
>> message
> 
> ----------------------------------
> E-Mail: Malte Lance <malte@webmore.com>
> Date: 15-Jul-98
> Time: 11:26:58
> ----------------------------------
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the
> message

Chris Browning

brownicm@netunlimited.net

"If you believe in Nothing...
        Honey, It believes in you."

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980715111227.brownicm>