Re: My Mickeyterm/Ctrl-z Headache

2008-11-30 Thread Joerg Reisenweber
Ctrl-D is a shortcut for exit *only* when given at start of line.
Generally Ctrl-D is ETX what's exactly what I would expect for end of SMS

/j



Am So  30. November 2008 schrieb VictorSigma:
 
 CTRL-D is to terminate out of mickeyterm and cant be used to signal out of
 sms.
 
 
 Joachim Ott-2 wrote:
  
  2008/11/29 VictorSigma [EMAIL PROTECTED]
  
 
  I am using the FSO release. I have been able to ssh into the phone and
  with
  mickeyterm able to send AT commands to read and delete SMS messages. The
  problem is that when I try to send a SMS message you must hit CTRL-Z to
  signal the termination of the message. This is also the command to pause
  a
  command in FSO and it won't allow me terminate the message. Is there
  anyway
  to get around this? Has anyone been able to send a SMS message via shell
  using mickeyterm?
  
  
  Are you sure that it's not Ctrl-d to signal termination? Ctrl-z was it in
  good old msdos.
  
  ___
  support mailing list
  support@lists.openmoko.org
  https://lists.openmoko.org/mailman/listinfo/support
  
  
 
 -- 
 View this message in context: 
http://n2.nabble.com/My-Mickeyterm-Ctrl-z-Headache-tp1593123p1594265.html
 Sent from the Openmoko Support mailing list archive at Nabble.com.
 
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 




signature.asc
Description: This is a digitally signed message part.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: My Mickeyterm/Ctrl-z Headache

2008-11-30 Thread Joachim Ott
2008/11/30 Joerg Reisenweber [EMAIL PROTECTED]

 Ctrl-D is a shortcut for exit *only* when given at start of line.
 Generally Ctrl-D is ETX what's exactly what I would expect for end of
 SMS


Check  stty -a. The standard value for eof is ^D and it is used to
signal EOF on STDIN. When you do cat file, a ctrl-D at the beginning of a
line signals EOF and cat terminates. Same in the shell, ctrl-D at the
beginning of a line signals EOF and the shell terminates.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: My Mickeyterm/Ctrl-z Headache

2008-11-30 Thread VictorSigma

This is my terminal output. After I press ctrl-z the stopped message appears

[EMAIL PROTECTED]:~# mickeyterm
read history from /home/root/.mickeyterm_history
--- Mickey's Term V2.9.1 @ /dev/pts/4 ---
AT-Command Interpreter ready
AT+CMEE=2;+CRC=1
OK
AT
AT
OK
AT+COPS?
AT+COPS?
+COPS: 0,0,T-Mobile

OK
AT+CMGF=1
AT+CMGF=1
OK

AT+CMGW=2679028451
AT+CMGW=2679028451
 A test message
A test message
 [1] + Stoppedmickeyterm
@om-gta02:/home/root# 

well if I enter stty -a then it becomes part of the text message. If
ctrl-d out of mickyterm and enter stty -a i get 

[EMAIL PROTECTED]:~# stty -a
speed 38400 baud; rows 29; columns 80;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 =
M-^?;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc ixany imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke



Joachim Ott-2 wrote:
 
 2008/11/30 Joerg Reisenweber [EMAIL PROTECTED]
 
 Ctrl-D is a shortcut for exit *only* when given at start of line.
 Generally Ctrl-D is ETX what's exactly what I would expect for end of
 SMS
 
 
 Check  stty -a. The standard value for eof is ^D and it is used to
 signal EOF on STDIN. When you do cat file, a ctrl-D at the beginning of
 a
 line signals EOF and cat terminates. Same in the shell, ctrl-D at the
 beginning of a line signals EOF and the shell terminates.
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

-- 
View this message in context: 
http://n2.nabble.com/My-Mickeyterm-Ctrl-z-Headache-tp1593123p1595401.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: My Mickeyterm/Ctrl-z Headache

2008-11-30 Thread Michael 'Mickey' Lauer
Try mickeyterm -c (character mode) for sending SMS.
I need to come up with an escape character substitution when in (default) 
readline mode.

:M:

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: My Mickeyterm/Ctrl-z Headache

2008-11-29 Thread Joachim Ott
2008/11/29 VictorSigma [EMAIL PROTECTED]


 I am using the FSO release. I have been able to ssh into the phone and with
 mickeyterm able to send AT commands to read and delete SMS messages. The
 problem is that when I try to send a SMS message you must hit CTRL-Z to
 signal the termination of the message. This is also the command to pause a
 command in FSO and it won't allow me terminate the message. Is there anyway
 to get around this? Has anyone been able to send a SMS message via shell
 using mickeyterm?


Are you sure that it's not Ctrl-d to signal termination? Ctrl-z was it in
good old msdos.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: My Mickeyterm/Ctrl-z Headache

2008-11-29 Thread VictorSigma

CTRL-D is to terminate out of mickeyterm and cant be used to signal out of
sms.


Joachim Ott-2 wrote:
 
 2008/11/29 VictorSigma [EMAIL PROTECTED]
 

 I am using the FSO release. I have been able to ssh into the phone and
 with
 mickeyterm able to send AT commands to read and delete SMS messages. The
 problem is that when I try to send a SMS message you must hit CTRL-Z to
 signal the termination of the message. This is also the command to pause
 a
 command in FSO and it won't allow me terminate the message. Is there
 anyway
 to get around this? Has anyone been able to send a SMS message via shell
 using mickeyterm?
 
 
 Are you sure that it's not Ctrl-d to signal termination? Ctrl-z was it in
 good old msdos.
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

-- 
View this message in context: 
http://n2.nabble.com/My-Mickeyterm-Ctrl-z-Headache-tp1593123p1594265.html
Sent from the Openmoko Support mailing list archive at Nabble.com.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support