+++ New User [linux-india] <10/09/01 22:26 -0700>:
> a) I created a simple text-file in Win-Notepad and
> saved it directly to a Linux Box in a shared directory
> (Samba) . 
> This text file opened correctly in vim, pico, mc . 
> But the same file when opend in Joe is showing extra
> 'M' characcter at the end of every new line ( probably
> CR/NL combo ). 

It should be showing that ctrl - M (actually ASCII 13)  even in vim ... pico
should handle it OK.  See LOST tip in my sig ... [or use "dos2unix" and
"unix2dos"] 

Or on windows, replace notepad by a better (freeware) editor like notetab or
editpad to save files in unix format, so as not to generate this charater at
all.

> ( Word-star oldies prefer Joe in the company, so I
> can't force them to use vim ).

Yay.  Joe is a rather nice editor.

> b) When we save above file from winxx to a Linux
> boxes, is there a way to announce the arrival of this
> text file to a Linux user through some popup message
> or at-least  2/3 repated beaps ?

I think there _is_ a command (smbpopup / nmbpopup, forgot which)

-- 
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : DOS to Unix conversion (#1)                    LOST #025
Method #1:
To convert a DOS text file to Unix so that the extra ASCII 13
does not show up when viewing / editing a DOS text file.
$cat filename.dos | tr -d '\015' > filename.unix
####<[EMAIL PROTECTED]>####################################

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to