Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Abut smb:// aware tools
Date: Sat, 03 Oct 2009 18:45:53
Message-Id: 58965d8a0910031145g1aa4e157sf547e40617e95730@mail.gmail.com
In Reply to: [gentoo-user] Re: Abut smb:// aware tools by walt
1 On Sat, Oct 3, 2009 at 10:31 AM, walt <w41ter@×××××.com> wrote:
2 > On 10/03/2009 05:55 AM, Paul Hartman wrote:
3 >>
4 >> On Fri, Oct 2, 2009 at 3:56 PM, Harry Putnam<reader@×××××××.com> wrote:
5 >>>
6 >>> Do we have tools other than Konqueror that are aware of smb/UNK
7 >>> addressing?
8 >>>
9 >>> Before you answer please note that:
10 >>> I know about ssh
11 >>> I know about fuse
12 >>> I know about mount -tcifs
13 >>>
14 >>> I'd really like to be able to use UNK addressing from the cmd line.
15 >>>
16 >>> cd //host/share
17 >>>
18 >>> I don't now how many of you have noticed but bash shell from cygwin on
19 >>> windows has that capability built in. Or maybe it comes from windows
20 >>> env.
21 >>> You can do `cd //linux-host/share' in a bash terminal
22 >>>
23 >>> If command line smb/UNK is not on without lots of diddling around, what
24 >>> about some file managing tool that does it like Konqueror does.
25 >>>
26 >>> Emacs is said to be able to do this using tramp but I haven't ever
27 >>> gotten it to work.
28 >>>
29 >>> Konqueror can do it... but I don't run kde, and don't really want to
30 >>> fiddle with it in that direction.
31 >>
32 >> Midnight Commander can do it.
33 >
34 > Nifty, I didn't know that. Amazing what mc can do. Couple of points
35 > that are not obvious in case Harry wants to try mc: it needs to be
36 > compiled with the samba USE flag set; and you access your samba shares
37 > using the "Right" or "Left" dropdown menus at the top of the mc window.
38 >
39 > This function of mc (being an old app) I'm guessing is what inspired
40 > the similar functions in konqueror and nautilus, but I'm not sure about
41 > the order of events.
42 >
43 > Thanks for the tip.
44
45 You can also use mc's special notation for connecting from the shell
46 prompt inside the program. I highly recommend RTFM since I don't know
47 how to do it specifically and only tried it once a long time ago, so
48 this may be completely wrong. :) But from memory it was _something_
49 similar to this:
50
51 cd /#smb:hostname/share
52
53 You can also connect to things like FTP and fish (ssh/scp) with
54 similar notation from within mc. Check for mc's VFS in the docs or
55 google to see the actual instructions.