Skip to main content

Thread: I need help with pv cursor control


by default, pv uses carriage return no linefeed status display. collect stats output adding linefeed , redirecting file. pv has cursor control option, cannot recognize escape sequence.


why doesn't code capture stats foo.txt?
code:
pv a.mkv 2> foo.txt | mplayer -msglevel all=1 -
here "no such file or directory" error using escape code:
code:
pv -r -c '\033[1b' a.mkv | mplayer -msglevel all=1 -

quote posted xzero1 view post
by default, pv uses carriage return no linefeed status display. collect stats output adding linefeed , redirecting file. pv has cursor control option, cannot recognize escape sequence.


why doesn't code capture stats foo.txt?
code:
pv a.mkv 2> foo.txt | mplayer -msglevel all=1 -
it's in manual page. want use -f option:

code:
pv -f a.mkv 2> foo.txt | mplayer -msglevel all=1 -
here "no such file or directory" error using escape code:
code:
pv -r -c '\033[1b' a.mkv | mplayer -msglevel all=1 -
the -c option doesn't take argument, thinks '\033[b' file name. want achieve here?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] I need help with pv cursor control


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support