Hugues Moretto-Viry dixit:
>About IRC, I left because my network is unstable. :(
Ah, okay.
>This solution is perfect. I looked "man print" from ksh and now I know a
>solid alternative for my scripts.
You’re welcome.
>Yes. I saw this line when I searched PS1 in the man. I included a picture
>which shows what I was talking about.
Ah, I see.
At the moment, it’s not possible to execute any code between pressing
Enter on an interactive command line and that command being executed,
which is, what I guess, what you’re doing with the DEBUG trap.
I’ll put this as wishlist item.
>You proposed nicely me to convert my bash PS1, so here the "magic" line :)
If you still want this converted, I’ll do it, just say so.
I suggest to just echo \e[0m at the end of PS1, which will
have the least visual changes to your current scenario.
bye,
//mirabilos
PS: Feel free to re-bounce these mails to the mailing list,
there’s nothing private in here I guess.
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2