Frolic

I am getting this wired error when going for root "bash: [1658: 1 (255)] tcsetattr: Inappropriate ioctl for device " any idea or hint on this. ?