[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wondering about the print out function of PS



Hi,
  The output of `ps`, is trunked by the width of the terminal, without
wrapping like `ls`.
  I looked into the source of output, confused by the code.
  May I have some clue here? How does `ps` know the width of the
terminal, or I was mislead, `ps` prints over the behavior of printf
()?
-- 
竹密岂妨流水过
山高哪阻野云飞


Reply to: