Hacker News new | past | comments | ask | show | jobs | submit login

I really like this, but I wish it would have some kind of linewrapping support to avoid messages like this:

$ mdp README.md Error: Terminal size 120x41 too small. Need at least 355x97.




If that's actually an issue, couldn't you just wrap the output in par [1] ?

[1] http://en.wikipedia.org/wiki/Par_(command)


Nope.. It seems to use ncurses for terminal emulation. I did try, though:

  $ mdp README.md | par
  Error: Terminal size 211x55 too small. Need at least 355x97.


Sorry, that's my mistake. I meant inserting it in mdp itself, as I thought mdp was a shell script. As mdp is written in C my suggestion doesn't apply.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: