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?

View 2 Replies


ADVERTISEMENT

Programming :: Fixing C++ Invalid Conversion From Const Char* To Char?

Mar 4, 2010

m getting the following error when trying to compile:Quote:

$ make
g++ -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"undelete"' -DHAVE_SVDRP -I../../../include undelete.c

[code]...

View 14 Replies View Related

Programming :: Point A Char Pointer To A Part Of Another Char Array?

Nov 4, 2010

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.

Code:
for(i=0; i<1024;i++) {
if((strcmp(&buf1[i], "

[code]...

View 8 Replies View Related

Programming :: C++ Invalid Conversion From Const Char* To Char*

Jul 9, 2010

I am having trouble with the following exception class.

Code:

/**Standard Exception
*
*@description
*@update
*@changes

[code]....

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.

View 11 Replies View Related

Programming :: Char Variable Is Behaving As Unsigned Char?

Feb 14, 2011

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).

View 3 Replies View Related

Programming :: SH: Remove Last Char If It Is An Empty Char In A String

Jul 5, 2011

With this I may remove the last emtpy char which is not visible, coming from net, windows, ...

Code:
echo "$mystringwindowsorotherwithemptylastchar" |sed s/.$//

However if there are not then it makes a problem and delete effectively an existing char.

Code:
echo "klklj" |sed s/.$//
klkl

Anyone would have a solution for SH?

View 2 Replies View Related

Programming :: Convert A Char * To Unsigned Char?

Mar 4, 2010

is it possible to convert a variable from char * to unsigned char ?

View 5 Replies View Related

Ubuntu Installation :: Grub2 Boots Windows 98 In Dos Compatibility Mode

Nov 25, 2010

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:

Code:
titleWindows 95/98/Me
rootnoverify(hd1,0)
savedefault

[Code]....

Would be grateful if anyone knows a configuration that works, as using CMOS/BIOS setup to boot windows is a pain.

View 9 Replies View Related

Debian :: File Formats And Compatibility With Windows?

Mar 7, 2011

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.

View 2 Replies View Related

General :: Vfat File System On Usb-drive For Windows Compatibility

Aug 24, 2010

I've just formatted by usb drive to vfat, as I heard that is best to use in both Linux and Windows? What do you think?

View 2 Replies View Related

Programming :: Programing - Reading File Line By Line Then Char By Char In Each Line

May 29, 2010

I've never programed shell scripting.

Code goes like so:

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

View 8 Replies View Related

Ubuntu :: DVD Recognition In OS Or Windows Option Burn ISO?

Mar 16, 2010

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.

View 1 Replies View Related

Ubuntu :: Burn A Windows 7 Iso To A Blank Disc

Nov 21, 2010

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.

View 9 Replies View Related

Ubuntu :: Burn Files To CD From A Windows Share?

Mar 28, 2011

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)

View 3 Replies View Related

Ubuntu :: Burn A Mp3 Cd But Brasero Can't Burn Mp3 Cd

Dec 25, 2010

I want to burn a mp3 cd but brasero can't burn mp3 cd. How can I do this. If any further software need burn mp3 cd

View 3 Replies View Related

Fedora :: 14 + Windows On BART PE Run All Win32 Apps Like CAD - Dialup Client - Burn Iso - Install On A Small Harddisk - Boot Up

Nov 5, 2010

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?

View 2 Replies View Related

General :: Find EOF Char In File?

Dec 10, 2010

How to find EOF char in file

View 1 Replies View Related

General :: How To Append A Char Or Strong

Aug 24, 2010

the query is ||| how to append a char | string |||

#!/bin/bash
echo -n "one""two""three"
#END

above method is working well but below method is not working ?

#!/bin/bash
one=one
two=two
three=three
echo -n $one$two$three
#END

View 5 Replies View Related

Programming :: Cannot Get Ncurses To Delete Char With

Jan 6, 2010

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.

View 6 Replies View Related

Programming :: GMP And Converting Mpz_t To Char?

Jul 16, 2011

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]

[code]....

View 9 Replies View Related

Programming :: Get The Number Of Elements In A Char*[] In C++?

Jan 27, 2011

I have a char*[] array:

Code:
char* myarray[] = {"Hello", "there!", "LQ"};

and I wish to use/ write a function to find the number of elements in myarray (in this case, its 3).

*equivalent of .NET's array.size() that returns number of elements in array

How do I achieve it?

View 7 Replies View Related

Programming :: Passing A Char* By Reference In C++?

Apr 26, 2010

Below I've presented the declaration, definition and the calling method of a function w.r.t pass by reference:

Declaration

Code:

void getUnpackedMsg (unsigned char &data, unsigned int numberOfBits);
Definition
line 278: Shown in RED

Code:

void packedMessage :: getUnpackedMsg (unsigned char &emptyArray, unsigned int numberOfBits)
{
...
...
printf ("

[code].....

View 3 Replies View Related

Programming :: Vi - Deleting Up To First Nonblank Char?

Jul 18, 2010

What could be a command to erase from the cursor up to the first non-blank char in vi (or vim)?

View 3 Replies View Related

Ubuntu :: Error Line 1: Char 1 Whitespace Or Empty File

Jun 16, 2011

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.

View 1 Replies View Related

General :: Calling Application From Char Driver?

Oct 13, 2010

I want to call a application file in user space through a character driver running in kernel space.

View 1 Replies View Related

Programming :: Passing The Char * Vector Argument?

Jun 19, 2010

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.

Code:

#include<unistd.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>

[code].....

View 2 Replies View Related

Programming :: Copying Unsigned Char To Uint64_t?

Oct 17, 2010

I am a dummy in C programming. I have a problem with copying the array of 64 elements of unsigned char to array of 8 element of uint64_t. For example:

unsigned char p[64]
uint64_t Data[8];
memcpy (&Data, &p, 64);

I am not sure if it is right. Please help me. Thanks a lot.Moreover, do both p and Data have 64 bytes?

View 2 Replies View Related

General :: Sed: -e Expression #1, Char 27: Unterminated `s' Command

Feb 3, 2011

I am trying the execute the following

#!/usr/bin/python
import os
os.system("sed -e 's#^(.*) (.*)0http://12#' t2.txt > t3.txt")
os.system("cat t3.txt | sort | uniq -c | sort -rn | head > t4.txt")

But I receive the following error message.

sed: -e expression #1, char 27: unterminated `s' command

View 1 Replies View Related

Programming :: C Define Char* Array With Calloc?

Mar 6, 2011

This works for "char" but i need "char*",how do I do it?

Code:

char* tk = (char*) calloc(ctk+1,sizeof(char*));

Error when I use it:

Code:

error: invalid conversion from har* to har

View 2 Replies View Related

Programming :: C - Check If An Input Char Contain Numbers?

Mar 19, 2010

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)

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved