Bug#333423: linphonec doesn't like Ctrl-D

2005-10-24 Thread Simon Morlat
Thanks a lot. I 've merged it into cvs. Simon Le Jeudi 20 Octobre 2005 17:17, wieseltux23 a écrit : >  if(fgets (input, LINE_MAX_LEN-1, stdin)) > > >+  {    > >+  run=linphonec_parse_command_line(&linphonec,input); > >+  printf("linphonec> "

Bug#333423: linphonec doesn't like Ctrl-D

2005-10-20 Thread wieseltux23
Martin Samuelsson wrote: >This bug is because linphonec_parse_command_line() is passed a string in >cl even when fgets() in linphonec_main_loop() returns NULL; > >A simple fix is attached. It makes the application exit cleanly if >that fgets() return zero, or giving a Ctrl-D alone as a command end

Bug#333423: linphonec doesn't like Ctrl-D

2005-10-19 Thread Martin Samuelsson
This bug is because linphonec_parse_command_line() is passed a string in cl even when fgets() in linphonec_main_loop() returns NULL; A simple fix is attached. It makes the application exit cleanly if that fgets() return zero, or giving a Ctrl-D alone as a command ends the program. There are at le

Bug#333423: linphonec doesn't like Ctrl-D

2005-10-12 Thread Elrond
On Tue, Oct 11, 2005 at 11:40:38PM +0200, Samuel Mimram wrote: > % linphonec > Ready. > ' : Cannot understand this. ^ | Your terminal ate part of the weird characters. Run it in "script". I've attached my run from inside script to this mail. (The "ESC [ ." and "^M" are terminal control char

Bug#333423: linphonec doesn't like Ctrl-D

2005-10-11 Thread Samuel Mimram
Elrond wrote: Package: linphone-nox Version: 1.1.0-2 Install linphone-nox, start "linphonec", press Ctrl-D (the usual EOF key to get out of interactive shell-like programms) gives weird characters. Which weired characters? If I press Ctrl-D, I only get: % linphonec Ready. ' : Cannot understan

Bug#333423: linphonec doesn't like Ctrl-D

2005-10-11 Thread Elrond
Package: linphone-nox Version: 1.1.0-2 Install linphone-nox, start "linphonec", press Ctrl-D (the usual EOF key to get out of interactive shell-like programms) gives weird characters. Elrond -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [E