Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
107 user(s) are online (91 user(s) are browsing Forums)

Members: 2
Guests: 105

VooDoo, jabirulo, more...

Support us!

Headlines

 
  Register To Post  

Shell History Buffer
Quite a regular
Quite a regular


See User information
I have an unusual question.

Is it possible to save the shell history buffer to a file?

Also, correct me if I'm wrong, but the history buffer size can be increased, but can a person do it from a command right at the shell prompt?

Support Amiga Fantasy cases!!!
How to program: 1. Start with lots and lots of 0's. 10. Add 1's, liberally.
"Details for OS 5 will be made public in the fourth quarter of 2007, ..." - Bill McEwen
Whoah!!! He spoke, a bit late.
Go to top
Re: Shell History Buffer
Quite a regular
Quite a regular


See User information
@Atheist

Quote:

Is it possible to save the shell history buffer to a file?


And use it in the following sessions?
Nice feature to have. Afaik, it isn't there, but I would gladly stand corrected...

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: Shell History Buffer
Quite a regular
Quite a regular


See User information
Hi Jack,

Not just that, but I've often manually transferred SW to get it going or want some particular set up, and 20 commands later got it working, and then it's, write it all agian from memory, as I have only ever had 1.3.3 before my AmigaOne, and didn't have copy/paste to make it a BIT easier to do.

So, I figure a history dump to ASCII file, tidy it up, and I have a new script file easily ready to go!

Support Amiga Fantasy cases!!!
How to program: 1. Start with lots and lots of 0's. 10. Add 1's, liberally.
"Details for OS 5 will be made public in the fourth quarter of 2007, ..." - Bill McEwen
Whoah!!! He spoke, a bit late.
Go to top
Re: Shell History Buffer
Just popping in
Just popping in


See User information
@Atheist

There is a new command called "history" which lets you print out the current history, save to file, load from file and so on.

Take a look at Documentation/shell/shell.doc

Go to top
Re: Shell History Buffer
Quite a regular
Quite a regular


See User information
Hi Gazelle,

Tankyou!

That is so cool!!!!!

Is this new to AOS4.0?

Support Amiga Fantasy cases!!!
How to program: 1. Start with lots and lots of 0's. 10. Add 1's, liberally.
"Details for OS 5 will be made public in the fourth quarter of 2007, ..." - Bill McEwen
Whoah!!! He spoke, a bit late.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project