What is audio/x-wav D)download or C)cancel anyway?

2013-09-02 Thread Theodore Kilgore

and why do I get a black screen with this mysterious message at the bottom 
when I am attempting to play a WAV file in MC running in a terminal (not 
in X!)? And, of course, I just get this message, no music. What in the 
world is happening, here?

Just upgraded to Slackware Current on my old eeepc netbook, decided to 
play a piece of music afterward to relax, and I confronted this.


I looked into the extension editor, and it says about wav files and other 
sound files that it follows what is in /usr/libexec/mc/ext.d/sound.sh

That file does not seem to contain anything of the kind. It says it is 
going to use play in the terminal (which is what I expected) and it says 
it wants to use xmms in X. But nowhere that I could think of looking did 
I find any message resembling what is above. And what could it conceivably 
have to do with opening a WAV file which is on my hard drive, not 
somewhere else, and wanting to do the obvious which is to play it?

This is totally weird.

___
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


How screen content saving handled in xterm case?

2013-09-02 Thread Paul Sokolovsky
Hello,

Yesterday I spent couple of hours trying to trace how shell screen
content is working in case of xterm terminal. While handling in case of
linux console is very visible, and otherwise there're some checks for
xterm/rxvt stuff, but I couldn't find exact escape sequence(s)/exact
place where saving is done in case of xterm.

I also tried to approach it from the other side, by looking at xterm
escape sequences docs, http://www.xfree86.org/current/ctlseqs.html ,
and neither could find something which is clearly usable for screen
saving, like command read char/rect.

So, any hints how that magic is done? What I'm trying to do is to
figure out why Android terminal emulators don't save screen content
with mc.


Thanks,
 Paul  mailto:pmis...@gmail.com
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: How screen content saving handled in xterm case?

2013-09-02 Thread Egmont Koblinger
I think you're looking for alternate screen buffer.

egmont


On Mon, Sep 2, 2013 at 11:39 AM, Paul Sokolovsky pmis...@gmail.com wrote:

 Hello,

 Yesterday I spent couple of hours trying to trace how shell screen
 content is working in case of xterm terminal. While handling in case of
 linux console is very visible, and otherwise there're some checks for
 xterm/rxvt stuff, but I couldn't find exact escape sequence(s)/exact
 place where saving is done in case of xterm.

 I also tried to approach it from the other side, by looking at xterm
 escape sequences docs, http://www.xfree86.org/current/ctlseqs.html ,
 and neither could find something which is clearly usable for screen
 saving, like command read char/rect.

 So, any hints how that magic is done? What I'm trying to do is to
 figure out why Android terminal emulators don't save screen content
 with mc.


 Thanks,
  Paul  mailto:pmis...@gmail.com
 ___
 mc-devel mailing list
 https://mail.gnome.org/mailman/listinfo/mc-devel

___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel


Re: How screen content saving handled in xterm case?

2013-09-02 Thread Paul Sokolovsky
Hello,

On Mon, 2 Sep 2013 11:44:42 +0200
Egmont Koblinger egm...@gmail.com wrote:

 I think you're looking for alternate screen buffer.

Holy cow! Yeah, I saw this, but nowhere the docs says that content is
saved in these buffers when switching. And trying it, when switching
from normal to alt then back to normal, normal's content is saved. But
from alt to normal, back to alt, alt's content is lost (buf cleared).
Holy cow!

Whoever will bang their head on this, the sequences to try in shell are:

Switch to alt buffer:
echo -e \E[?47h

Back to normal:
echo -e \E[?47l

In mc, this is handled in win.c do_enter_ca_mode(), do_exit_ca_mode(),
which are of course very insightful names for this kind of stuff.


Thanks much!


 
 egmont
 
 
 On Mon, Sep 2, 2013 at 11:39 AM, Paul Sokolovsky pmis...@gmail.com
 wrote:
 
  Hello,
 
  Yesterday I spent couple of hours trying to trace how shell screen
  content is working in case of xterm terminal. While handling in
  case of linux console is very visible, and otherwise there're some
  checks for xterm/rxvt stuff, but I couldn't find exact escape
  sequence(s)/exact place where saving is done in case of xterm.
 
  I also tried to approach it from the other side, by looking at xterm
  escape sequences docs, http://www.xfree86.org/current/ctlseqs.html ,
  and neither could find something which is clearly usable for screen
  saving, like command read char/rect.
 
  So, any hints how that magic is done? What I'm trying to do is to
  figure out why Android terminal emulators don't save screen content
  with mc.
 
 
  Thanks,
   Paul  mailto:pmis...@gmail.com
  ___
  mc-devel mailing list
  https://mail.gnome.org/mailman/listinfo/mc-devel
 



-- 
Best regards,
 Paul  mailto:pmis...@gmail.com
___
mc-devel mailing list
https://mail.gnome.org/mailman/listinfo/mc-devel