Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-07-29 at 10:13 +0200, Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
I don't know of any other. There was an XTree look alike, but I haven't seen it for a long time, and mc was more powerful. For ftp there are several clients: I know of "ftp" and "pftp", but I think there is another one I can't find now. Ah, lftp. But no one like "mc". - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIjvICtTMYHG2NR9URAj/xAJ9U3qVNCTSZj3SB+xhd8Ams/XFnEACdEs+J f4cUtdgRN98ScCW4oMwc8ZQ= =yC8U -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jul 29, 2008 at 6:33 AM, Carlos E. R.
I don't know of any other. There was an XTree look alike, but I haven't seen it for a long time, and mc was more powerful. For ftp there are several clients: I know of "ftp" and "pftp", but I think there is another one I can't find now. Ah, lftp. But no one like "mc".
Having made heavy use of Norton Commander under Dos and OS/2, it was really awesome to find Midnight Commander in Linux. Here's a wikipedia entry about Norton Commander(you know, I still sometimes find myself typing "nc" instead of "mc") that lists other clones of it: http://en.wikipedia.org/wiki/Norton_Commander -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-07-29 at 07:50 -0400, Larry Stotler wrote:
Having made heavy use of Norton Commander under Dos and OS/2, it was really awesome to find Midnight Commander in Linux.
I dos I used Xtree and pctools. I tried 'nc' once, didn't like it much. But in linux I use 'mc' a lot. http://en.wikipedia.org/wiki/Xtree The clone for linux was Ytree: http://www.han.de/~werner/ytree.html, and suse included it some versions back. It is currently maintained, I see. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIjxoCtTMYHG2NR9URAjn7AKCLzyn09jEPHocojQ6vpWJ9J2KjxQCgmKs7 bGGuQrEfbpmHxbeQK1n/AG0= =ihsL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
You could try vifm - file manager in vi-style. However, it is suitable for file browsing only (no ftp and so on ...) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o Package Maintainer Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9, CR prusnak[at]suse.cz http://www.suse.cz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Carlos E. R."
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Tuesday 2008-07-29 at 10:13 +0200, Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
I don't know of any other.
There was an XTree look alike, but I haven't seen it for a long time, and mc was more powerful.
For ftp there are several clients: I know of "ftp" and "pftp", but I think there is another one I can't find now. Ah, lftp. But no one like "mc".
ncftp is another good swiss army knife ftp client. As is ckermit beleive it or not, just by virtue of the kermit scripting language built in and it's ability to use ssh as well as ftp, though kermit is not in any way a full screen interactive app like mc, then again, that scripting language is so powerful you could actually write a ui in it that looks pretty full if you wanted to. For full screen two-panel file browser type app there is a thing called "git" which I don't think anyone has used in ages. Mc was way more useful even 10 years ago. I think I need to hear in what he means by "better". I think there is no better full screen interactive file browser. There may or may not be better ftp clients but mc's main purpose is to be a file browser, and it's ftp client functionality is just there to be a part of the file browser functionality. There might be dedicated ftp clients that have more and more powerful ftp client features, but they would lack everything else mc does. The best ftp client isn't going to for example: Consider 3 machines, A, B, C. A and C are production machines in different locations, owned by different people, running different os's, behind different firewall policies. But you, their consultant, have some form of access from B to both. A allows ftp from B only by ip. C allows only ssh and only from B, by ip. (A and C can't directly talk to each other at all. Maybe A is only reachable via vpn as well and only B may become an endpoint in that vpn.) You can sit on B, and in mc, open one panel into A via ftp, browse to an rpm file, dive into the rpm file, dive into the cpio archive within the rpm, dive into a .tar.gz within the cpio. Open up the other panel via ssh into C, browse around and copy files from within the cpio within the rpm on A , over to C, all point-click-drool in a few seconds. All necessary copying and ftp-ing and sftping and bunzip2/gunzip/cpio/tar/rpm/etc... all that's handled automatically on the fly and transparently in temp dirs in the background and you are just presented with the magic. Oh which reminds me, you could actually be doing that litterly by point-click, since mc has xterm mouse integration, not that I consider that an especially useful feature, but it's a feature almost nothing else has none the less. Then there is the customizeable context menus and action menus. You want mc to recognize a new kind of file? no sweat you can edit the context menu and/or you can write your own file unpacker/browser script in the case the new type of file happens to be any kind of archive, like say, a few years ago when Stapede Linux looked promising, I wrote a mc integration script to browse the insides of .slp files (Stampede's package format). It wasn't that hard. You just take one of the existing scripts for something similar like rpm and modify a few functions for unpacking, listing contents in a defined format that mc expects, repackaging. I don't think there is anything even remotely close to mc, for what mc does, in a text interface. There may be more or at least equally useful gui apps, and there definitely are ftp clients with more ftp-specific features, at the expense of the million other mc features. -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2008/07/29 10:13 (GMT+0200) Nico Sabbi apparently typed:
is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
It's FTP works fine for me. Check out: http://www.softpanorama.org/OFM/index.shtml -- "Do not let the sun go down while you are still angry." Ephesians 4:26 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 July 2008 03:13:34 am Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
It would be nice to know what particular features are annoying you. Maybe authors can do something about. <history> Long time ago (in the land of kings, princes and other folk) I was checking file managers included in S.u.S.E. There was quite a few of them, and the only one that impressed me was Midnight Commander. Some of them were close to Norton Commander, but mc was better than original. </history> -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 July 2008 16:42:06 Rajko M. wrote:
On Tuesday 29 July 2008 03:13:34 am Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
- the symlinking transfer was never implemented (lftp implements it) - when the connection times out you have to quit mc and re-connect or you can't go on - when there are attributes that couldn't be copied mc asks you confirmation for each file (hit ok on thousands of files and you will understand why I find it annoying :) ) - when copying very nested directory trees mc wants to scan it all (and takes ages) ... and more I'm probably forgetting -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 July 2008 09:52:21 am Nico Sabbi wrote:
On Tuesday 29 July 2008 16:42:06 Rajko M. wrote:
On Tuesday 29 July 2008 03:13:34 am Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
- the symlinking transfer was never implemented (lftp implements it)
You mean if you want to copy symlink (F5) it will copy symlink, but not the directory where symlink points to.
- when the connection times out you have to quit mc and re-connect or you can't go on
There is timeout, but it is way too long, but you have to reconnect manually anyway, and it should actually try to reconnect.
- when there are attributes that couldn't be copied mc asks you confirmation for each file (hit ok on thousands of files and you will understand why I find it annoying :) )
It should offer a window where you can tell what would be the policy for files. I guess it doesn't. I didn't copy files from Linux to FAT32 for a while, so I can't recall associated problems.
- when copying very nested directory trees mc wants to scan it all (and takes ages)
It might be better to check, the Konqueror does the same. I don't know is it absolutely necessary. Never thought about that.
... and more I'm probably forgetting
Sure :-) I use workarounds or different programs for functions that doesn't work as I like. I consider ftp ability nice, but not essential, and on the other hand, there must be some limit what one program should do, or everything would be like Emacs. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2008-07-29 at 11:56 -0500, Rajko M. wrote:
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
...
- when the connection times out you have to quit mc and re-connect or you can't go on
There is timeout, but it is way too long, but you have to reconnect manually anyway, and it should actually try to reconnect.
I have seen that problem. It is not possible to reconnect or I haven't seen how. I have to completely exit mc to reconnect from the start.
- when there are attributes that couldn't be copied mc asks you confirmation for each file (hit ok on thousands of files and you will understand why I find it annoying :) )
It should offer a window where you can tell what would be the policy for files. I guess it doesn't. I didn't copy files from Linux to FAT32 for a while, so I can't recall associated problems.
Then try. The window you mean only asks if it should overwrite and when. If, for example, the destination tree is vfat and the owner is different than that of the source files, it will complain on every single file that it can not change the owner, or that it can not copy the attributes. It is known before starting that fact, but nevertheless it complains on every single file. If you are replicating trees with thousands of files it becomes unpractical. This nuisance dies not need ftp. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIj7dntTMYHG2NR9URAifoAJ4wepiRG2iePWkhGhdBXsiYjjpQUgCfeSOG 7WZC9YOEF3/Dq+ExmW7rNEc= =MCap -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 July 2008 07:35:51 pm Carlos E. R. wrote:
The Tuesday 2008-07-29 at 11:56 -0500, Rajko M. wrote:
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
...
- when the connection times out you have to quit mc and re-connect or you can't go on
There is timeout, but it is way too long, but you have to reconnect manually anyway, and it should actually try to reconnect.
I have seen that problem. It is not possible to reconnect or I haven't seen how. I have to completely exit mc to reconnect from the start.
It is possible not to exit mc if you suspect ftp timeout, like when you browse server and leave computer for couple of minutes. Just run 'cd' from command line. It will place you in you home directory and you can connect manually again, but if you try to browse it will very long. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 07:15:51 Rajko M. wrote:
On Tuesday 29 July 2008 07:35:51 pm Carlos E. R. wrote:
The Tuesday 2008-07-29 at 11:56 -0500, Rajko M. wrote:
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
...
- when the connection times out you have to quit mc and re-connect or you can't go on
There is timeout, but it is way too long, but you have to reconnect manually anyway, and it should actually try to reconnect.
I have seen that problem. It is not possible to reconnect or I haven't seen how. I have to completely exit mc to reconnect from the start.
It is possible not to exit mc if you suspect ftp timeout, like when you browse server and leave computer for couple of minutes. Just run 'cd' from command line. It will place you in you home directory and you can connect manually again, but if you try to browse it will very long.
no, try it yourself: rerunning cd ftp://server doesn't work: it just shows an empty directory. You must exit mc and restart it -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 02:26:44 am Nico Sabbi wrote:
no, try it yourself: rerunning cd ftp://server doesn't work: it just shows an empty directory. You must exit mc and restart it
openSUSE 11.0 mc 4.6.2pre1 1) I left mc hanging in ftp://ftp5.gwdg.de/pub/opensuse/distribution/11.1-Alpha1/iso/cd for a night, and back arrow worked fine first time since I use mc. Is it a server or mc that is good now? Before it always hung. I'll check with some other servers. 2) I don't type "cd /#ftp:ftp.gwdg.de/pub" I use menu for pane that I want to use for ftp listing. The pop up window has up arrow ^ that gives you access to history. It is lesser typing. 3) Also I was going to my local home directory first, that is what plain 'cd' without parameters is doing, and then dial ftp server again using menu. This procedure is faster than F10, and then type mc again and wait to start. As it didn't hang this time, I'll have to test this more. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-07-30 at 05:08 -0500, Rajko M. wrote:
no, try it yourself: rerunning cd ftp://server doesn't work: it just shows an empty directory. You must exit mc and restart it
openSUSE 11.0 mc 4.6.2pre1
1) I left mc hanging in ftp://ftp5.gwdg.de/pub/opensuse/distribution/11.1-Alpha1/iso/cd for a night, and back arrow worked fine first time since I use mc. Is it a server or mc that is good now? Before it always hung. I'll check with some other servers.
I'm trying it with my local "vsftpd". I changed the config to idle_session_timeout=60 but it doesn't time out. But then, looking at the log, I see this: Jul 30 13:56:03 nimrodel vsftpd: Wed Jul 30 13:56:03 2008 [pid 29360] CONNECT: Client "127.0.0.1" Jul 30 13:56:03 nimrodel vsftpd: Wed Jul 30 13:56:03 2008 [pid 29359] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@" Jul 30 14:00:14 nimrodel vsftpd: Wed Jul 30 14:00:14 2008 [pid 29428] CONNECT: Client "127.0.0.1" Jul 30 14:00:14 nimrodel vsftpd: Wed Jul 30 14:00:14 2008 [pid 29427] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@" Jul 30 14:13:10 nimrodel vsftpd: Wed Jul 30 14:13:10 2008 [pid 29568] CONNECT: Client "127.0.0.1" Jul 30 14:13:10 nimrodel vsftpd: Wed Jul 30 14:13:10 2008 [pid 29567] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@" Ie, mc is keeping the session active, or rather relogs-in when I try to list another dir. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkFyxtTMYHG2NR9URAgBdAJsEkoGP6ox2KjYlt4vl05t2XPlWWQCfb6gy Yu93SxEt9JlTjQnqIWk8Vo0= =s2XL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 14:20:54 Carlos E. R. wrote:
I'm trying it with my local "vsftpd". I changed the config to
idle_session_timeout=60
but it doesn't time out. But then, looking at the log, I see this:
Jul 30 13:56:03 nimrodel vsftpd: Wed Jul 30 13:56:03 2008 [pid 29360] CONNECT: Client "127.0.0.1" Jul 30 13:56:03 nimrodel vsftpd: Wed Jul 30 13:56:03 2008 [pid 29359] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@" Jul 30 14:00:14 nimrodel vsftpd: Wed Jul 30 14:00:14 2008 [pid 29428] CONNECT: Client "127.0.0.1" Jul 30 14:00:14 nimrodel vsftpd: Wed Jul 30 14:00:14 2008 [pid 29427] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@" Jul 30 14:13:10 nimrodel vsftpd: Wed Jul 30 14:13:10 2008 [pid 29568] CONNECT: Client "127.0.0.1" Jul 30 14:13:10 nimrodel vsftpd: Wed Jul 30 14:13:10 2008 [pid 29567] [ftp] OK LOGIN: Client "127.0.0.1", anon password "-anonymous@"
Ie, mc is keeping the session active, or rather relogs-in when I try to list another dir.
not for me. Did you set anything in particular? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 07:49:43 am Nico Sabbi wrote:
not for me. Did you set anything in particular?
Check version Nico. Here is openSUSE 11.0 mc 4.6.2pre1 You can see version if you press F1 (help). My only change is activating "Lynx like motion", which is described here: http://en.opensuse.org/Midnight_Commander/Tips#Lynx_like_motion all other stuff is unchanged. My browsing trough ftp server is using above feature. Can you give me some server where you have a problem. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 16:17:51 Rajko M. wrote:
On Wednesday 30 July 2008 07:49:43 am Nico Sabbi wrote:
not for me. Did you set anything in particular?
Check version Nico.
Here is openSUSE 11.0 mc 4.6.2pre1
You can see version if you press F1 (help).
mc-4.6.1-140 on openSuse 10.3
My only change is activating "Lynx like motion", which is described here: http://en.opensuse.org/Midnight_Commander/Tips#Lynx_like_motion all other stuff is unchanged. My browsing trough ftp server is using above feature.
Can you give me some server where you have a problem.
they are mostly corporate servers I can't publish, but I'm sure many public ftp sites would show the same behaviour -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 30 July 2008 10:05:09 am Nico Sabbi wrote:
On Wednesday 30 July 2008 16:17:51 Rajko M. wrote:
On Wednesday 30 July 2008 07:49:43 am Nico Sabbi wrote:
not for me. Did you set anything in particular?
Check version Nico.
Here is openSUSE 11.0 mc 4.6.2pre1
You can see version if you press F1 (help).
mc-4.6.1-140 on openSuse 10.3 ...
Can you give me some server where you have a problem.
they are mostly corporate servers I can't publish, but I'm sure many public ftp sites would show the same behaviour
It is the new 4.6.2pre1 version that works properly. Check this for 10.3 version: http://packages.opensuse-community.org/index.jsp?distro=openSUSE_103&searchTerm=midnight+commander Official openSUSE search is right now in maintenance, but one above was first and the only one for some time. BTW, I lost Internet just in moment I was testing the feature and .... Well, I noticed the router is offline just in time, not to send email with description of problems. -- Regards, Rajko http://en.opensuse.org/Portal needs helpful hands. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-07-30 at 14:49 +0200, Nico Sabbi wrote:
Ie, mc is keeping the session active, or rather relogs-in when I try to list another dir.
not for me. Did you set anything in particular?
Not that I know. By the way, I had a look again and the same xterm I had left alone for over two hours. As soon as I tried, it forced me out of the ftp session, and I can't log in again. The bug is demonstrated. I'll leave that xterm as it is, and if somebody can think of a method to log in again, without exiting mc... And it is not the ftp server timeout. It is a time out internal to midnight commander (the server timeout is one minute), and I don't know how long it is. mc-4.6.1-140 opesnsuse 10.3 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkH/QtTMYHG2NR9URAgV6AJ9Pq2y+lPA9AqOT/L3jb5tML1cJNgCeLwYc Xc/SWDnLxiKDEUFZVEIKHiU= =lPv/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
----- Original Message -----
From: "Rajko M."
On Tuesday 29 July 2008 09:52:21 am Nico Sabbi wrote:
On Tuesday 29 July 2008 16:42:06 Rajko M. wrote:
On Tuesday 29 July 2008 03:13:34 am Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
It would be nice to know what particular features are annoying you. Maybe authors can do something about.
- the symlinking transfer was never implemented (lftp implements it)
You mean if you want to copy symlink (F5) it will copy symlink, but not the directory where symlink points to.
Worse than that. When you copy a symlink via ssh, you don't get any indication it's a symlink, and you get is a few bytes of the beginning of the file. Say on the remote site there is a file "fakefoo". fakefoo is a symlink to "foo". That is, it's a relative link to another file in the current directory, the symlink actually contains just "foo" not "/path/to/foo" Say the content of foo is: 0123456789abcdefghijklmnopqrstuvwxyz When you fire up mc and use shell-link (ssh) to connect to the remote box: * fakefoo will appear like a regular file in the file list * it will have a * if executable, or no mode indicator if a plain file, etc, but never an @ * it will have a length of 36 (the length of the real file) * if you view fakefoo, all you will get is "012" (the length of the filename in the symlink) * if you copy fakefoo, the new file on the local side will be a plain file not a symlink, and the contents will be "012" * if the symlink contained say "/path/to/foo" instead of "foo" then the viewing/copying fakefoo would get you "0123456789ab" (the length of the filename in the symlink) That's a pretty ugly behaviour, receiving a dozen bytes from an executable, or "#!/bi" instead of a script, but in each case saved in a local plain file with the same execute & other perms set. Let alone the more correct thing would be to receive a symlink anyways, not any content of the symlink target file. (setting aside the "dive into symlinks" feature) Because of this, I still use mc for a lot of miscelaneous file shuffling, including via ftp and ssh, but I just always do so with this in mind. Any ime I need to move a whole tree that might contain symlinks or other special files, I just use rsync instead. I don't remember if this maybe only happens via ssh or ftp, or maybe only when sshing or ftp-ing to certain ssh or ftp servers. Definitely it hapens at least via ssh between any combination of linux, freebsd, sco open server, though they all use the same openssh which is surely the meaningful element other than mc itself, not the underlying os. -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-07-30 at 02:08 -0400, Brian K. White wrote:
Worse than that. When you copy a symlink via ssh, you don't get any indication it's a symlink, and you get is a few bytes of the beginning of the file. Say on the remote site there is a file "fakefoo". fakefoo is a symlink to "foo". That is, it's a relative link to another file in the current directory, the symlink actually contains just "foo" not "/path/to/foo" Say the content of foo is: 0123456789abcdefghijklmnopqrstuvwxyz
...
I don't remember if this maybe only happens via ssh or ftp, or maybe only when sshing or ftp-ing to certain ssh or ftp servers. Definitely it hapens at least via ssh between any combination of linux, freebsd, sco open server, though they all use the same openssh which is surely the meaningful element other than mc itself, not the underlying os.
It does not happen when you copy trees locally. I have used this function often, copying symlinks, and never noticed the problem you refer. With a remote tree I don't know. Could you write a bugzilla? Your info is very detailed, and it should be worth it, so we can hope they correct it sometime. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkDfKtTMYHG2NR9URAgs/AJ93sA7TORxdbN/RS4Qi0T4UkoqAswCfSj44 7NId+cC65ug240eM1iCG8FY= =G2KX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 July 2008 04:13:34 am Nico Sabbi wrote:
Hi, is there a console/text file-manager alternative to mc? mc works quite well, but it has some limitations (especially in its ftp part) that sometimes annoy me a lot.
How about fish:// ?? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
Brian K. White
-
Carlos E. R.
-
Felix Miata
-
ka1ifq
-
Larry Stotler
-
Nico Sabbi
-
Pavol Rusnak
-
Rajko M.