Well it hard to compete with the big guns,
Mark, you should have held them off so us little guys could have a chance.
I did tweak keith's code to follow the rules exactly though.
I can't tweak Stigs code. But It breaks the same rule.
(defun C:85Line (/ linelist ptpk p1 p2 p3 p4 ang len)
(setq ptpk (entsel "\Select line: ")
linelist (entget (car ptpk))
ptpk (cadr ptpk)
p1 (cdr (assoc 10 linelist))
p2 (cdr (assoc 11 linelist)) )
(if (> (distance p1 ptpk) (distance p2 ptpk))
(setq ptpk p1
p1 p2
p2 ptpk ) )
(setq p3 (polar p1
(setq ang (angle p1 p2))
(setq len (* (distance p1 p2) 0.85)) )
p4 (polar p3 (+ ang (angtof "90")) (/ len 2)) )
(entmake
(list (cons 0 "LINE") (cons 10 p3) (cons 11 p4) ) )
)