Softpanorama

May the source be with you, but remember the KISS principle ;-)
Contents Bulletin Scripting in shell and Perl Network troubleshooting History Humor

OFM Bulletin, Vol 17 (2013)

2016 2015 2014 2013 2012 2011 2010 2009 2008 2007
2006 2005 2004 2003 2002 2001 2000 1999 1998 Archives

[Oct 29, 2013] Some 64 bit Farmanager plugin links by Justin Dearing

Mar 27. 2012 | Just A Programmer

Iíve previously written about my love of FAR, the File and ARchive manager. One of its greatest strengths is all the plugins written for it. However, some of the most popular plugins are no longer maintained (because they just work), and were not ported to 64 bit. Luckily, this is becoming less and less of an issue.

I have therefore compiled this short list of sites with 64-bit FarManager plugins. BTW these days U run nightly builds of Far3. Some of these plugins might not work in Far2.

UPDATES 2012-09-06:

[Oct 29, 2013] My new favorite tool, the Far File manager by Justin Dearing

Jun 21, 2010 | Just A Programmer

Installing Far and plugins.

Far is available on http://farmanager.com. There is a 1.7 and 2.0 version. The 2.0 version supports unicode asnd the 1.7 version us the legacy ascii version. You can get 64 bit binaries for both versions. You can install far via an MSI, or a 7-zip archive.

After you install Far, you will want to install several plugins. I will highlight my favorite ones here. ote that while binaries compiled against the far 1.7 SDK will work with Far 2.0, 32 bit plugins will not work with 64 bit far. For this reason you probably want to install the 32 bit version of Far, unless you are like me and like pain.

Except where mentioned, these plugins can either be found at the plugring site, or for 64 bit binaries, the evil programmers google code project. I will go through some of the plugins I like below.

7-Zip

As far as I know, there is no 64 bit version of this available yet. However, I probably just havenít found it yet. If you install far without this plugin, you can browse the contents of most archives in Far. However, you will not be able to copy files out of them. Iíve yet to try getting the built-in archive support full working. However, with all the archives supported by 7-zip, Iím in no hurry to.

Event Viewer

This works like a text mode only version of eventvwr.exe. Iíve yet to find a truly compelling case to use it over the standar gui version. However, its nice to have an alternative tool for any job.

Service Manager

This is really convenient. It lists drivers and services temperately. It also allows you to edit things you canít in the mmc snap-in, such as the path to the binary the service executes. Finally, it lets you create a new service. You rarely need to do this, but when you do its hard to find a good tool for the job.

User Manager

This one is really useful, especially on XP Home edition. Functionality is similar to the ďLocal Users and GroupsĒ section of the Computer Management MMC snap-in on XP Pro. The thing I really love about it is you can set the ďUser must change password at next logonĒ flag on a user in XP Home Edition. I spent the good part of a train ride from Penn Station to Islip on Friday failing to achieve this in other ways. Iím not saying its the only way this task can be done. Iím just saying that this plugin will let me accomplish this task easily.

User Must Change Password At Next Logon

WinSCP

The arbitrariness of alphabetical order has put what is perhaps the most useful plugin last. There is a GUI scp/sftp client for windows called WinSCP. The author also made a Far plug-in based on the same code.

This plug-in, along with the 7-zip one, also take advantage of one of the most powerful intrinsic features of Far. With Far, you can copy any file from one panel to another, regardless of whether the panels contain a local folder, a unc path, the inside of an archive, or a sftp folder. Because of this, Far is a great tool for moving files to and from remote servers.

Conclusion

Far is a great file manager, and I will spend more time getting to know it. I think all programmers and sys-admins that work with Windows should get familiar with it as well.

Bookmark Commander

Bookmark Commander is a Midnight Commander clone made to work with Chrome bookmarks.

[May 23, 2013] WinSCP 5.1.5 released

Download winscp515setup.exe

5.1.4, 2013-02-18

5.1.3, 2013-01-06

5.1.2, 2012-12-02

5.1.1, 2012-11-06

[Mar 28, 2013] Far Manager v3.0 build 3258 x86 is available (2013-03-20)

[Mar 28, 2013] Re midnight commander internal cd in scripts

