debian/0000755000000000000000000000000012127033416007165 5ustar debian/postrm0000644000000000000000000000044412127033173010436 0ustar #!/bin/sh set -e case "$1" in purge) rm -f /etc/fdclone/fd2rc.siteconfig ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/fdclone.doc-base.readme0000644000000000000000000000035012127033173013430 0ustar Document: fdclone-readme Title: Debian fdclone README Author: Takashi Shirai Abstract: This manual describes what fdclone is. Section: File Management Format: text Files: /usr/share/doc/fdclone/README.eng.gz debian/compat0000644000000000000000000000000212127033173010363 0ustar 9 debian/patches/0000755000000000000000000000000012127033173010614 5ustar debian/patches/30_makefilein_setting.patch0000644000000000000000000000402112127033173015775 0ustar Description: install files in the correctly Debian's path This setting values to install files in the correctly Debian's path. Index: fdclone/Makefile.in =================================================================== --- fdclone.orig/Makefile.in 2013-03-31 19:59:08.000000000 -0500 +++ fdclone/Makefile.in 2013-03-31 20:15:09.000000000 -0500 @@ -12,7 +12,7 @@ BINTOP = $(PREFIX)/bin BINDIR = $(BUILD)$(BINTOP) DATATOP = $(PREFIX)/share -DATADIR = $(BUILD)$(DATATOP)/fd +DATADIR = $(BUILD)$(DATATOP)/fdclone MANTOP = $(PREFIX)/man MANDIR = $(BUILD)$(MANTOP)/man$(MANSEC) CATDIR = $(BUILD)$(MANTOP)/cat$(MANSEC) @@ -480,24 +480,24 @@ install-table: $(TABLE) mkdir_p$(EXE) -if [ -f $(UNITBL) ]; then \ - [ -d __DATADIR__ ] || ./mkdir_p$(EXE) __DATADIR__; \ - $(INSTALL) $(UNITBL) __DATADIR__; \ - $(CHMOD) a+r-x __DATADIR__/$(UNITBL); \ + [ -d $(DATADIR) ] || ./mkdir_p$(EXE) $(DATADIR); \ + $(INSTALL) $(UNITBL) $(DATADIR); \ + $(CHMOD) a+r-x $(DATADIR)/$(UNITBL); \ fi -if [ -f $(DICTTBL) ]; then \ - [ -d __DATADIR__ ] || ./mkdir_p$(EXE) __DATADIR__; \ - $(INSTALL) $(DICTTBL) __DATADIR__; \ - $(CHMOD) a+r-x __DATADIR__/$(DICTTBL); \ + [ -d $(DATADIR) ] || ./mkdir_p$(EXE) $(DATADIR); \ + $(INSTALL) $(DICTTBL) $(DATADIR); \ + $(CHMOD) a+r-x $(DATADIR)/$(DICTTBL); \ fi -if [ -f $(CATTBL) ]; then \ - [ -d __DATADIR2__ ] || ./mkdir_p$(EXE) __DATADIR2__; \ - $(INSTALL) $(CATTBL) __DATADIR2__; \ - $(CHMOD) a+r-x __DATADIR2__/$(CATTBL); \ + [ -d $(DATADIR)/$(VERSION) ] || ./mkdir_p$(EXE) $(DATADIR)/$(VERSION); \ + $(INSTALL) $(CATTBL) $(DATADIR)/$(VERSION); \ + $(CHMOD) a+r-x $(DATADIR)/$(VERSION)/$(CATTBL); \ fi -if [ -f $(ECATTBL) ]; then \ - [ -d __DATADIR2__ ] || ./mkdir_p$(EXE) __DATADIR2__; \ - $(INSTALL) $(ECATTBL) __DATADIR2__; \ - $(CHMOD) a+r-x __DATADIR2__/$(ECATTBL); \ + [ -d $(DATADIR)/$(VERSION) ] || ./mkdir_p$(EXE) $(DATADIR)/$(VERSION); \ + $(INSTALL) $(ECATTBL) $(DATADIR)/$(VERSION) ; \ + $(CHMOD) a+r-x $(DATADIR)/$(VERSION)/$(ECATTBL); \ fi install-man: $(MANSRC) mkdir_p$(EXE) debian/patches/01_previous_changes.patch0000644000000000000000000000571012127033173015504 0ustar Description: configure fdclone for works properly under Debian This allows for customize fdclone configuration for works properly under Debian. Originally 01_previous_changes.dpatch Author: Sandro Tosi Index: fdclone/Configur =================================================================== --- fdclone.orig/Configur 2013-03-30 15:41:36.000000000 -0500 +++ fdclone/Configur 2013-03-30 15:45:11.000000000 -0500 @@ -675,12 +675,7 @@ if isexist "sysconf(0)"; then echo "#define USESYSCONF" fi -if isexist "_llseek(0,0,0,0,0)" linux/unistd "static _syscall5(int, _llseek, - unsigned int, fd, - unsigned long, ofs_h, - unsigned long, ofs_l, - long long *, result, - unsigned int, whence); +if isexist "_llseek(0,0,0,0,0)" "sys/syscall" "#define _llseek(fd, ofs_h, ofs_l, result, whence) syscall(SYS__llseek, fd, ofs_h, ofs_l, result, whence) "; then echo "#define USELLSEEK" fi Index: fdclone/config.hin =================================================================== --- fdclone.orig/config.hin 2013-03-30 15:41:36.000000000 -0500 +++ fdclone/config.hin 2013-03-30 15:45:11.000000000 -0500 @@ -4,3 +4,4 @@ * definitions for each OS */ +#define USEDATADIR Index: fdclone/dosdisk.c =================================================================== --- fdclone.orig/dosdisk.c 2013-03-30 15:41:36.000000000 -0500 +++ fdclone/dosdisk.c 2013-03-30 15:46:30.000000000 -0500 @@ -22,7 +22,7 @@ #ifdef LINUX #include "mntinfo.h" #include -#include +#include # ifndef BLKFLSBUF # include # endif @@ -375,12 +375,7 @@ #ifdef USELLSEEK # ifdef _syscall5 # undef _llseek -static _syscall5(int, _llseek, - u_int, fd, - u_long, ofs_h, - u_long, ofs_l, - l_off_t *, result, - u_int, whence); +#define _llseek(fd, ofs_h, ofs_l, result, whence) syscall(SYS__llseek, fd, ofs_h, ofs_l, result, whence) # endif static l_off_t NEAR Xllseek(fd, offset, whence) Index: fdclone/fd.h =================================================================== --- fdclone.orig/fd.h 2013-03-30 15:41:36.000000000 -0500 +++ fdclone/fd.h 2013-03-30 15:45:11.000000000 -0500 @@ -94,8 +94,8 @@ * If you don't like the following tools as each uses, * * you should rewrite another suitable command name. * ****************************************************************/ -#define PAGER "more%K" /* to view file */ -#define EDITOR "vi" /* to edit file */ +#define PAGER "/usr/bin/pager" /* to view file */ +#define EDITOR "/usr/bin/editor" /* to edit file */ /**************************************************************** Index: fdclone/version.h =================================================================== --- fdclone.orig/version.h 2013-03-30 15:41:36.000000000 -0500 +++ fdclone/version.h 2013-03-30 15:45:11.000000000 -0500 @@ -4,5 +4,5 @@ * version number */ -char *distributor = NULL; +char *distributor = "sano@debian.org (Taketoshi Sano)"; static char version[] = "@(#)fd.c 3.01 08/03/12"; debian/patches/10_bts436823_remove_strip_makefile.patch0000644000000000000000000000144412127033173020055 0ustar Description: allow fdclone remove strips in makefile This allows install fdlclone binary without strips Originally 10_bts436823_remove_strip_makefile.dpatch Author: Sandro Tosi Index: fdclone/Makefile.in =================================================================== --- fdclone.orig/Makefile.in 2013-03-30 15:10:50.000000000 -0500 +++ fdclone/Makefile.in 2013-03-30 15:56:30.000000000 -0500 @@ -468,7 +468,7 @@ install: $(PROGRAM)$(EXE) mkdir_p$(EXE) install-table install-man install-jman [ -d $(BINDIR) ] || ./mkdir_p$(EXE) $(BINDIR) - $(INSTALL) __INSTSTRIP__ $(PROGRAM)$(EXE) $(BINDIR) + $(INSTALL) $(PROGRAM)$(EXE) $(BINDIR) $(CHMOD) a+rx $(BINDIR)/$(PROGRAM)$(EXE) -$(RM) $(BINDIR)/$(ALIAS)$(EXE) $(LN) $(BINDIR)/$(PROGRAM)$(EXE) $(BINDIR)/$(ALIAS)$(EXE) debian/patches/20_lintian_manpage_warning.patch0000644000000000000000000000300112127033173017003 0ustar Description: allow fdclone fix lintian warnings This fix hyphen-used-as-minus-sign warnings in manpage Forwarded: yes Author: Elías Alejandro Año Mendoza Last-Update: 2013-04-02 Index: fdclone/fd.man =================================================================== --- fdclone.orig/fd.man 2013-04-01 18:27:00.000000000 -0500 +++ fdclone/fd.man 2013-04-01 18:27:36.000000000 -0500 @@ -764,7 +764,7 @@ $B$HI=<($5$l$^$9!#(B .IP "\fB$B%U%!%$%k%?%$%W%7%s%\%kI=<($N@ZBX$((B\fP" .BR ls (1) -$B$N(B -F $B%*%W%7%g%s$G$NI=<($HF1MM$K!"(B +$B$N(B \-F $B%*%W%7%g%s$G$NI=<($HF1MM$K!"(B $B%U%!%$%k0lMw%j%9%H$N%U%!%$%kL>$NMs$K!"(B $B$=$N%U%!%$%k$N%?%$%W$rI=$9%7%s%\%kJ8;z$rIU2C$7$FI=<($7$^$9!#(B $B%H%0%k%9%$%C%A$G%7%s%\%k$NI=<(HsI=<($r@ZBX$($^$9!#(B Index: fdclone/fd_e.man =================================================================== --- fdclone.orig/fd_e.man 2013-04-01 18:27:00.000000000 -0500 +++ fdclone/fd_e.man 2013-04-01 18:28:55.000000000 -0500 @@ -783,7 +783,7 @@ .IP "\fBSwitch file type symbol mode\fP" Switch to display the symbol which means the file type after the filename in the file list, -like as the display in -F option of +like as the display in \-F option of .BR ls (1). It is toggle to switch if display the symbol or not. The each symbol means the following. @@ -4405,7 +4405,7 @@ macro is specified. .SS Customize You can customize -.fd +.B fd as the following ways. If you specify some configuration in multiple ways overlapped, it is prior in this order. debian/patches/series0000644000000000000000000000024212127033173012027 0ustar 10_bts436823_remove_strip_makefile.patch 20_lintian_manpage_warning.patch 30_makefilein_setting.patch 40_lintian_manpage_spelling.patch 01_previous_changes.patch debian/patches/40_lintian_manpage_spelling.patch0000644000000000000000000000646712127033173017200 0ustar Description: Fix lintian warnings in english manpage This fix spelling-error-in-manpage warnings Forwarded: yes Author: Elías Alejandro Año Mendoza Last-Update: 2013-04-02 Index: fdclone/fd_e.man =================================================================== --- fdclone.orig/fd_e.man 2013-04-01 18:29:35.000000000 -0500 +++ fdclone/fd_e.man 2013-04-01 18:37:47.000000000 -0500 @@ -175,7 +175,7 @@ seconds. .IP \fB2\fP The information line. -It displays informations in this order: +It displays information in this order: the current page (and the total pages), the number of marks (ant the total marks), the sorted type, @@ -2842,7 +2842,7 @@ .IP "\fB\-b\fP" When a background job has been terminated, its status report will be displayed immediately. -there is no effect when the job control is not enable. +there is no effect when the job control is not enabled. .IP "\fB\-C\fP" Prevent overwriting to any existent files in redirection. .IP "\fB\-e\fP" @@ -3691,7 +3691,7 @@ .B http is .BR 80 . -You can specify account informations to connect the remote host as +You can specify account information to connect the remote host as .I user and .IR password . @@ -5008,7 +5008,7 @@ .B http as .IR scheme . -You can specify account informations to connect the proxy server as +You can specify account information to connect the proxy server as .I user and .IR password . @@ -5101,7 +5101,7 @@ .B http as .IR scheme . -You can specify account informations to connect the proxy server as +You can specify account information to connect the proxy server as .I user and .IR password . @@ -5338,7 +5338,7 @@ Specify the minimum character length of filename display area in the file list. When the area enough to be specified here cannot be obtained, -the informations are reduced in the order of UID, GID, timestamp, size. +the information are reduced in the order of UID, GID, timestamp, size. The default value is .B 12 characters. @@ -5363,7 +5363,7 @@ .B (UNIX) .IP "\fBPRECEDEPATH\fP" Specify the file preceding function, -which displays only filenames before obtaining their file informations, +which displays only filenames before obtaining their file information, for the directory which has a lot of files like as /dev. You can specify multiple pathnames separating with .RB ' : '. @@ -5373,7 +5373,7 @@ in all of the directories under that directory. When the file preceding function is effective, any files are not sorted in that directory, -and file informations are obtained file by file while waiting the key input. +and file information are obtained file by file while waiting the key input. No pathname is specified by default. .IP "\fBPRECOPYMENU\fP" Display the menu in advance, @@ -5761,10 +5761,10 @@ Specify communication options, when the URL drive communicates with the host. You can select individually whether if PASV, PORT, MDTM, FEAT each commands for the FTP communication are limited or not, -or whether if the exact file informations are need or not. +or whether if the exact file information are need or not. On the HTTP protocol, you will get the timestamp and size of files with some rounding error in bulk. -If you need the exact informations, +If you need the exact information, the operations by file will spend the more communication time. The default value is .BR 0 . debian/rules0000755000000000000000000000211512127033173010244 0ustar #!/usr/bin/make -f export PKGDIR=`pwd`/debian/fdclone CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) CFLAGS+=-Wall CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) %: dh $@ override_dh_auto_configure: $(MAKE) config override_dh_auto_clean: $(MAKE) clean rm -f mkmfsed config.h mkkanji mkcat fd-cat.ja fd-cat.C mkmf.sed override_dh_auto_build: $(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" PREFIX=/usr CONFDIR=/etc/fdclone override_dh_install: $(MAKE) install PREFIX=$(PKGDIR)/usr \ DATADIR=$(PKGDIR)/usr/share/fdclone \ MANDIR=$(PKGDIR)/usr/share/man/man1 \ EMANDIR=$(PKGDIR)/usr/share/man/man1 \ JMANDIR=$(PKGDIR)/usr/share/man/ja/man1 \ JCATDIR=$(PKGDIR)/usr/share/man/ja/man1 \ DEFRC=$(PKGDIR)/etc/fdclone/fd2rc install -m 644 debian/addition/fd2rc.deb $(PKGDIR)/etc/fdclone/fd2rc rm -f $(PKGDIR)/usr/bin/fdsh cd $(PKGDIR)/usr/bin && ln -s fd fdsh override_dh_installexamples: dh_installexamples _fdrc override_dh_installman: dh_installman -a debian/addition/fdsh.1 override_dh_auto_install: debian/docs0000644000000000000000000000011012127033173010030 0ustar FAQ FAQ.eng README README.eng TECHKNOW TECHKNOW.eng ToAdmin ToAdmin.eng debian/control0000644000000000000000000000146012127033173010571 0ustar Source: fdclone Section: shells Priority: optional Maintainer: Elías Alejandro Año Mendoza Build-Depends: debhelper (>= 9.0.0), libncurses5-dev Standards-Version: 3.9.4 Homepage: http://hp.vector.co.jp/authors/VA012337/soft/fd/ Vcs-Git: git://git.debian.org/collab-maint/fdclone.git Vcs-Browser: http://git.debian.org/?p=collab-maint/fdclone.git;a=summary Package: fdclone Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: console-base lightweight file manager FD (FD represents "File and Directory") is an easy-to-use file management tool for Un*x newbies. As its name shows, this is a rewrite from scratch - the original version was written by Atsushi Idei for MS-DOS(tm) and once very popular in Japan. Messages are available either in English or in Japanese. debian/changelog0000644000000000000000000003311312127033173011040 0ustar fdclone (3.01-1) unstable; urgency=low * New upstream release * Updated Standard-Version to 3.9.4 * Bump debhelper to 9 * debian/rules enabled hardening build flags -- Elías Alejandro Año Mendoza Sun, 31 Mar 2013 20:19:19 -0500 fdclone (3.00k-1) unstable; urgency=low * New upstream release * Updated Standard-Version to 3.9.3 * Bump debhelper to 8 * Remove Build-Depends on quilt * debian/copyright update format as Debian Policy 3.9.3 * debian/rules update cleaning rules * Move packaging to collab-maint * Corrected some lintian warnings: - Updated debian-copyright to UTF-8 instead obsolete national encoding. - Fixed duplicate changelog file. -- Elías Alejandro Año Mendoza Sun, 13 May 2012 17:38:11 -0500 fdclone (3.00j-2) unstable; urgency=low * Fixed some troubles with translation table. * Fixed purging package, properly remove the configuration file. * Fixed some spelling errors in the manual page. -- Elías Alejandro Año Mendoza Sat, 27 Nov 2010 20:59:31 -0500 fdclone (3.00j-1) unstable; urgency=low * New maintainer. (Closes: #494602) * Updated Standards-Version to 3.9.1 * Rewrote Debian build system with debhelper and quilt. * debian/patches/20_lintian_manpage_warning.patch: Added. * debian/patches/30_makefilein_setting.patch: Added. * Fixed debian/watch error. * Corrected some lintian warnings: +Fixed issues with manpage. +Updated compat version. -- Elías Alejandro Año Mendoza Sat, 16 Oct 2010 09:50:01 -0500 fdclone (3.00c-1) unstable; urgency=low * QA upload. * Acknowledge NMU: thanks to Luk * New upstream release; Closes: #475345 * debian/control - added dpatch build-dep - added Homepage field - set maintainer to QA Group - bump Standars-Version to 3.8.0 - removed article from short description * debian/rules - added dpatch stuff - removed comment header - removed explicit gzip of examples, dh_compress will take care of that - removed commented dh_* calls - added variables to make install for manpage - don't ignore clean error - removed custom doc-base file installation, dh_installdocs will take care - fixed MANDIR location - removed custom fdsh.1 installation, dh_installmans will take care - added mkmf.sed removal to clean target - removed custom installation of example, dh_installexamples will take care - added removal of install-stamp file * debian/patches/01_previous_changes.dpatch - created to avoid direct upstream code changes - updated to new upstream code * debian/menu - updated section to Applications/File Management * debian/copyright - converted to UTF-8 * debian/{fdclone-faq,fdclone-readme} - updated section to File Management - removed bottom empty line - renamed to fdclone.doc-base. to let dh_installdocs do its job * debian/postinst - removed custom doc-base installation, left only touching of conf file * debian/prerm - removed since contained only doc-base removal, handle by dh_installdeb * debian/README.source - added due to Policy 3.8.0 * debian/copyright - indented upstream author with 4 spaces - added copyright section - clearly identified license section - added the new verbatim licences (English and Japanese) * debian/addition/fdsh.1 - fixed hyphen-used-as-minus-sign * debian/patches/10_bts436823_remove_strip_makefile.dpatch - added to remove unconditional binary stripping; thanks to Julien Danjou for the report; Closes: #436823 -- Sandro Tosi Wed, 27 Aug 2008 23:08:14 +0200 fdclone (2.06c-1.1) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS due to kernel syscall macros (Closes: #393027). * Add $(MAKE) config to debian/rules (Closes: #394091). -- Luk Claes Mon, 23 Oct 2006 21:00:28 +0200 fdclone (2.06c-1) unstable; urgency=low * New upstream release -- Taketoshi Sano Sat, 19 Mar 2005 20:48:35 +0900 fdclone (2.04a-1) unstable; urgency=low * New upstream release * update debian/watch. now I can use "uscan" command. :) -- Taketoshi Sano Sat, 9 Aug 2003 09:58:31 +0900 fdclone (2.04-1) unstable; urgency=low * New upstream release -- Taketoshi Sano Thu, 26 Jun 2003 23:04:42 +0900 fdclone (2.02a-1) unstable; urgency=low * New upstream release (Closes: #174592) -- Taketoshi Sano Tue, 31 Dec 2002 19:56:36 +0900 fdclone (2.01-2) unstable; urgency=low * Apply patch from the upstream author to fix a buffer under flow bug which causes freeze at incorrect shell script. * fix Debian specific bug which causes trouble in Japanese filename handling on MS-DOS drive. -- Taketoshi Sano Tue, 21 May 2002 01:51:58 +0900 fdclone (2.01-1) unstable; urgency=low * New upstream release (Closes: #146446) * Update system default configuration file /etc/fdclone/fd2rc according to the advice from the upstream author in order to handle the difference of key codes between some terminals. -- Taketoshi Sano Tue, 14 May 2002 07:51:20 +0900 fdclone (2.00b-1) unstable; urgency=low * New upstream release. Closes: #140588 * Remove the dependencies on PAGERS/EDITORS to conform the Debian Policy 12.4 "Editors and pagers". Also remove the settings for PAGERS/EDITORS from the default site configuration file (/etc/fdclone/fd2rc). Closes: #140600 * Add required condition to machine.h to build on ia64 Closes: #142051 -- Taketoshi Sano Mon, 29 Apr 2002 08:31:27 +0900 fdclone (2.00a-1.1) unstable; urgency=low * local build test -- Taketoshi Sano Wed, 20 Feb 2002 21:16:21 +0900 fdclone (2.00a-1) unstable; urgency=low * New upstream release. (Closes: #129344) * moved into main from non-free as the result of the license change from 2.00 * package subsection updated to shells from utils * update debian specific changes for new v2 scheme. -- Taketoshi Sano Tue, 19 Feb 2002 23:56:56 +0900 fdclone (1.03t-4) unstable; urgency=low * OK, lynx doesn't use "less". It was my misunderstandings. so lynx is now added in Depends line. (But you should take care when you use lynx as PAGER, because binary file make it crazy. OTOH, w3m can show the compressed files correctly using /usr/bin/sensible-pager with gzip -d -c.) -- Taketoshi Sano Mon, 5 Nov 2001 21:42:24 +0900 fdclone (1.03t-3) unstable; urgency=low * update the examples to match the change in the location of configuration file. -- Taketoshi Sano Wed, 17 Oct 2001 23:11:02 +0900 fdclone (1.03t-2) unstable; urgency=low * added vim to Depends line (lynx as pager just uses "less" so I don't think lynx is good as w3m for PAGER here, though. vim is nice to have in Depends as EDITOR, agreed.) * remove ae from Depends line (Closes: #115821) -- Taketoshi Sano Wed, 17 Oct 2001 02:17:39 +0900 fdclone (1.03t-1) unstable; urgency=low * New upstream release. * Additional terminal setting files are removed: /etc/fdrc.linux, /etc/fdrc.kterm, and /etc/fdrc.xterm * Default configuration file is /etc/fdclone/fdrc now, and users' site specific configuration can be put into /etc/fdclone/fdrc.siteconfig. * No more source code modification for PAGER and EDITOR. These settings are provided from /etc/fdclone/fdrc only. -- Taketoshi Sano Sat, 29 Sep 2001 18:03:45 +0900 fdclone (1.03s-1) unstable; urgency=low * New upstream release. (not uploaded, local only version) -- Taketoshi Sano Wed, 25 Jul 2001 00:31:20 +0900 fdclone (1.03r-2) unstable; urgency=low * update copyright year (2000 -> 2001) * comment out the keymap setting in /etc/fdrc, and newly add /etc/fdrc.linux, /etc/fdrc.kterm, /etc/fdrc.xterm as conffiles because the previous setup does not work well on kon and krxvt (Thanks to Norita-san). * English manpage is added (this is partial translation and not so awfully useful one, but it may be better than nothing). -- Taketoshi Sano Wed, 2 May 2001 17:28:17 +0900 fdclone (1.03r-1) unstable; urgency=low * New upstream version * applied unofficial patch * revert to use the customized _fdrc file, and describe about this modification in README.Debian -- Taketoshi Sano Wed, 25 Apr 2001 00:11:14 +0900 fdclone (1.03q-1) unstable; urgency=low * New upstream version * change to use the default _fdrc file instead of customized one. Old customized file is saved in examples. -- Taketoshi Sano Fri, 2 Mar 2001 14:44:49 +0900 fdclone (1.03p-2) unstable; urgency=low * try to fix build fail on alpha (closes #85813). Thanks to Paul Slootman for his report & patch. -- Taketoshi Sano Wed, 14 Feb 2001 23:18:31 +0900 fdclone (1.03p-1) unstable; urgency=low * New upstream version. -- Taketoshi Sano Tue, 28 Nov 2000 22:08:47 +0900 fdclone (1.03o-2) unstable; urgency=low * update debian/watch * update the author's e-mail address in copyright file * fix debian/_fdrc.{k,x}term for some keymaps -- Taketoshi Sano Tue, 24 Oct 2000 22:45:57 +0900 fdclone (1.03o-1) unstable; urgency=low * New upstream version. -- Taketoshi Sano Thu, 12 Oct 2000 11:42:20 +0900 fdclone (1.03n-1) unstable; urgency=low * New Maintainer * New upstream version. -- Taketoshi Sano Wed, 4 Oct 2000 00:00:23 +0900 fdclone (1.03l-7) unstable; urgency=low * Signed with GNUPG. -- Masayuki Hatta Sat, 1 Apr 2000 14:21:45 +0900 fdclone (1.03l-6) unstable; urgency=low * When building binary, DEFRC should be /etc. FIXED. -- Masayuki Hatta Sun, 20 Feb 2000 22:29:54 +0900 fdclone (1.03l-5) unstable; urgency=low * Again, I was stupid enough to compile it with DEBIAN_BUILDARCH=pentiumpro. FIXED. I gave up to use pentium-builder. -- Masayuki Hatta Thu, 6 Jan 2000 14:38:50 +0900 fdclone (1.03l-4) unstable; urgency=low * Now _fdrc(original config file) is installed instead of fdrc. * Added sample .fdrc.linux and .fdrc.kterm. (Thanks again hamasaki@main.eng.hokudai.ac.jp) -- Masayuki Hatta Mon, 3 Jan 2000 17:17:40 +0900 fdclone (1.03l-3) unstable; urgency=low * Deleted Debian templates. * fdrc: added sample keymap entries for tty and kterm. (Thanx hamasaki@main.eng.hokudai.ac.jp) -- Masayuki Hatta Thu, 30 Dec 1999 00:19:53 +0900 fdclone (1.03l-2) unstable; urgency=low * I was stupid enough to compile it with DEBIAN_BUILDARCH=pentiumpro. Fixed. -- Masayuki Hatta Thu, 18 Nov 1999 00:01:22 +0900 fdclone (1.03l-1) unstable; urgency=low * New Upstream Version. -- Masayuki Hatta Mon, 8 Nov 1999 16:06:16 +0900 fdclone (1.03k-0.4) unstable; urgency=low * Restored dosdisc.c. -- Masayuki Hatta Thu, 23 Sep 1999 14:20:14 +0900 fdclone (1.03k-0.3) unstable; urgency=low * Applied a patch from the upstream author. -- Masayuki Hatta Wed, 22 Sep 1999 16:40:46 +0900 fdclone (1.03k-0.2) unstable; urgency=low * Fixed several typos in debian/README.Debian. * Fixed several goofs in debian/rules. * Compliance with FHS 2.0. -- Masayuki Hatta Wed, 8 Sep 1999 10:51:56 +0900 fdclone (1.03k-0.1) unstable; urgency=low * New Maintainer(temporarily, though). * New upstrem version. * Followed most of the modification the former maintainer did. * Tweaked /etc/fdrc(.deb support added). -- Masayuki Hatta Wed, 1 Sep 1999 15:44:20 +0900 fdclone (1.03h-1) unstable; urgency=low * Upstream upgrade. * Move "#include " from machine.h to term.c. * Install "fd-unicd.tbl" to /usr/lib instead of /usr/bin. -- TAKAHASHI Katsuyuki Sun, 25 Oct 1998 18:25:19 +0900 fdclone (1.03g-3) frozen unstable; urgency=low * Changed distribution. * Changed section to non-free/utils. -- TAKAHASHI Katsuyuki Mon, 10 Aug 1998 19:35:51 +0900 fdclone (1.03g-2) non-free-jp; urgency=low * Moved japanese man directory from ja_JP.ujis to ja. * Changed maintainer's e-mail address from or.jp to ne.jp. -- TAKAHASHI Katsuyuki Sat, 8 Aug 1998 17:55:28 +0900 fdclone (1.03g-1) non-free-jp; urgency=low * Upstream upgrade. * Compiled with libc6. * Added "#include " to machine.h. * Change the default editor and pager in /etc/fdrc to /usr/bin/sensible-editor and /usr/bin/sensible-pager. [Bug#JP/282] * Fix segmentation fault ocurring when archiver definition is not set. -- TAKAHASHI Katsuyuki Sun, 17 May 1998 01:15:45 +0900 fdclone (1.03a-1) non-free-jp; urgency=low * Upstream upgrade. * Copy _fdrc to fdrc (which will be installed to /etc/fdrc). * Move the distribution to "non-free" because of restriction on distributing with binary form. -- TAKAHASHI Katsuyuki Wed, 24 Sep 1997 00:24:57 +0900 fdclone (1.01h-2) unstable; urgency=low * ja_JP.EUC -> ja_JP.ujis -- TAKAHASHI Katsuyuki Sun, 27 Jul 1997 12:10:05 +0900 fdclone (1.01h-1) unstable; urgency=low * Copy .fdrc to fdrc. * Initial Release. -- TAKAHASHI Katsuyuki Sun, 29 Jun 1997 12:02:23 +0900 debian/dirs0000644000000000000000000000014312127033173010047 0ustar usr/bin usr/share/fdclone usr/share/doc-base etc/fdclone/ usr/share/man/ja/man1 usr/share/man/man1 debian/fdclone.doc-base.faq0000644000000000000000000000033512127033173012745 0ustar Document: fdclone-faq Title: Debian fdclone FAQ Author: Takashi Shirai Abstract: Questions and Answers about FDclone2 Section: File Management Format: text Files: /usr/share/doc/fdclone/FAQ.eng.gz debian/addition/0000755000000000000000000000000012127033173010760 5ustar debian/addition/fd2rc.deb0000644000000000000000000003751412127033173012446 0ustar # /etc/fdclone/fd2rc: Initialize file for FD # # This Debian package provides /etc/fdclone/fd2rc.siteconfig for # site specific settings. Please use it for your customization, # and leave this file alone for smooth upgrade. # # There are some settings in this configuration file # which differ from the upstream default: # # DISPLAYMODE=3 (sym-link status & file type symbol) # ADJTTY=1 (adjust TTY when exiting) # TMPDIR=$HOME (for security reasons) # TMPUMASK=077 (same above) # LANGUAGE=$LANG # INPUTKCODE=$LANG # FNAMEKCODE=$LANG # # Launcher settings # for files with suffix as .zip, .Z, .gz. .bz2 # for deb package (.deb) and rpm package (.rpm) # Archiver settings # for files with suffix as .zip # for deb package (.deb) and rpm package (.rpm) # # Some keycode settings for linux console, xterm, and kterm. # # fdclone can use the environment variables PAGER and EDITOR, # but the settings from the configuration file such as # /etc/fdclone/fd2rc or $HOME/.fd2rc will be prefered and # the settings in the environment variables are ignored in # this case. # (/etc/fdclone/fd2rc includes /etc/fdclone/fd2rc.siteconfig) # # So the default runcom file (i.e. this file, /etc/fdclone/fd2rc) # in this package don't set these variables as default. # If you like to set the PAGER&EDITOR settings as the site default, # plese put the following 2 lines in /etc/fdclone/fd2rc.siteconfig. # # PAGER=/usr/bin/pager%K (or the pager which you like) # EDITOR=/usr/bin/editor (or the editor which you like) # # `%K' means that fd waits for the key input when the pager finishes. # This is useful for simple pagers such like `more', since they just # quits soon when they show all the contents of the specified file. # But if you use others such like `less' or `lv', then you wish to # disable this by eliminating `%K' at the end, since the pager itself # prompts user to quit. # Please refer the manual page of `fd' for more detail. # to set default sort type # 0: not sort (Default) # 1: alphabetical 9: alphabetical (reversal) # 2: extension 10: extension (reversal) # 3: size 11: size (reversal) # 4: date 12: date (reversal) # 5: length 13: length (reversal) # 100-113: preserve previous sort type # (the least 2 digits are effective just after initialize) #SORTTYPE=0 # to set default display mode # 0: normal (Default) # 1: sym-link status # 2: file type symbol # 3: sym-link status & file type symbol # 4: invisible dot file # 5: sym-link status & invisible dot file # 6: file type symbol & invisible dot file # 7: sym-link status & file type symbol & invisible dot file DISPLAYMODE=3 # whether if sort or not in tree mode # 0: not sort (Default) # >= 1: sort according to SORTTYPE #SORTTREE=0 # behavior about writing over directory on file system # 0: confirm to write or not, after directory arranged (Default) # 1: write directory only if commanded # 2: never write over directory even if commanded #WRITEFS=0 # whether if ignore uppercase or lowercase in filename comparison # 0: not ignore (Default) # >= 1: ignore #IGNORECASE=0 # whether if inherit timestamp or not when copying # 0: not inherit (Default) # >= 1: inherit #INHERITCOPY=0 # whether if adjust tty or not when exiting # 0: not adjust (Default) # >= 1: adjust ADJTTY=1 # whether if prioritize VT100 escape sequence or not for getting terminal size # 0: not prioritize (Default) # >= 1: prioritize #USEGETCURSOR=0 # to set default columns of file in 1 line # 1: 1 column # 2: 2 columns (Default) # 3: 3 columns # 5: 5 columns #DEFCOLUMNS=2 # minimum columns of filename field # Default: 12 #MINFILENAME=12 # history file of sh mode # Default: ~/.fd_history #HISTFILE=~/.fd_history # history size of sh mode # Default: 50 #HISTSIZE=50 # history size of path input # Default: 50 #DIRHIST=50 # size of saved history # Default: 50 #SAVEHIST=50 # limit of counting files in directory, on tree mode # Default: 50 #DIRCOUNTLIMIT=50 # whether if make MS-DOS drive effective # 0: not use (Default) # >= 1: effective #DOSDRIVE=0 # whether if display the second hand of clock # 0: not display (Default) # >= 1: display #SECOND=0 # whether if use the screen layout based on the traditional "FD" # 0: original layout (Default) # >= 1: traditional layout #TRADLAYOUT=0 # whether if show the info. of filesize # 0: not show (Default) # >= 1: show #SIZEINFO=0 # whether if support ANSI color escape sequence # 0: monochrome (Default) # 1: color # 2: color & force background to blacken # 3: color & force foreground to blacken #ANSICOLOR=0 # specify color palette in the ANSI color mode # Default: none # 0: black # 1: red # 2: green # 3: yellow # 4: blue # 5: magenta # 6: cyan # 7: white # 8: default color for foreground # 9: default color for background # default palette: 8962435188 # |||||||||| # normal file -----+||||||||| # background -------+|||||||| # directory ---------+||||||| # unwritable ---------+|||||| # unreadable ----------+||||| # symbolic link --------+|||| # socket ----------------+||| # fifo (named pipe) ------+|| # block device ------------+| # character device ---------+ #ANSIPALETTE="" # select edit mode with your favorite editor type # emacs: ^P, ^N, ^F, ^B, ... (Default) # wordstar ^E, ^X, ^D, ^S, ... # vi: k, j, l, h, ... #EDITMODE=emacs # whether if loop cursor moving within the same page # 0: not loop (Default) # >= 1: loop #LOOPCURSOR=0 # temporary directory where archive file is unpacked # Default: /tmp TMPDIR=$HOME # file creation mask for the temporary directory # Default: 022 TMPUMASK=077 # mount point of CD-ROM with iso-9660 rock ridge format # Default: none #RRPATH="" # directories on which browsing precedes getting file status # Default: none #PRECEDEPATH="" # shell prompt strings # Default: "$ " #PS1="$ " # continuous shell prompt strings # Default: "> " #PS2="> " # whether if not use control sequences in the internal shell # 0: use (Default) # >= 1: not use #DUMBSHELL=0 # whether if hold the UNICODE translation table on memory # 0: not hold (Default) # >= 1: hold #UNICODEBUFFER=0 # language code type to display # Default: No convert # euc, EUC: EUC-JP # sjis, SJIS: Shift JIS # jis, JIS: 7bits JIS # jis8, JIS8: 8bits JIS # junet, JUNET: ISO-2022-JP # ojis, OJIS: old 7bits JIS # ojis8, OJIS8: old 8bits JIS # ojunet, OJUNET: old ISO-2022-JP # utf8, UTF8: UTF-8 # utf8-mac, UTF8-MAC: UTF-8 for Mac OS X # eng, ENG, C: English LANGUAGE=$LANG # language code type to input # Default: No convert # euc, EUC: EUC-JP # sjis, SJIS: Shift JIS # utf8, UTF8: UTF-8 # utf8-mac, UTF8-MAC: UTF-8 for Mac OS X INPUTKCODE=$LANG # language code type in filename # Default: No convert # euc, EUC: EUC-JP # sjis, SJIS: Shift JIS # jis, JIS: 7bits JIS # jis8, JIS8: 8bits JIS # junet, JUNET: ISO-2022-JP # ojis, OJIS: old 7bits JIS # ojis8, OJIS8: old 8bits JIS # ojunet, OJUNET: old ISO-2022-JP # hex, HEX: HEX # cap, CAP: CAP # utf8, UTF8: UTF-8 # utf8-mac, UTF8-MAC: UTF-8 for Mac OS X FNAMEKCODE=$LANG # directories on which language code type in filename is SJIS # Default: none #SJISPATH="" # directories on which language code type in filename is EUC-JP # Default: none #EUCPATH="" # directories on which language code type in filename is 7bits JIS # Default: none #JISPATH="" # directories on which language code type in filename is 8bits JIS # Default: none #JIS8PATH="" # directories on which language code type in filename is ISO-2022-JP # Default: none #JUNETPATH="" # directories on which language code type in filename is old 7bits JIS # Default: none #OJISPATH="" # directories on which language code type in filename is old 8bits JIS # Default: none #OJIS8PATH="" # directories on which language code type in filename is old ISO-2022-JP # Default: none #OJUNETPATH="" # directories on which language code type in filename is HEX # Default: none #HEXPATH="" # directories on which language code type in filename is CAP # Default: none #CAPPATH="" # directories on which language code type in filename is UTF-8 # Default: none #UTF8PATH="" # directories on which language code type in filename is UTF-8 for Mac OS X # Default: none #UTF8MACPATH="" # directories on which language code type in filename is not converted # Default: none #NOCONVPATH="" #PAGER=more%K #EDITOR=vi #SHELL=/bin/sh # for Mischievous Japanese OS (see `man fd') #export LANG=C # launcher definition #(Default) #launch ".lzh" "lha l" \ # -f "%a %u/%g %s %x %m %d %{yt} %*f" \ # -f "%9a %u/%g %s %x %m %d %{yt} %*f" \ # -i " PERMSSN * UID*GID *" \ # -i "----------*" \ # -i " Total * file* ???.*%*" \ #launch ".tar" "tar tvf" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".tar.Z" "zcat %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".tar.gz" "gzip -cd %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".tar.bz2" "bzip2 -cd %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".taZ" "zcat %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".taz" "gzip -cd %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #launch ".tgz" "gzip -cd %C|tar tvf -" \ # -f "%a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %s %y-%m-%d %t %*f" \ # -f "%a %l %u %g %s %m %d %{yt} %*f" \ # -f "%10a %u/%g %s %m %d %t %y %*f" \ # -f "%9a %u/%g %s %m %d %t %y %*f" \ # -f "%a %u/%g %m %d %t %y %*f" #(Examples) launch ".zip" "unzip -lqq" " %s %m-%d-%y %t %*f" #launch ".zoo" "zoo lq" " %s %x %x %d %m %y %t %*f" #launch ".rar" "unrar v" \ # -f " %*f\n%s %x %x %d-%m-%y %t %a" \ # -i "UNRAR *" \ # -i "RAR *" \ # -i "Shareware version *" \ # -i "Verifying authenticity *" \ # -i "Solid archive *" \ # -i "Archive *" \ # -i "Pathname/Comment" \ # -i "Size * Packed *" \ # -i "----------*" \ # -i "* * * ??%" \ # -i "Old style *" \ # -i "Archive *.rar" \ # -i "created at ??:??:?? *" \ # -i "by * *" \ # -i "" launch ".Z" "zcat %C|$PAGER" launch ".gz" "gzip -cd %C|$PAGER" launch ".bz2" "bzip2 -cd %C|$PAGER" # examples for MS-DOS #launch ".lzh" "lha v %S" % # -f "%*f\n%s %x %x %y-%m-%d %t %a" % # -f "%1x %12f %s %x %x %y-%m-%d %t %a" % # -i "Listing of archive : *" % # -i " Name Original *" % # -i "--------------*" % # -i "* files * ???.?%%%% ??-??-?? ??:??:??" % # -i "" #launch ".tar.Z" "gzip -cd %S|tar tvf -" % # -f "%a %u/%g %s %m %d %t %y %*f" % # -f "%a %u/%g %s %y-%m-%d %t %*f" % # -f "%a %u/%g %s %m %d %y %t %*f" % #launch ".tar.gz" "gzip -cd %S|tar tvf -" % # -f "%a %u/%g %s %m %d %t %y %*f" % # -f "%a %u/%g %s %y-%m-%d %t %*f" % # -f "%a %u/%g %s %m %d %y %t %*f" % #launch ".tar.bz2" "bzip2 -cd %S|tar tvf -" % # -f "%a %u/%g %s %m %d %t %y %*f" % # -f "%a %u/%g %s %y-%m-%d %t %*f" % # -f "%a %u/%g %s %m %d %y %t %*f" % #launch ".taz" "gzip -cd %S|tar tvf -" % # -f "%a %u/%g %s %m %d %t %y %*f" % # -f "%a %u/%g %s %y-%m-%d %t %*f" % # -f "%a %u/%g %s %m %d %y %t %*f" % #launch ".tgz" "gzip -cd %S|tar tvf -" % # -f "%a %u/%g %s %m %d %t %y %*f" % # -f "%a %u/%g %s %y-%m-%d %t %*f" % # -f "%a %u/%g %s %m %d %y %t %*f" % #launch ".zip" "unzip -lqq %S" " %s %y-%m-%d %t %*f" #launch ".zip" "pkunzip -vb %S" " %s %x %x %x %y-%m-%d %t %*f" 14 2 # # Debian package settings launch ".deb" "ar p %C data.tar.gz|gzip -dc|tar tvf - "\ "%a %u/%g %s %y-%m-%d %t %f" launch ".rpm" "rpm2cpio %C|cpio -tv" "%a %x %u %g %s %m %d %y %f" # archiver definition #(Default) #arch ".lzh" "lha aq %C %TA" "lha xq %C %TA" #arch ".tar" "tar cf %C %T" "tar xf %C %TA" #arch ".tar.Z" "tar cf - %T|compress -c > %C" "zcat %C|tar xf - %TA" #arch ".tar.gz" "tar cf - %T|gzip -c > %C" "gzip -cd %C|tar xf - %TA" #arch ".tar.bz2" \ # "tar cf - %T|bzip2 -c > %C" "bzip2 -cd %C|tar xf - %TA" #arch ".taZ" "tar cf - %T|compress -c > %C" "zcat %C|tar xf - %TA" #arch ".taz" "tar cf - %T|gzip -c > %C" "gzip -cd %C|tar xf - %TA" #arch ".tgz" "tar cf - %T|gzip -c > %C" "gzip -cd %C|tar xf - %TA" #(Examples) arch ".zip" "zip -q %C %TA" "unzip -q %C %TA" #arch ".zoo" "zoo aq %C %TA" "zoo xq %C %TA" #arch ".rar" "rar a -inul %C %TA" "unrar x -inul %C %TA" # examples for MS-DOS #arch ".lzh" "lha a %S %TA" "lha x %S %TA" #arch ".tar.Z" "tar cf - %T|compress -c > %C" "gzip -cd %S|tar xf - %TA" #arch ".tar.gz" "tar cf - %T|gzip -c > %C" "gzip -cd %S|tar xf - %TA" #arch ".tar.bz2" % # "tar cf - %T|bzip2 -c > %C" "bzip2 -cd %S|tar xf - %TA" #arch ".taz" "tar cf - %T|compress -c > %C" "gzip -cd %S|tar xf - %TA" #arch ".tgz" "tar cf - %T|gzip -c > %C" "gzip -cd %S|tar xf - %TA" #arch ".zip" "pkzip %S %TA" "pkunzip %S %TA" # # Debian package settings arch ".deb" "clear; echo ERROR; false"\ "ar p %C data.tar.gz|gzip -dc|tar -xf - %TA" arch ".rpm" "clear; echo ERROR; false" "rpm2cpio %C|cpio -id %TA" # key bind definition #(Examples) #bind 'I' "dir -d %C" #bind 'g' "gzip %C%K" WARNING_BELL #bind 'G' "gzip -d %C%K" WARNING_BELL #bind 'R' "grep %R %C" #bind '{' ROLL_UP #bind '}' ROLL_DOWN #bind '~' "cd ~%N%K" #bind 'F1' "man fd%N%K" :Manual # function definition #(Example1) #rename() { # MARK_ALL 0 # MARK_FIND $1 ## RENAME_FILE $2 # evalmacro mv %M $2 #} # #(Example2: used in archiver definition) #maketaz() { # evalmacro tar cf %X.tar %T # evalmacro $1 %X.tar # evalmacro mv %X.tar.$2 %X.$3 #} # #(Example3: ftp browsing) #getftp() { # FHOST=$1 # FPATH= # browse -@ - <<'EOF0' # 'ftp -n $FHOST <<-EOF # user ftp `whoami`@`hostname` # dir $FPATH # quit # EOF' # -f "%a %l %u %g %s %m %d %{yt} %*f" # -i "total *" # -e "Not connected." # -e "Login incorrect." # -e "Login failed." # -p 'FPATH=$1; while [ "$#" -gt 1 ]; do shift; FPATH=$1/$FPATH; done' # -d loop # # 'dir=`readline "Dir: "` && [ -d "$dir" ] \ # && yesno "copy \"$FPATH\" to \"$dir\" ?" \ # && ftp -n $FHOST <<-EOF \ # && echo "copy \"$FPATH\" to \"$dir\"." %K \ # || echo canceled. # user ftp `whoami`@`hostname` # get $FPATH $dir/${FPATH##*/} # quit # EOF' #EOF0 #} # MS-DOS drive definition #(Example) #setdrv B "/dev/rfd00a" 2, 18, 80 # alias definition #(Example) #alias dir="ls -laF" # keymap definition #(Example) #keymap DEL "\033[3~" # common keycode settings for xterm and kterm xtermkey() { keymap HOME "\033OH" keymap END "\033OF" #keymap INS "\033[2~" #keymap DEL "\033[3~" keymap BS "\177" #keymap PPAGE "\033[5~" #keymap NPAGE "\033[6~" #keymap RET "\033OM" keymap F5 "\033[15~" keymap F6 "\033[17~" keymap F7 "\033[18~" keymap F8 "\033[19~" keymap F9 "\033[20~" keymap F10 "\033[21~" keymap F11 "\033[23~" keymap F12 "\033[24~" keymap PLUS "\033Ok" keymap MINUS "\033Om" keymap ASTER "\033Oj" keymap SLASH "\033Oo" } # keycode settings for various terminals case $TERM in linux) LANGUAGE=eng ;; xterm) LANGUAGE=eng keymap F1 "\033OP" keymap F2 "\033OQ" keymap F3 "\033OR" keymap F4 "\033OS" xtermkey ;; kterm) keymap F1 "\033[11~" keymap F2 "\033[12~" keymap F3 "\033[13~" keymap F4 "\033[14~" xtermkey ;; esac unset xtermkey # for site specific settings source /etc/fdclone/fd2rc.siteconfig debian/addition/fdsh.10000644000000000000000000000133012127033173011763 0ustar .\" .\" Copyright (c) 1995-2002 Takashi SHIRAI .\" .\" .\" modified for fdsh specific manpage .\" (Debian requires manual page for all user commands .\" in /bin, /usr/bin, etc. So this is created.) .\" .\" modified from @(#)fd.1 2.00a 02/06/02 .\" fd - File & Directory maintenance tool .TH FDSH 1 "February 19, 2002" .de sh .br .PP \fB\\$1\fR .PP .. .SH NAME fdsh \- simple shell for fdclone .SH SYNOPSIS .B fdsh [ .B \-acefhikmnrstuxv ] [ .I args ] .SH DESCRIPTION .B fdsh is a simple shell to be used as built-in shell of fdclone. Please refer fd(1); the manual page of fdclone for detail. .SH SEE ALSO .BR fd (1) .SH COPYRIGHT Copyright (C) 1995\-2002 by Takashi SHIRAI debian/README.Debian0000644000000000000000000000426512127033173011235 0ustar fdclone for Debian ------------- Major differences from the original distribution o As the Debian package, this package is installed at /usr. (In the source package, debian/rules set PREFIX=/usr) o Distributor is set according to the Author's guildeline. (In the source package, version.h is modified) o To fulfill FHS, fd-unicd.tbl is installed in /usr/share/fdclone instead of /usr/bin. (In the Source Package, config.hin has defined USEDATADIR, and debian/rules set DATADIR=/usr/share/fdclone) o Default configuration file (DEFRC) for this Debian package is /etc/fdclone/fd2rc, not /etc/fdrc as original. (In the Source Pacage, debian/rules set DEFRC=/etc/fdclone/fd2rc) o Temporary directory/file for archive browsing is created with the mode 0700/0600 instead of the original (umask & 0777/0644). (/etc/fdclone/fd2rc defines TMPUMASK=077) o The hard-coded default pager is not "more" but "/usr/bin/pager", and the hard-coded default editor is "/usr/bin/editor". (fd.h has the modified definition of PAGER/EDITOR in Source Package) The system-wide default configuration file (/etc/fdclone/fd2rc) do NOT define PAGER and EDITOR in order to respect the user's settings on the corresponding environmental variables. You can also use $HOME/.fd2rc to define per-user settings. o Users' site specific configurations can be put into /etc/fdclone/fd2rc.siteconfig because the default configuration file (/etc/fdclone/fd2rc) read that file at the end. (The file fd2rc.siteconfig is not included in this package, but is created by the postinst script if it didn't exist.) You should avoid to edit /etc/fdclone/fd2rc itself for smooth upgrade. o *.deb and .rpm archive browsing support has been added to /etc/fdclone/fd2rc. o /etc/fdclone/fd2rc has some customized setting for Debian. Please read it carefully. o Directory /usr/share/doc/fdclone/examples/ has a following file: _fd2rc.gz : original sample configuration file If you want to know more about the configuration file, then I'd recommend to investigate them. -- Taketoshi Sano , Tue, 19 Feb 2002 23:21:25 +0900 debian/gbp.conf0000644000000000000000000000003612127033173010603 0ustar [DEFAULT] pristine-tar = True debian/copyright0000644000000000000000000005121212127033173011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: fdclone Upstream-Contact: Takashi Shirai Source: http://hp.vector.co.jp/authors/VA012337/soft/fd/ Files: * Copyright: 1995-2012 Takashi Shirai License: FDclone Files: debian/* Copyright: 2010-2013 Elías Alejandro Año Mendoza 2000-2005 Taketoshi Sano 1999-2000 Masayuki Hatta 1997-1998 TAKAHASHI Katsuyuki License: FDclone License: FDclone [FDclone3 に関するライセンス規定] <0.序> 本文書は FDclone の使用許諾について記されたものです。 . FDclone はフリーソフトウェアであり、その使用にあたっては利 用者は全く制限を受けませんが、作者からの希望的要望を含め、こ こでは個々の事例に即した詳細について述べていきます。 . <1.用語の定義> . 本文書で使用する用語についてまず規定しておきます。本文書で は、特に断りのない限り、以下に挙げる単語についてはここに書か れた特定の意味で用いています。 . ソース ソースプログラム一式。或は、それにドキュメントその他 を含んだパッケージ一式。 . バイナリ ソースプログラム一式をコンパイルして得られる実行バイ ナリ。或は、それにドキュメントその他を含んだパッケー ジ一式。 . 配付 広義では、ソース又はバイナリの複製 (改変の有無を問わ ない) を作成し、第三者に配り与えること。狭義では、そ の複製を特定少数を対象に配り与えること。 . 頒布 広義の配付の一形態。ソース又はバイナリの複製を、公共 の場で広くあまねく配り与えること。 . 一次配付・一次頒布 作者自らの手による配付 (又は頒布)。 . 二次配付・二次頒布 一次配付又は一次頒布されたものを、作者以外が配付 (又 は頒布) すること。以下、同様に三次配付 (又は三次頒布)、 四次配付 (又は四次頒布) と数える。 . 再配付・再頒布 二次以降の配付 (又は頒布) の総称。 . 改変 元のソース又はバイナリに一部手を加えること。 . 二次利用 元のソースの一部を別のソフトウェアに組込んで利用する こと。 . <2.再配付について> . 狭義の配付については、改変の有無を問わずソースもバイナリも 自由に再配付可能です。営利・非営利等、用途を問わず自由に行な って構いません。三次配付以降の再配付についても同様に自由です。 . 但し、作者は再配付されたものに対し全く責任を負いません。改 変していないことや正常に動作することの保証が必要であれば、再 配付者自らが保証して下さい。 . <3.再頒布について> . 頒布については、改変の有無を問わずソース・バイナリ共に再頒 布可能です。狭義の配付と同様、用途を問わず自由に行なって構い ません。 . 但し、再頒布されたものに対して作者が責任の一端を担うために、 一部の頒布形態には頒布登録制度を設けます。頒布登録を行なって いない再頒布物については、再配付同様、作者は一切責任を負えま せん。 頒布登録された頒布物については、一次頒布物と同等の責任及び 保証を作者が負います。これが必要ない場合、頒布登録は行なわな くて構いません。 . また、一度頒布登録された再頒布物に対する三次以降の再配付に ついては、パッケージ形状及び内容が頒布登録された再頒布物から 全く改変されていない場合に限り、その再頒布と同等の責任を作者 が負います。 パッケージに何らかの改変を加えた場合、その時点で頒布登録は 無効となりますので、再度頒布登録を行なわない限りは作者は責任 を負いません。 . 但し、頒布登録された二次頒布物について二次頒布者が何らかの ライセンス条件を付与した場合は、三次以降の再配付条件はそれに 従います。 頒布登録を行なえば、一次頒布のライセンス条件を侵さない範囲 に於いて、二次頒布者は三次以降の再頒布条件を自由に設定できま すので、二次頒布物の再頒布を検討する場合は、二次頒布者に問い 合わせて下さい。 頒布登録がなされている限り、三次以降の再配付について、作者 自身は一切干渉しません。 . <4.作者の負う責任について> . 一次配付物及び頒布登録された再頒布物については、作者は責任 の一端を担います。 具体的には、利用者からの問い合わせや要望に応じ、必要な場合 にはプログラムの改定を行ないます。また、悪意ある仕様外機能を 織込まず正常に動作することを保証します。 各種ドキュメントに書かれた仕様どおりに動作しない場合は、そ の改定に応じます。 . 頒布登録されていない再頒布物に対しては、作者は一切の責任を 負いませんので、利用者からの問い合わせにも要望にも一切応じま せん。 これら利用者からの連絡は再頒布を行なった担当者が引き受けて、 責任を持って対処することを作者は希望します。 . 但し、使用にあたって生じた如何なる損害に対しても、作者は保 証し兼ねますので、各利用者は自己責任にてご利用下さい。 . <5.ソース頒布登録について> . ソースの頒布については、一次頒布のパッケージ内容を一切変更 しない場合に限り、頒布登録なき場合も作者は責任の一端を担いま す。 パッケージ内容に変更がある場合も、プログラムソース部分に改 変がなく、ドキュメント又はプログラムを追加するのみの変更であ れば、一切変更のない場合と同様に扱います。 これらの場合、パッケージ形状の変更、即ち圧縮方式やパッケー ジ名等の変更については問いません。 . プログラムソース部分、もしくは Makefile 等の実行バイナリに 直接関与するファイル群に改変のある場合、ソース頒布登録を行な うことにより作者側で再頒布物に対する責任の一端を担います。 後述の頒布登録手順に従って、頒布登録を行なって下さい。 . <6.バイナリ頒布登録について> . バイナリの頒布については、頒布登録のない再頒布に関しては一 切作者は責任を負いません。一次頒布バイナリから一切変更のない 場合でも同様です。 作者側の保証の必要な場合、変更の有無に拘らず、後述の頒布登 録手順に従って、頒布登録を行なって下さい。 . 作者からの要望としては、特に危険性の高いバイナリ頒布につい ては、是非頒布登録を行なって頂けることを推奨します。 . <7.プログラムの改変について> . 利用者がプログラムの一部を改変し利用する場合、変更前のプロ グラムとは別の作品として扱うような場合は、改変箇所の量を問わ ず、二次利用と見なします。 二次利用と見なされない改変については、上記の再配付規則に従 いますが、二次利用については二次的著作権者の著作物として自由 に扱って構いません。 . <8.書籍への掲載について> . 市販される書籍に CD-ROM 等の媒体を通じて添付する場合は、再 頒布と見なします。 作者の保証が必要な場合は、その添付物がソースであるかバイナ リであるかに応じて、それぞれの頒布登録を行なって下さい。他の 再頒布と全く同等に扱われます。 但し、既に頒布登録されている再頒布物の添付については、改め て頒布登録する必要はありませんので、頒布登録を行った頒布者に よる条件に従って下さい。 . 添付ではなく、単に記事として紹介するのみの場合は、保証も責 任も発生し得ませんので、特に登録の必要はありません。作者宛の 連絡も必要ありません。 . 作者からの要望としては、添付・紹介にする場合に連絡や献本し て頂けると嬉しいと思います。 特に、紹介記事については、事前に原稿を拝見させて頂ければ、 作者側で内容に不適切な箇所がないかどうかを確認することも可能 です。 掲載を考えてらっしゃる方はご一考下さい。 . <9.頒布登録手続きについて> . 頒布登録を行ないたい場合は、以下の手順にて手続きを行なうこ とができます。 . 1. 頒布担当者を定める。 2. version.h の distributor 変数の箇所にある NULL を頒布担当 者の E-mail アドレスに書換える。 例: char *distributor = "shirai@unixusers.net (Takashi SHIRAI)"; 3. 一次頒布ソースパッケージからの変更差分を作成する。追加添 付物のある場合はそれも差分に含める。 4. 頒布パッケージを作成する。 5. 頒布パッケージの MD5 チェックサムを調べて控えておく。バイ ナリ頒布の場合には FDclone 自身の実行バイナリについても調 べる。 調べる手段がない場合は、FDclone に「checkid」という組込み コマンドがあるのでそれを用いると良い。FDclone をコンパイ ル後、起動して「h」キーを押して EXECUTE_SH コマンドのプロ ンプト内で「checkid <ファイル名>」を実行すると、MD5 チェ ックサムが表示される。 6. 作者宛に、変更差分と頒布パッケージ MD5 チェックサムを添え た頒布登録文面を E-mail で送る。バイナリ頒布の場合は、頒 布する実行バイナリの動作環境 (OS, 機種等) 及び実行バイナ リの MD5 チェックサムも添え襪海函 7. 再頒布物のライセンス条件を変更したい場合は、頒布登録文面 内でその旨説明する。 . 登録の文面では、ソース頒布登録かバイナリ頒布かが明確に判る ようにして下さい。同じ登録文面で同時にソース頒布登録とバイナ リ頒布登録を行なうことが可能です。 バイナリ頒布登録で複数の動作環境に対し、全く同じ変更差分に よる再頒布を行なう場合は、複数の動作環境を列挙することで、一 つの頒布登録で同時に全ての動作環境に対し頒布登録できます。 . 尚、具体的な作業内容について不案内な点がある場合は、登録前 に作者までご相談下さい。 . [LICENSES FOR FDCLONE3 - English] . (NOTICE: The official licenses is written in Japanese language. This version in English language is only a translation, and is NOT VALID LEGALLY.) . <0.Intro> . This document is written for licenses to use, modify, duplicate, and distribute `FDclone'. . `FDclone' is a free software, not to restrict users to any use. This document says the details based on each case, including author's wishful desire. . <1.Definition> . First of all, the terms used in this document are defined as following. In this document, these terms are used in their specific meanings written here, as long as there is no notice. . source A set of a source program. Or a set of a package which contained any document or something else in it. . binary An executable binary gotten with compiling a set of a source program. Or a set of a package which contained any document or something else in it. . distribution In a broad sense, to create the duplicate (if modified or not) of a source or a binary, and give the third party. In a narrow sense, to give the duplicate to the specific persons. . circulation A form of distribution in a broad sense. To give the duplicate of a source or a binary to the general public, widely at a public space. . primary distribution, primary circulation distribution (or circulation) by the hand of the author himself. . secondary distribution, secondary circulation distribution (or circulation) of the primary distribution or the primary circulation by the hand of someone except the author. It counts similarly as the 3rd distribution (or the 3rd circulation), the 4th distribution (or the 4th circulation). . re-distribution, re-circulation A general term for distribution (or circulation) after the primary one. . modification To make several change on the original source or the binary. . secondary use To use a part of the original source, by including it in another software. . <2.Re-Distribution> . About re-distribution in a narrow sense, re-distribution of a source and a binary is permitted, if modified or not. You can do it freely in any purpose, profit or not. Re-distribution after the secondary one is as free as this. . However, the author doesn't take any responsibility for the re-distributed package. If you want any guarantees to keep original or to work normally, the re-distributor himself will needs to guarantee. . <3.Re-Circulation> . Re-circulation of a source and a binary is permitted, if modified or not. You can do it freely in any purpose, like re-distribution in a narrow sense, . But, in order to take care of the re-circulated package as possible, a circulation registration system is established for a part of circulation form. The author cannot take any responsibility for the re-circulated one with no registration, like the re-distributed one. The author takes care of the registered re-circulation equivalent to the primary circulation. If you don't need this, you don't have to make circulation registration. . When you circulate the re-circulation already registered, and don't make any modification on the package form and it's contents against the registered re-circulation, the author shall take care of it equivalent to the re-circulation. In the case of making some modification on the package, at the moment you've done, circulation registration becomes invalid. Then, the author doesn't take any responsibility, unless circulation is registered again. . However, if a secondary circulator adds some licenses on the second circulation with registration, the licenses for distribution after the secondary one follow them. If registered, a secondary circulator can freely set up the licenses for re-distribution after the secondary one, except they break the licenses for the primary circulation. So, if you think to re-circulate the secondary circulation, you should tell a secondary circulator. As far as circulation registration is made, the author will keep out of re-distribution after the secondary one. . <4.Author's Responsibility> . The author take care of the primary distribution and the registered re-circulation. Specifically, replying to questions and requests from users, changing the program if need, and guaranteeing that the program never includes the operation against specifications to work normally. If it doesn't work by according to specifications on each document, the author should accept changing. . The author doesn't take any responsibility for the re-circulated packages with no registration, and cannot reply to questions nor requests from users. If the contact from users occurs, it is hoped that the re-circulator accepts the contact and manages it with responsibility. . However, the author guarantees no warranty in the use of this program, each user will need to use it at their own risk. . <5.Source Circulation Registration> . The author take care of the unregistered circulation of a source, only if the contents of its package have no modification. The package which has some modification on its contents, in which the program source part has no modification and its modification is only the additional documents or programs, will be treated equivalent to the case which has no modification. In these cases, modification of package form is ignored, that is modification of an archiving method or a package name. . When there is some modification in the program source part, or in the files which have effect on the executable binary, e.g. `Makefile' etc., source circulation registration will make the author take care of it. You can make circulation registration according to the following procedure. . <6.Binary Circulation Registration> . The author doesn't take any responsibility for the circulation of a binary, if it is re-circulation with no registration. Even if it has no modification from the primary circulation, it is the same. If you want any guarantees from the author, you need to make circulation registration according to the following procedure, if modified or not. . It is suggested from the author that you will make surely circulation registration, because the circulation of a binary is especially dangerous. . <7.Adaptation of Program> . When a user makes some modification partly on the program and uses it, and treats as quite different from the original program, it is regarded as secondary use, not depending on the volume of modification. The modification which can not be regarded as the secondary use follows above rule for re-distribution. On the other hand, the secondary use can be treated freely as a work of the secondary author. . <8.Broadcast through Books> . It is regarded as re-circulation to broadcast through the commercial books by the media, such as CD-ROM. If the author's guarantee is required, you should make each circulation registration according to whether it is a source or a binary. It is treated as same as the other re-circulation. However, broadcasting the re-circulation already registered doesn't need any registration again, then you should follow the licenses by the circulator who made circulation registration. . In case of not broadcasting but introducing as an article, it has no need to register, because neither a guarantee nor responsibility can be generated. No need to contact the author. . As the author's hope, it is preferable to contact or contribute books if you broadcast or introduce. Especially in case of an introduction report, if you show a manuscript in advance, the author will be able to confirm whether it is suitable. Who intend to broadcast is be wanted to consider. . <9.Procedure of Circulation registration> . If you want circulation registration, the following procedure is authorized. . 1. Define the circulation manager. 2. Rewrite from `NULL' to the E-mail address of the circulation manager, variable `distributor' in `version.h'. ex.: char *distributor = "shirai@unixusers.net (Takashi SHIRAI)"; 3. Make the differential in modification from the package of the primary circulation, including the additional files if exist. 4. Create a circulation package. 5. Check the MD5 checksum of the package, and note it. In case of the binary circulation, check it for the executable binary of FDclone, too. If you have no way to check it, FDclone has a builtin command `checkid', so that you can use it. Compile and run FDclone, and push the `h' key for executing EXECUTE_SH command, and then run `checkid NAME_OF_FILE' to display the MD5 checksum. 6. Send the registration letter to the author via E-mail, with the differential and the package's MD5. In case of the binary circulation, you must refer to the environment(OS, machine, etc.) in which the circulated executable binary works, and MD5 of the executable binary. 7. Explain in the registration letter that you change the licenses of re-circulation, if need. . In the registration letter, you should better declare whether source circulation registration or binary circulation registration. You can make source circulation registration and binary circulation registration simultaneously in the same registration letter. When you make binary circulation registration on multiple environments with the same differential, listing each environment can regard one registration as registration for all environment simultaneously. . If you are anxious about the operation in detail, please tell the author before registration. debian/source/0000755000000000000000000000000012127033173010465 5ustar debian/source/format0000644000000000000000000000001412127033173011673 0ustar 3.0 (quilt) debian/postinst0000644000000000000000000000042312127033173010772 0ustar #!/bin/sh # postinst script for fdclone # # see: dh_installdeb(1) set -e if [ "$1" = configure ] ; then touch /etc/fdclone/fd2rc.siteconfig fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/watch0000644000000000000000000000010012127033173010205 0ustar version=3 ftp://ftp.unixusers.net/src/fdclone/FD-(.*)\.tar\.gz debian/menu0000644000000000000000000000015712127033173010057 0ustar ?package(fdclone):needs="text" section="Applications/File Management"\ title="FDclone" command="/usr/bin/fd"