search for: unix2dos

Displaying 20 results from an estimated 80 matches for "unix2dos".

2012 Nov 21
1
hivexregedit doc - unix2dos command
On the page: http://libguestfs.org/hivexregedit.1.html#encoding Under "ENCODING" section is this command: unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg I couldn't get that to work without placing a redirection operator ('<') after "unix2dos". Could this be due to my version of unix2dos? Or just a typo. I'm a Linux n00b so my apologies for any "stupid" ques...
2008 Aug 28
2
unix2dos did NOT fix line wrap problem on PC
I have log files will mail from LINUX to my PC (MS exchange and outlook). ? When I look the E-MAIL, the log file line is unwrap.? My script did use "unix2dos" to convert format.? anyone know why? ? ? ======?? script?? ============= ? tail -30 /var/log/messages > /tmp/diskmsg.log unix2dos /tmp/diskmsg.log mail? -s "Check?log" dba101 at yahoo.com? </tmp/diskmsg.log ______________________________________________________________...
2004 Apr 02
1
unix2dos automatic convertion
I'm looking for a way for automatic unix2dos conversion of our SAMBA shared Solaris 8.0 files.txt, and I don't know where mail list to ask for. I already use the unix2dos versions of NT/W2K and Solaris but it needs manual command to be issued. Clovis Gomes de Souza Dresdner Bank Brasil Dresdner Bank Lateinamerika AG Unix and DBA sup...
2006 Mar 21
0
CESA-2005:145-12: Low CentOS 2 i386 dos2unix and unix2dos bug fix update
The following errata for CentOS-2 have been built and uploaded to the centos mirror: RHBA-2005:145-12 dos2unix and unix2dos bug fix update Files available: dos2unix-3.1-7.EL.22.i386.rpm unix2dos-2.2-12.EL.25.i386.rpm More details are available from the RedHat web site at https://rhn.redhat.com/errata/rh21as-errata.html The easy way to make sure you are up to date with all the latest patches is to run: # yum update...
2005 Jul 22
0
CEBA-2005-0722-001 Low CentOS 3 i386 elinks, dos2unix, unix2dos - updated
...he CentOS-3 i386 (only) release. The following pacakges have been added to the updates for i386. The following updated file has been uploaded and is currently syncing to the mirrors: i386: updates/i386/RPMS/dos2unix-3.1-15.EL.22.i386.rpm updates/i386/RPMS/elinks-0.4.2-8.i386.rpm updates/i386/RPMS/unix2dos-2.2-19.EL.25.i386.rpm Tru -- Tru Huynh (CentOS-3 i386/x86_64 Package Maintenance) http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc...
2019 Apr 25
1
Re: [PATCH v2v v2 1/2] v2v: windows: Add a helper function for installing Powershell firstboot scripts.
...s.i_windows_systemroot; i_root } > + filename code = > + let tempdir = sprintf "%s/Temp" i_windows_systemroot in > + g#mkdir_p tempdir; > + let code = String.concat "\r\n" code ^ "\r\n" in The Firstboot module uses String.unix2dos to convert the script to the proper newline style for Windows. What about assuming that 'code' is a single Unix-style string with the whole script, calling String.unix2dos, instead of taking the list of lines? Mostly for consistency, so everything that writes files on Windows uses String....
2004 Apr 03
0
automatic convertion Unix to Dos files.txt
> Dear managers, > I'm looking for a way for automatic unix2dos conversion of our > SAMBA shared Solaris 8.0 files.txt, > and I don't know where mail list to ask for. > I already use the unix2dos versions of NT/W2K and Solaris 8.0 but > it needs manual command unix2dos to be issued. > > > Clovis Souza __________________________...
2015 Feb 27
0
[PATCH 1/4] firstboot: consolidate line ending conversion
...--------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/customize/firstboot.ml b/customize/firstboot.ml index 23a0432..ffcee12 100644 --- a/customize/firstboot.ml +++ b/customize/firstboot.ml @@ -24,6 +24,9 @@ open Common_gettext.Gettext open Customize_utils open Regedit +let unix2dos s = + String.concat "\r\n" (Str.split_delim (Str.regexp_string "\n") s) + (* For Linux guests. *) module Linux = struct let firstboot_dir = "/usr/lib/virt-sysprep" @@ -207,22 +210,18 @@ module Windows = struct * scripts in the directory. Note we need to us...
2015 Feb 27
5
[PATCH 0/4] firstboot: assorted enhancements
This patchset attempts to address a number of shortcomings in the firstboot infrastructure I came across while working with v2v conversion of various Windows VMs. Roman Kagan (4): firstboot: consolidate line ending conversion firstboot: enhance firstboot driver script for Windows firstboot: make script naming descriptive convert_windows: split firstboot into steps
1998 Jul 15
3
smbprinting --> HP
HI all, Question: I have a freeBSD box using smbprint to print on a HP jet direct printer attatched to a NT server. However the formatting is horrible and it only prints out about the first 2 lines of a file. Any suggesstions out there? thanks! -aaz
2012 Apr 24
2
Write unix format files on windows and vice versa
I go back and forth between windows and linux, and find myself running into problem with line endings. Is there a way to control the line ending conversion when writing files, such as write and cat? More explicitly I want to be able to write files with LF line endings rather than CRLF line ending on windows; and CRLF line endings instead of LF on linux, and I want to be able to control when the
2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
.../source/lib/charcnv.c Wed Apr 26 02:06:49 2000 +++ samba-2.0.7viv/source/lib/charcnv.c Wed Mar 21 10:41:08 2001 @@ -20,220 +20,37 @@ */ #include "includes.h" -#define CTRLZ 26 -extern int DEBUGLEVEL; - -static char cvtbuf[sizeof(pstring)]; - -static BOOL mapsinited = 0; - -static char unix2dos[256]; -static char dos2unix[256]; - -static void initmaps(void) { - int k; - - for (k = 0; k < 256; k++) unix2dos[k] = k; - for (k = 0; k < 256; k++) dos2unix[k] = k; - - mapsinited = True; -} - -static void update_map(char *str) { - char *p; - - for (p = str; *p; p++) { -...
2009 Jan 03
2
Linux words file
Dear R People: I have a small function that solves the "Jumble" puzzle from the newspaper (I know...big deal). It uses the the Linux "words" file. My question is: is there a similar words file for Windows, please? Thanks, Happy New (Gnu) Year. Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston -
2005 Jul 20
0
'old' rpms in CentOS 3.5
Hi, Just to let you know These rpms in CentOS 3.5 i386 : elinks-0.4.2-7.i386.rpm dos2unix-3.1-15.i386.rpm unix2dos-2.2-19.i386.rpm should be replaced by elinks-0.4.2-8.i386.rpm dos2unix-3.1-15.EL.22.i386.rpm unix2dos-2.2-19.EL.25.i386.rpm The SRPMS dir of CentOS 3.5 has both versions, so that's probably the cause of this. _________________________ Jan Kees van Amerongen Bioinformatics group, Utrecht Un...
2004 Jul 16
1
Ascii mode in smbclient?
...y to use samba that will perform the equivalent of the ASCII mode in FTP. In other words, change CR/LF to LF in Dos -> Unix transfers and to change LF to CR?LF in Unix to Dos transfers? My site is only using samba to transfer between Windows and Unix machines. And while I know that I could use ?unix2dos? and ?dos2unix? for the transfer, it would be nice if the transfer took care of it. This would seem to be a natural. Modify smbclient to understand the ?BINARY? and ?ASCII? commands and transfer accordingly.
2010 Aug 25
6
AEL - what is error: ael.flex:647 ael_yylex: Unhandled char(s):
Hi List, When doing 'ael reload' on two servers, which are setup with asterisk 1.4.22 and 1.4.35 respectively, I am getting multiple lines of this strange error: ERROR[15483]: ael.flex:647 ael_yylex: Unhandled char(s): On three other servers with same versions of asterisk, i.e. 1.4.22, I don't see this error. Number of lines of the error are the same as the number of lines of the
2005 Jul 22
1
CentOS-announce Digest, Vol 5, Issue 8
...05:586 Important CentOS 4 ia64 firefox - security update (Pasi Pirhonen) 6. CESA-2005:378 Low CentOS 3 i386 cpio - security update (Tru Huynh) 7. CESA-2005:378 Low CentOS 3 x86_64 cpio - security update (Tru Huynh) 8. CEBA-2005-0722-001 Low CentOS 3 i386 elinks, dos2unix, unix2dos - updated (Tru Huynh) ---------------------------------------------------------------------- Message: 1 Date: Thu, 21 Jul 2005 22:16:30 +0300 From: Pasi Pirhonen <upi at papat.org> Subject: [CentOS-announce] CESA-2005:378 Low CentOS 3 ia64 cpio - security update To: centos-announce at cen...
1999 May 18
3
Cntrl-M characters ...
Hi, I am using Samba 1.9.18. The server is running on Solaris 2.5.1 and the client is on Win NT 4.0 I am annoyed by the Control-M characters appearing in text files when the files are edited on Windows editors and viewed in vi on Sun machine. I had to manually remove the Control-M characters. Is there a way to eliminate the Control M characters ? Thanks Krishna
2010 Jul 03
6
sambaLogonScript problem
Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not show anything about the logon scripts. All my users are set with "%G.bat" in the ldap backend, but the vast majority of the users are not running the scripts, or running partially.
2010 Jul 20
1
Weird samba pdc problem.
...d just fine with the exception of one user. All the users that were moved are using windows xp. I updated all their profile paths in ldap, removed their logon scripts from the primary machine, edited the logon scripts on the new machine to point to the proper machine and share, and even ran the unix2dos on the logon scripts for good measure. I even compared the non-working persons ldap entry to one of the working ones and they are identical expect the name and personal stuff. So here it is a week later and 3 of the 4 users are pulling their profiles, my documents, and shares from the new serve...