Ubuntu :: Burn Compatibility With Windows (>64 Char)?
Jan 6, 2010
I have found the wonder that is FLAC and am encoding CD's. My system at work is locked down so I found CoolPlayer++ to play FLAC which I intended to play from a DVD I created. I have collected my FLAC into collections that I want to burn to DVD for playback. So, I burn DVD in Ubuntu (9.04), files look and work great from within Linux. When I use in Windows all the folders and files are 8.3 format (major issue is that .FLAC are now .FLA and not recognized by CoolPlayer). However, if I use Windows compatibility then the FLAC filenames are truncated to 64 char (many are longer since they have track number, and full song names). Is there a way to keep longer than 64 and use in Windows?
Programming in C.I have two char arrays.char buf1[1024];char buf2[1024];Aren't buf1 and buf2 also pointers?I read in 1024 bytes into buf1 which contain about 300 bytes of characters with newlines. The data is basically a few English sentences. I'm trying to scan buf1 for newlines and then stop at the 1st newline and copy the rest of the data from that 1st newline into buf2.So I run a for loop to look for that new line.
Line 43 points at the snprintf() command.I think the error has to do with the function being virtual and the const after the function definition, however although I have been looking really hard I have not being able to find the reason nor the solution to the problem.
One workaround that I know is moving the block of source withing the virtual function, in the constructor, however having read around (boost library exceptions tutorials) it specifically said that formating of errors messages should not take place withing the construction of objects because we are risking throwing an exceptions and messing up the flow order.
i define variable of type char (range -128 to 127). when i tried to print the value after assigning a -ve value to it it displaying a +ve value of that -ve value(256+value).
Have win98se on secondary master as it fully supports some devices Ubuntu doesn't (Aries scan it pro, pci smart modem, Lexmark printer/scanner x2250), Lucid is on primary master. Grub seamlessly booted windows using menu.lst entry:
I have question(s) about file formats and line endings and would like to know how you manage this. Here is the thing: I am sharing files with a Windows user and we run into some problems of formatting: He send me files in UTF-8 and with the Windows line ending and when I open them, modify them and send them back, he got them with the unix file ending and in UTF-8 or sometimes ANSII. I know that for example in gedit (as most of the files are .htm files that I modify and send them back to him or upload directly on the net after modification) when you use "saving as" you can change the line ending and also UTF-8 or else, But the thing is that it is pretty time consuming to do a "save as" with an existing file and change the attributes when you have to deal with dozens of files. So I searched on the web and heard about tofrodos, which I installed and worked well besides that it only changes the line ending. So I was wondering: how you deal with those formats/line ending compatibility issue and how you avoid loosing time because of this but still manage to get your fellow windows users shraing files with youif you know command line tools that would enable me to modify the line ending and the formats of file(s) (also pretty basic but I didnīt find a way to check/display those attributes from the command line)tell me more about the web, as it should be the same problem (and even worst as the are a lost of unix devices acting as servers) but still windows users donīt have any problem displaying pages with are documents stored with their own line endings and formatting.
I simply want to read a file "data.txt" line by line Then char by char and add them into a result var. The file is supossed to always contain numeric values
My unit does not have internal DVD capability so I installed an external Sony that XP recognizes but ubuntu does not. I am 910 is that makes a difference.
I've been trying to burn a windows 7 iso to a blank disc in ubuntu.
I've tried right click-write to disk, it writes it but the disc won't boot and when I look inside the disc there's no files present.
I tried doing it with cd creator and it gives me some messages like.
"Do you want to create a disc from the contents of the image or with the image file inside?"
"There is only one selected file
("xxxxxx.iso") It is the image of a disc and its contents can be burnt."
I click "burn as file"
Then I get a message saying "Do you really want to add "xxxxxx.iso to the selection and use the version of ISO9660 standard to support it"?
"the size of the file is over 2gb. Files larger than 2gb are not supported by iso9660 standard in its first and second versions. it is recommended to use the third version of iso9660 standard which is supported by most operating systems including linux and all versions of windows."
I click add file.
Then it starts "estimating the file size" It says please wait untill this operation is completed, but it never does, I left it for 2 hours.
I also tried burning with infra record in windows and get some error messages, and I also tried brasero in ubuntu with no success.
Is there a way to use Nautilus (or another non-KDE based burning program) to burn files to CD which exist on a Windows share? Whenever I drag files into the Blank CD window, it says Error (Operation not supported by backend). I'm running Ubuntu 10.04 (Lucid)
I want to move entirely from windows to linux. My college has ubuntu running on the labs. But i have a thing fr Fedora. I want to install fedora & run win32 apps via wine. But just in case some apps need strictly windoze i was wondering about using BART PE as a minimal windows application use. Does BARTPE run all win32 apps like CAD, dialup client, burn iso, install on a small harddisk,boot up with linux?
I've modified a program to show * instead of letters when typing a password. I'm trying to make it so that when pressing backspace a * will be removed.Here's a rough example. The problem is that when trying to do this in the real program,' is not recognized as backspace.
I'm writing the Diffie-Hellman key exchange system using GMP to handle big integers. For the most part, everything works. I can convert the string to mpz_t, set up the keys and everything, and encrypt it fine. Its the decrypting I'm having issues with. What I'm using is mpz_xor() for both. To encrypt I'm doing mpz_xor(buffer, mpz_of_text, secret_key), and to decrypt I'm doing mpz_xor(buffer, mpz_of_cipher, secret_key).
For one character, it semi-works...it'll decrypt it fine, but it'll return it as it's ASCII value (i.e.: if I encrypt "A", it'll decrypt it as 65). Which, I can easily just do sprintf(decrypted_buffer, "%c", 65) for example and be fine. But, when I'm sending text bigger than one character, the encryption for AB gives me something like 1061043 after running the decrypting xor on it.
Has anyone ever done this before or can point me in some directions? Perhaps other algorithms to try? I know XOR isn't the most secure encryption method to use, but at the time I wasn't sure what else to use. I'm really just having a hard time trying to convert a mpz_t to a character string. I've looked at mpz_get_str() and it works before running encryption (i.e.: using mpz_set_str() to create a mpz of a string, then calling mpz_get_str() to change it back). Maybe my XOR method is wrong? Here's the code I'm using:
Code:
/** * str2mpz() * b The current buffer of text to convert [in] * m The mpz_t variable to store converted text [out]
Greetings, I have installed a VMware host on Windows 7 64bit and followed with a 10.04LTS 64 bit guest install. Everything went smooth. I have used VMware before, but the other way around.. Linux host and Windows guest.
So this time I am installing the VMWare tools on the guest, ubuntu 10.04, but it seems to be failing. The vmware tools install ran fine the first time with no errors, but I was getting the follwoing error after logging into the Ubuntu guest afterwards.
Could Not Apply the Start Configuration for Monitors Error Line 1: Char 1 Whitespace or empty file
So I re installed the VMware tools once again, but still the same.
I am hoping that someone here has come across this before and hs a workaround. I don't think the vmware tools was installed correctly.
I am trying to simulate a shell. So what I do is checking of having the parameters from standard input, suc as "/bin/ls -l /home/france/Documents", and then passing them to function execute, which at some point calls execvp(argv[0],argv)The problem is that I don't succeed in using these arguments, while if I call execvp(paramList[0],paramList) it works!!!! Where paramList is exactly what I would put on standard input, but defined statically.
I would like to create a small C tool. I encounter a problem of how to make a function to check an input chars contains numbers (started from the second element).
Some samples:
char *mychar= "a3547"; (The result of function checking this is true) char *another_char = "t6548"; (The result of function checking this is true) char *next_char = "appl3"; (The result of function checking this is false) char *new_char = "b1aa3"; (The result of function checking this is false)