^M

ronnie gauthier ronnieg
Mon May 17 11:46:59 PDT 2004


CR Ctrl-M &#13

NUL  	null character  	�
SOH 	start of header 	
STX 	start of text 		
ETX 	end of text 		
EOT 	end of transmission 	
ENQ 	enquiry 		
ACK 	acknowledge 		
BEL 	bell (ring) 		
BS 	backspace 		
HT 	horizontal tab 			
LF 	line feed 		
	
VT 	vertical tab 		
FF 	form feed 		
CR 	carriage return 	
SO 	shift out 		
SI 	shift in 		
DLE 	data link escape 	
DC1 	device control 1 	
DC2 	device control 2 	
DC3 	device control 3 	
DC4 	device control 4 	
NAK 	negative acknowledge 	
SYN 	synchronize 		
ETB 	end transmission block 	
CAN 	cancel 			
EM 	end of medium 		
SUB 	substitute 		
ESC 	escape		 	
FS 	file separator 		
GS 	group separator 	
RS 	record separator 	
US 	unit separator 		
DEL 	delete (rubout) 	
 
On Wed, 30 Apr 2003 13:59:04 -0700 - Ted Ozolins <ted at telus.net> wrote the
following
Re: Re: ^M

>James McDonald wrote:
>
>> Ted Ozolins wrote:
>>
>>> During my days working with cp/m I use to use in scripts ^M to obtain 
>>> the action of <Enter>. How or what can be used in bash (as in 
>>> rc.local) to get the same action?
>>> TIA
>>
>>
>> Isn't it just a matter of doing a an echo -e \xxx where xxx is the 
>> octal value of the ascii code? Although I couldn't figure out the code 
>> for ^M by looking at the "man ascii" page... if someone knows I'm 
>> curious now aswell.
>
>The only value I can get are the keycodes (28 and 96) 28 being in the 
>qwerty section and 98 by the numeric keypad. I use to have an old cpm-80 
>book that listed all those goodies but no longer am sure where it is<G>
>
>Ted Ozolins (VE7TVO)
>Westbank, B.C.
>
>_______________________________________________
>Linux-users mailing list
>Linux-users at linux-sxs.org
>Unsubscribe/Suspend/Etc ->
>http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list