How's about using the script program?:-

 [root@rh6]script
Script started, file is typescript
[root@rh6]make zImage
blah..
blah...
blah..
***make(1) (vmlinux)error1
[root@rh6] exit
exit
Script done, file is typescript
[root@rh6] vi typescript


For further details "man script"

hih
nick@nexnix

Reply via email to