Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ [1] 2 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: 2 directories showing same name< Next Oldest | Next Newest >
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 08 2007,17:45 QUOTE

Maybe this is normal for Linux, or for ndiswrapper, please excuse me if it is:

I've installed ndiswrapper twice.  The first was a couple of weeks ago, I think I spec'd a wpa file for that one.  The second was this morning.

When I console to /etc/ndiswrapper and execute ls -al, I see two directories with exactly the same name.  After I deleted the first one (rm folder -R), navigating to the second one with cd showed me that the second one, that is the older one, is really named folder^M.  This happens because cd autoexpands to cd folder^M/ while I make the change.  Once inside the folder, the console prompt does not show the ^M any more.

Is this normal?  How come the cd command shows the extra characters but neither ls nor the prompt do?

And now my console cursor is staying at the first character in the prompt instead of at the the end.  I'm signed in as root, so my prompt looks like # oot@box:/etc/ndiswrapper/folder and the cursor is where the first and only blank shows up in the prompt.

Am using 4.1RC3 HD installed traditionally.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 09 2007,01:30 QUOTE

How did that folder get created?
Afaik ^M is the carriage return character, which is a newline... so it just happens that your shell prompt parses this, so you end up with your cursor at the next line.
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 09 2007,01:54 QUOTE

I don't know.  I ran ndiswrapper -i a couple of times, and there they were.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 09 2007,02:25 QUOTE

Hm, it probably tries to get the filename from some .inf files that have the CR character.  Probably nothing to be worried about.
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 09 2007,03:36 QUOTE

Not worried, but it's confusing to see twin folder names... especially when one of them is misrepresented.
Back to top
Profile PM 
12 replies since Dec. 08 2007,17:45 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: 2 directories showing same name

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code