On Fri, 22 Feb 2013 20:16:17 +0200 Elad Rom wrote:
Is there a way to cd into a folder (be it ssh, ftp or local folders)
from an existing instance of midnight commander through a shell script?

Example:
Inside an open MC instance, in my home folder, there is a file called "somessh.sh".
When I hit enter on this executable, I want mc to cd into the directory I specify inside the file (E.g. 
~/Downloads)
as if I'm using the cd in the mini-command line or via quick cd.
When you run shell script, you run new shell which is child process of MC.
When you do cd in the script, you change working directory of that child
shell. Working directory of parent is unchanged. You unable to change working
directory of parent from child.

You have to use the "source" built-in shell command to run script in current
process context. This allows you change current directory from script.

Search using MC
Google is becoming the most powerful entity in the world, 
because knowledge search, AND FIND, is the most profitable
activity, at this stage of humanity's technological development.

`mc` has got some nice little search aids.
An important reason why *pdf is to be discouraged, is that it HOGS
text search.

Here's a well used/tested script to find eg. that critical file
which mentioned <String1> <String2> <String3> which you read in
the last D-days, and fortunately you're confident that it's in
the DirectoryTree $5:--------

#!/bin/bash
echo ' Fnd3StrngsD DaysOld Str1 Str2 Str3 DirTree'

    find $5 -type f -ctime -$1 -print0 | \
    xargs -0 grep -l $2 | tr "\n" "\0" | \
    xargs -0 grep -l $3 | tr "\n" "\0" | \
    xargs -0 grep -l $4
--------------- EOF ----------------

Now lets evolve a script that:

Finds a string which we recently read/editied with `mc`,
in some unknown file, by hopefully using <mc's history>,
or what ever YOU can think of.

BTW, mc is well respected by those who've found its use, although there's a
substantial sector who have a macho-kiddie attitude that "I don't need menus
and memory aids, and I can type fluently like Rubenstein plays the piano".

OTOH, mc-users are missing out on the [should be there] USER contributed
library of utilities, which conveniently hook-into the existing mc framework.

Real successful projects flourish by user contributions; not just fixing
patches reported by users.

Here's my initial stab at the above problem:-
=> Find recent ref to <visual?studio>
==> search <mc-history>
=> whereis <mc-history> ==  ~/.mc/history
=> how BIG is it?  -> cat  ~/.mc/history | wc -l == 880
==> is it update at the top or bottom?
== *THIS* file is the latest that mc has 'seen'
-> cat  ~/.mc/history | grep AmbigusXmpls == na
=?=>  grep AmbigusXmpls is not yet recorded in  ~/.mc/history
==> nor when we exit and change panels.
That's dissapointing and surprising, since a related script idea which has
 proved successful for 6 months: F1 <string>
 successfully list the <files | grep string> which have recently bee visited.

F1 is a mess, with some non-mc-stuff but this is it:--
-> cat `which F1` ==
# p0 == cat /tmp/ObnTmp      ;  p  "text string" == echo $1 >>  /tmp/ObnTmp
cat /tmp/ObnTmp | grep $1
cat /s4 | grep $1
#cat /home/Softwr/mcExtend/filepos.history

cat ~/.mc/filepos  | grep $1
cat ~/.mc/history  | grep $1
------------------------- EOF ----------------------------------

So let's move beyond "how can I get my mc to run properly".

WDYS?

PS. I can't believe that *THIS* file is unknown;
so let me try my PROVEN: -> F1 mbigus
== /mnt/hdc11/AI/LimitSyntx/AmbigusXmpls 60;0

OK, so it's NOT in  ~/.mc/history.
It's KNOWN somewhere else, where `F1` searches.
Now lets have others contribute, something: evolve/complete this utility.



Etc

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit exclusivly for research and educational purposes.   If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner. 

ABUSE: IPs or network segments from which we detect a stream of probes might be blocked for no less then 90 days. Multiple types of probes increase this period.  

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Haterís Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least


Copyright © 1996-2016 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License.

The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to make a contribution, supporting development of this site and speed up access. In case softpanorama.org is down you can use the at softpanorama.info

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.

Last modified: October, 11, 2015