Ticket #2370 (new enhancement)

Opened 14 years ago

Last modified 6 years ago

Allow mcview to display from stdin

Reported by: jnovy Owned by:
Priority: minor Milestone: Future Releases
Component: mcview Version: 4.7.4
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Commands like 'cat myfile | mcview' doesn't work. It would be nice if one is able to use mcview instead of less for instance.

Attachments

2370_viewer_stdin_fix-0a.patch (5.2 KB) - added by keasy 13 years ago.
possible fix
2370_viewer_stdin_fix-0b.patch (5.2 KB) - added by keasy 13 years ago.
fixes formatting, uses fileno(stdin) instead of 0
2370_viewer_stdin_fix-1a.patch (5.6 KB) - added by keasy 13 years ago.
disables magic toggle for stdin input
2370_viewer_stdin_fix-2a.patch (6.5 KB) - added by keasy 13 years ago.
makes filename tests safer, removes "parse" button from display
2370_viewer_stdin_fix-3a.patch (6.5 KB) - added by keasy 13 years ago.
this version makes sure "-" file is openable from filemanager
2370_viewer_stdin_fix-3b.patch (6.4 KB) - added by keasy 13 years ago.
removes HAVE_UNISTD_H checks
2370_viewer_stdin_fix-3c.patch (6.5 KB) - added by Fatty 12 years ago.
Adopted for 4.8.1.1

Change History

comment:1 Changed 14 years ago by andrew_b

  • Priority changed from major to minor

Related to #2030.

Changed 13 years ago by keasy

possible fix

Changed 13 years ago by keasy

fixes formatting, uses fileno(stdin) instead of 0

Changed 13 years ago by keasy

disables magic toggle for stdin input

Changed 13 years ago by keasy

makes filename tests safer, removes "parse" button from display

Changed 13 years ago by keasy

this version makes sure "-" file is openable from filemanager

Changed 13 years ago by keasy

removes HAVE_UNISTD_H checks

comment:2 Changed 12 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases

Changed 12 years ago by Fatty

Adopted for 4.8.1.1

comment:3 Changed 11 years ago by andrew_b

  • Component changed from mc-core to mcview

comment:4 Changed 6 years ago by andrew_b

Branch: 2370_mcview_stdin
Initial changeset:99c6690ecdadc0801c885e345ab9b74508be029a

Note: See TracTickets for help on using tickets.