On Mon, Sep 10, 2001, New User wrote:
>
> I have setup a lan of 5 PCs ( 2 Win95, 1 Win98 and 2
> PCQLx 7.1 ) for a local company.
>
> 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 ).
>
Suresh has already explained to you the reasons why. Another
LOST tip is placed below ...
> Is it a fault in Joe's setting ? I have not changed
> any default settings in Joe. How to suppress this
> extra 'M' ?
> ( Word-star oldies prefer Joe in the company, so I
> can't force them to use vim ).
>
Tell them to switch to "e3" ... written in 100% assembly, less
than 10k, and 100% WS non-document mode compatible. The recent
release also has vi, emacs, pico and nedit key bindings. Class
better than joe ! I belong to that class of WS oldies too ....
> 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 ?
Filter it as it comes through, using tr (Suresh's mail refers)
without changing filename:
whatevername.dos /tmp/somename
/tmp/somename | tr -d '\015' > whatervername.dos
> =======* TNT *===
>
> You can *hang* your PC by 'neck' !
> Just try to open 'core' file under /root directory in
> mc. ;-)
Oh GOD ! 'core' file ? What's that ? .... :-)
Bish.
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : DOS to Unix conversion (#2) LOST #049
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 .....
If you have recode package installed you may use the following
alias in your .profile or /etc/profile:
alias unix2dos='recode lat1..ibmpc'
alias dos2unix='recode ibmpc..lat1'
####<[EMAIL PROTECTED]>#####################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help