LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-31-2010, 08:30 AM   #1
metzava
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Whitespace Issue in terminal with Ubuntu 10.10


Starting a program with the windows emulator isn't working correctly. If i create a desktop symlink, then wine bugs out not having displayed any information or graphical display material. I presume its because it works like executables that are in a zip with .dlls under windows, it needs some file or folder that is in the program directory wine is using for an application.

If I put into my terminal this, which I've used this precise input before without a problem:

Code:
metzava@metzava-desktop:~$ wine /home/metzava/.wine/drive_c/Program Files/program
my computer sends me this lovely tidbit..

Code:
wine: cannot find '/home/metzava/.wine/drive_c/program'
metzava@metzava-desktop:~$
Does Unix not handle whitespace? The way I input the directive is exactly how it is listed on the folder name with capitols and whitespace (Program Files).

Last edited by metzava; 08-31-2010 at 08:31 AM.
 
Old 08-31-2010, 08:41 AM   #2
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
Originally Posted by metzava View Post
Starting a program with the windows emulator isn't working correctly. If i create a desktop symlink, then wine bugs out not having displayed any information or graphical display material. I presume its because it works like executables that are in a zip with .dlls under windows, it needs some file or folder that is in the program directory wine is using for an application.

If I put into my terminal this, which I've used this precise input before without a problem:

Code:
metzava@metzava-desktop:~$ wine /home/metzava/.wine/drive_c/Program Files/program
my computer sends me this lovely tidbit..

Code:
wine: cannot find '/home/metzava/.wine/drive_c/program'
metzava@metzava-desktop:~$
Does Unix not handle whitespace? The way I input the directive is exactly how it is listed on the folder name with capitols and whitespace (Program Files).
It handles whitespaces, but it uses them like separators, so you should "tell" it that this whitespace is something else by using a backslash like this (notice backslash after Program):

wine /home/metzava/.wine/drive_c/Program\ Files/program

Last edited by Andersen; 08-31-2010 at 08:45 AM.
 
Old 08-31-2010, 09:05 AM   #3
metzava
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
donken

okay i had said if i have to put something in it, then its reinterpreting not handling it, but i just tried it and see what you mean. it still requires the whitespace its just acting like a * in windows wildcards.

well actually i just tried it leaving the whitespaces in there too, and its still not working out alright. these are the two methods i used:
Code:
wine /home/metzava/.wine/drive_c/Program\Files/pro\gram.exe
wine /home/metzava/.wine/drive_c/Program \Files/Pro \gram.exe
bah! fonud the answer....forward slash goes before the whitespace not after it....thanks!
neither has worked..

Last edited by metzava; 08-31-2010 at 09:13 AM. Reason: cause it needed editing. i mean that's the only reason to do it.
 
Old 08-31-2010, 09:32 AM   #4
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 177

Rep: Reputation: 72
Quote:
Originally Posted by metzava View Post
ts just acting like a * in windows wildcards.
Well.. no, it doesn't act like that, but that wasn't the issue anyway.
If you want to know something about it, there's a lot of info, just ask Google.

Quote:
Originally Posted by metzava View Post
well actually i just tried it leaving the whitespaces in there too, and its still not working out alright. these are the two methods i used:
Code:
wine /home/metzava/.wine/drive_c/Program\Files/pro\gram.exe
wine /home/metzava/.wine/drive_c/Program \Files/Pro \gram.exe
bah! fonud the answer....forward slash goes before the whitespace not after it....thanks!
neither has worked..
Well, I did show the example in my previous post:

Quote:
It handles whitespaces, but it uses them like separators, so you should "tell" it that this whitespace is something else by using a backslash like this (notice backslash after Program):

wine /home/metzava/.wine/drive_c/Program\ Files/program
all you had to do is to copy that, there's no need for "stabbing in the dark"
 
  


Reply

Tags
emulation, terminal, whitespace



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Terminal password issue chriselwell Linux - Software 2 12-13-2009 08:27 AM
Ubuntu terminal look like linux mint terminal? caa1980 Ubuntu 6 08-13-2009 12:16 PM
Ubuntu 8.04 Terminal - Can you make the terminal window transparent with a wallpaper? bparkerson04 Linux - Newbie 6 02-17-2009 05:12 PM
osx terminal issue shmude Other *NIX 1 02-17-2005 08:45 AM
vi terminal coloring issue feetyouwell Linux - Software 1 01-05-2005 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration