[O] stty fails in babel sh blocks, workaround?

2015-04-08 Thread George Jones
I'm running some programs that expect to be able to get terminal settings via (python fragment): ioctl(1, termios.TIOCGWINSZ, ' '*8))ioctl(1, termios.TIOCGWINSZ, ' '*8)) however, sh code run under babel appears not to have the terminal device that's expected:

Re: [O] stty fails in babel sh blocks, workaround?

2015-04-08 Thread Sebastien Vauban
George Jones wrote: #+BEGIN_SRC sh :results output :exports both exec 21; date; set -e; # set -x; stty || true #+END_SRC FYI, `sh' gets replaced by `shell' in Org from master. That should hit MELPA in a couple of days or weeks. Best regards, Seb -- Sebastien Vauban