Search Results

Search: Posts Made By: DevuanFan
9,217
Posted By DevuanFan
I had tried that, but apparently pdksh there is...
I had tried that, but apparently pdksh there is no history command: 'history' is just an alias for 'fc -l'

So you're saying the "real" ksh has 'history' command with these flags? Nice! I'm...
9,217
Posted By DevuanFan
Thanks, bakunin. I'm new to the Korn shell, so...
Thanks, bakunin. I'm new to the Korn shell, so had no idea about these nuances. I see that ksh93 is in the OpenBSD package repository, so I'll install it and see how it's different from pdksh.
...
9,217
Posted By DevuanFan
Hi, bakunin. I'm finding that it is not so...
Hi, bakunin. I'm finding that it is not so simple. If I have ksh running in a terminal emulator and manually edit the history file while the emulator is running, lines that I add to the HISTFILE will...
9,217
Posted By DevuanFan
Thank you, Jim, that is a useful alias but not...
Thank you, Jim, that is a useful alias but not what I'm looking for. I'll try to explain it differently:

When I'm working, I often have multiple terminal emulators open at once. If I pick any one...
9,217
Posted By DevuanFan
I did try searching, but no luck. I guess nobody...
I did try searching, but no luck. I guess nobody using ksh as their interactive shell is as lazy as I am.

Hopefully one of the ksh experts will get back to me after holidays. In the meantime,...
9,217
Posted By DevuanFan
[ksh] how to reload history file without entering a command
I'm basically looking for the ksh equivalent of bash's PROMPT_COMMAND="history -r", where simply redrawing the command prompt in a terminal will cause ksh to reload the history file.

At the risk...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 03:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy