I am taking an "Intro to UNIX" class at school. The teacher has asked that we send him a copy of our .history files to show what steps we used to complete certain assignments. I was able to setup the history in my .profile by reading ksh(1), but after I rebooted and issued a few commands, I looked at the .hist???? file I created, but it doesn't look the way I expected.

It looks like this:

<<Iy [EMAIL PROTECTED]@[EMAIL PROTECTED] [EMAIL PROTECTED]@[EMAIL PROTECTED]@^Bls [EMAIL PROTECTED]@[EMAIL PROTECTED]@^Cvi .hist10512

This is all on one line.

I can decode it well enough. There is gibberish, then a letter (A,B,C, etc), then the command I put in.

Is there a way to configure ksh to make the commands display one command per line, or will I have to edit it manually.

I use bash on other machines, and .bash_history has each command on one line. I realize ksh isn't the same. Maybe I should build bash from ports...

Thanks for the help.  I love OpenBSD...
Bryan

Reply via email to