quadric from terminal