newLISP Fan Club

Forum => newLISP in the real world => Topic started by: hartrock on November 30, 2013, 09:24:33 AM

Title: [tip] pretty-print honoring terminal column width
Post by: hartrock on November 30, 2013, 09:24:33 AM
This should work under most (all?) Linux systems:

(setq tput_cols (exec "tput cols"))
(if tput_cols (pretty-print (- (int (tput_cols 0)) 11)))
;;
;; then try:
(symbols)