From ae6dc984e1c7903effec786e1b95be1bc26244dc Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 16 Jun 2014 13:48:58 +0200 Subject: [PATCH] Current state --- cups/classes.conf | 4 +- cups/classes.conf.O | 3 + cups/ppd/Support.ppd | 1083 +++++++++++++++++++++++++++++++ cups/printers.conf | 28 +- cups/printers.conf.O | 28 +- cups/subscriptions.conf | 6 +- cups/subscriptions.conf.O | 17 +- group | 1 + group- | 1 + gshadow | 1 + gshadow- | 1 + mc/edit.indent.rc | 31 + mc/filehighlight.ini | 47 ++ mc/mc.default.keymap | 454 +++++++++++++ mc/mc.emacs.keymap | 456 +++++++++++++ mc/mc.ext | 746 +++++++++++++++++++++ mc/mc.keymap | 454 +++++++++++++ mc/mc.menu | 365 +++++++++++ mc/mc.menu.sr | 344 ++++++++++ mc/mcedit.menu | 486 ++++++++++++++ mc/sfs.ini | 28 + portage/make.conf | 2 +- portage/package.keywords/common | 4 + portage/package.keywords/mate | 25 +- portage/package.use | 2 + printcap | 1 + 26 files changed, 4598 insertions(+), 20 deletions(-) create mode 100644 cups/classes.conf.O create mode 100644 cups/ppd/Support.ppd create mode 100755 mc/edit.indent.rc create mode 100644 mc/filehighlight.ini create mode 100644 mc/mc.default.keymap create mode 100644 mc/mc.emacs.keymap create mode 100644 mc/mc.ext create mode 100644 mc/mc.keymap create mode 100644 mc/mc.menu create mode 100644 mc/mc.menu.sr create mode 100644 mc/mcedit.menu create mode 100644 mc/sfs.ini diff --git a/cups/classes.conf b/cups/classes.conf index 9089163..b09b637 100644 --- a/cups/classes.conf +++ b/cups/classes.conf @@ -1,3 +1,3 @@ -# Class configuration file for CUPS v1.5.2 -# Written by cupsd on 2012-06-29 13:00 +# Class configuration file for CUPS v1.7.1 +# Written by cupsd on 2014-05-22 16:10 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING diff --git a/cups/classes.conf.O b/cups/classes.conf.O new file mode 100644 index 0000000..9089163 --- /dev/null +++ b/cups/classes.conf.O @@ -0,0 +1,3 @@ +# Class configuration file for CUPS v1.5.2 +# Written by cupsd on 2012-06-29 13:00 +# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING diff --git a/cups/ppd/Support.ppd b/cups/ppd/Support.ppd new file mode 100644 index 0000000..3b5f7f4 --- /dev/null +++ b/cups/ppd/Support.ppd @@ -0,0 +1,1083 @@ +*PPD-Adobe: "4.3" +*% PPD file for Dell 2330dn Laser Printer with CUPS. +*% Created by the CUPS PPD Compiler v1.2.3. +*% +*% Adobe PostScript(R) Printer Description File +*% For Lexmark E360dn LaserPrinter +*% Produced by Lexmark International, Inc. +*% +*% +*% +*% Copyright (c) 2008 Lexmark International Inc. All Rights Reserved. +*% Permission is granted for redistribution of this file as +*% long as this copyright notice is intact and the content +*% of the file is not altered in any way from its original form. +*% +*FormatVersion: "4.3" +*FileVersion: "10.6.0.0" +*LanguageVersion: German +*LanguageEncoding: UTF-8 +*PCFileName: "D2330dn.ppd" +*Product: "(Dell 2330dn Laser Printer)" +*Manufacturer: "Dell" +*ModelName: "Dell 2330dn Laser Printer" +*ShortNickName: "Dell 2330dn Laser Printer" +*NickName: "Dell 2330dn Laser Printer" +*PSVersion: "(3010.010) 20040929" +*LanguageLevel: "3" +*ColorDevice: True +*DefaultColorSpace: CMYK +*FileSystem: True +*Throughput: "36" +*LandscapeOrientation: Minus90 +*TTRasterizer: Type42 +*% Driver-defined attributes... +*cupsCommands: "ReportLevels" +*PrinterType: "Laser" +*LXCountPIN: "4" +*LXlowPINchar: "0" +*LXhiPINchar: "9" +*1284DeviceID: "MFG: Dell;MDL: Dell 2330dn Laser Printer" +*FreeVM: "252000000" +*VMOption 256Meg: "252000000" +*VMOption 320Meg: "312000000" +*VMOption 384Meg: "376000000" +*VMOption 512Meg: "512000000" +*VMOption 576Meg: "576000000" +*VMOption 640Meg: "640000000" +*VMOption 768Meg: "768000000" +*VMOption 1024Meg: "1024000000" +*Protocols: TBCP +*Password: "0" +*ExitServer: " + count 0 eq % is the password on the stack? + { true } + { dup % potential password + statusdict /checkpassword get exec not + } ifelse + { % if no password or not valid + (WARNING : Cannot perform the exitserver command.) = + (Password supplied is not valid.) = + (Please contact the author of this software.) = flush + quit + } if + serverdict /exitserver get exec" +*End +*Reset: " + count 0 eq % is the password on the stack? + { true } + { dup % potential password + statusdict /checkpassword get exec not + } ifelse + { % if no password or not valid + (WARNING : Cannot reset printer.) = + (Password supplied is not valid.) = + (Please contact the author of this software.) = flush + quit + } if + serverdict /exitserver get exec + systemdict /quit get exec + (WARNING : Printer Reset Failed.) = flush" +*End +*JobPatchFile 1: "%%Dell Linux PPD File 1" +*OIDOptDuplex: ".1.3.6.1.2.1.43.13.4.1.10.1.2" +*OIDOptDuplex InstalledM: "Duplex Paper Path" +*OIDOptDuplex NotInstalledM: ".*" +*ScreenFreq: "154.0" +*ScreenAngle: "50.0" +* DefaultScreenProc: "Dot" +*ScreenProc Dot: "{abs exch abs 2 copy add 1 gt {1 sub dup mul exch 1 sub dup mul add 1 + sub }{dup mul exch dup mul add 1 exch sub }ifelse }" +*End +*ScreenProc Line: "{ pop }" +*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }" +*DefaultTransfer: Factory +*Transfer Factory: "{}" +*Transfer Factory.Inverse: "{1 exch sub }" +* DefaultOutputOrder: "Normal" +*FontQuery: " + save + 4 dict begin + /sv exch def + /str (fonts/) def + /st2 128 string def + { count 0 gt + { dup st2 cvs (/) print print (:) print dup FontDirectory exch known + {pop (Yes)} + { str exch st2 cvs dup length /len exch def + 6 exch putinterval str 0 len 6 add getinterval mark exch + { } st2 filenameforall counttomark 0 gt + { cleartomark (Yes)}{cleartomark (No)}ifelse + }ifelse = flush + }{ exit } ifelse + } bind loop + (*) = flush + sv + end + restore" +*End +*FontList: " + save + 2 dict begin + /sv exch def + /str 128 string def + FontDirectory { pop == } bind forall flush + /filenameforall where + { pop save (fonts/*) + { dup length 6 sub 6 exch getinterval cvn == } bind + str filenameforall flush restore + } if + (*) = flush + sv + end + restore" +*End +*Message: "%% exitserver: permanent state may be changed %%" +*Message: "%% Flushing: rest of job (to end-of-file) will be ignored %%" +*Message: "FontName not found, using Courier" +*Status: "Printer Busy" +*Status: "Warming Up" +*Status: "idle" +*Status: "busy" +*Status: "waiting" +*Status: "initializing" +*Status: "not ready" +*Source: "Serial" +*Source: "Parallel" +*Source: "Network" +*PrinterError: "Paper Jam" +*PrinterError: "Wrong Paper Length" +*PrinterError: "Invalid Manual Insertion" +*PrinterError: "Change Size in Feeder" +*PrinterError: "Change Size in Tray 1" +*PrinterError: "Change Size in Tray 2" +*PrinterError: "Paper Out or Feed Failure - Feeder" +*PrinterError: "Paper Out or Feed Failure - Tray 1" +*PrinterError: "Paper Out or Feed Failure - Tray 2" +*PrinterError: "Cover Open/Cartridge Not Installed" +*PrinterError: "Complex Page" +*PrinterError: "Default Storage Error" +*PrinterError: "Defective Font Card Installed" +*PrinterError: "Flash Full" +*PrinterError: "ioerror" +*PrinterError: "Flash Error" +*PrinterError: "Scheduled Maintenance" +*PrinterError: "Toner Low" +*PrinterError: "Service Error" +*PrinterError: "Not Ready" +* DefaultColorSep: "ProcessBlack.154lpi.600dpi/154 lpi / 600 dpi" +* InkName: "ProcessBlack/Process Black" +* InkName: "CustomColor/Custom Color" +* InkName: "ProcessCyan/Process Cyan" +* InkName: "ProcessMagenta/Process Magenta" +* InkName: "ProcessYellow/Process Yellow" +*ColorSepScreenAngle ProcessBlack.154lpi.600dpi/154 lpi / 600 dpi: "50.0" +*ColorSepScreenAngle CustomColor.154lpi.600dpi/154 lpi / 600 dpi: "50.0" +*ColorSepScreenAngle ProcessCyan.154lpi.600dpi/154 lpi / 600 dpi: "16.0" +*ColorSepScreenAngle ProcessMagenta.154lpi.600dpi/154 lpi / 600 dpi: "76.0" +*ColorSepScreenAngle ProcessYellow.154lpi.600dpi/154 lpi / 600 dpi: "0.0" +*ColorSepScreenFreq ProcessBlack.154lpi.600dpi/154 lpi / 600 dpi: "154.0" +*ColorSepScreenFreq CustomColor.154lpi.600dpi/154 lpi / 600 dpi: "154.0" +*ColorSepScreenFreq ProcessCyan.154lpi.600dpi/154 lpi / 600 dpi: "154.0" +*ColorSepScreenFreq ProcessMagenta.154lpi.600dpi/154 lpi / 600 dpi: "154.0" +*ColorSepScreenFreq ProcessYellow.154lpi.600dpi/154 lpi / 600 dpi: "150.0" +*ColorSepScreenAngle ProcessBlack.154lpi.1200dpi/154 lpi / 1200 dpi: "50.0" +*ColorSepScreenAngle CustomColor.154lpi.1200dpi/154 lpi / 1200 dpi: "50.0" +*ColorSepScreenAngle ProcessCyan.154lpi.1200dpi/154 lpi / 1200 dpi: "16.0" +*ColorSepScreenAngle ProcessMagenta.154lpi.1200dpi/154 lpi / 1200 dpi: "76.0" +*ColorSepScreenAngle ProcessYellow.154lpi.1200dpi/154 lpi / 1200 dpi: "0.0" +*ColorSepScreenFreq ProcessBlack.154lpi.1200dpi/154 lpi / 1200 dpi: "154.0" +*ColorSepScreenFreq CustomColor.154lpi.1200dpi/154 lpi / 1200 dpi: "154.0" +*ColorSepScreenFreq ProcessCyan.154lpi.1200dpi/154 lpi / 1200 dpi: "154.0" +*ColorSepScreenFreq ProcessMagenta.154lpi.1200dpi/154 lpi / 1200 dpi: "154." +*ColorSepScreenFreq ProcessYellow.154lpi.1200dpi/154 lpi / 1200 dpi: "150.0" +*UIConstraints: *Trays Tray1 *InputSlot Tray2 +*UIConstraints: *InputSlot Tray2 *Trays Tray1 +*UIConstraints: *Trays Tray1 *SepSource Tray2 +*UIConstraints: *SepSource Tray2 *Trays Tray1 +*UIConstraints: *SepPages NoneF *SepSource Tray1 +*UIConstraints: *SepSource Tray1 *SepPages NoneF +*UIConstraints: *SepPages NoneF *SepSource Tray2 +*UIConstraints: *SepSource Tray2 *SepPages NoneF +*UIConstraints: *SepPages NoneF *SepSource MultipurposeFeeder +*UIConstraints: *SepSource MultipurposeFeeder *SepPages NoneF +*UIConstraints: *SepSource Tray2 *PageSize A6 +*UIConstraints: *PageSize A6 *SepSource Tray2 +*UIConstraints: *SepSource Tray2 *PageRegion A6 +*UIConstraints: *PageRegion A6 *SepSource Tray2 +*UIConstraints: *OptDuplex NotInstalledM *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *OptDuplex NotInstalledM +*UIConstraints: *OptDuplex NotInstalledM *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *OptDuplex NotInstalledM +*UIConstraints: *InputSlot Tray1 *MediaType Card +*UIConstraints: *MediaType Card *InputSlot Tray1 +*UIConstraints: *InputSlot Tray2 *PageSize A6 +*UIConstraints: *PageSize A6 *InputSlot Tray2 +*UIConstraints: *InputSlot Tray2 *PageRegion A6 +*UIConstraints: *PageRegion A6 *InputSlot Tray2 +*UIConstraints: *InputSlot Tray2 *MediaType Card +*UIConstraints: *MediaType Card *InputSlot Tray2 +*UIConstraints: *InputSlot ManualEnv *PageSize Letter +*UIConstraints: *PageSize Letter *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize Legal +*UIConstraints: *PageSize Legal *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize Oficio +*UIConstraints: *PageSize Oficio *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize A4 +*UIConstraints: *PageSize A4 *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize Executive +*UIConstraints: *PageSize Executive *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize Folio +*UIConstraints: *PageSize Folio *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize Statement +*UIConstraints: *PageSize Statement *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize B5 +*UIConstraints: *PageSize B5 *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize A5 +*UIConstraints: *PageSize A5 *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *PageSize A6 +*UIConstraints: *PageSize A6 *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Plain +*UIConstraints: *MediaType Plain *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Card +*UIConstraints: *MediaType Card *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Transparency +*UIConstraints: *MediaType Transparency *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Labels +*UIConstraints: *MediaType Labels *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Bond +*UIConstraints: *MediaType Bond *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Letterhead +*UIConstraints: *MediaType Letterhead *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Preprint +*UIConstraints: *MediaType Preprint *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Colored +*UIConstraints: *MediaType Colored *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Light +*UIConstraints: *MediaType Light *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Heavy +*UIConstraints: *MediaType Heavy *InputSlot ManualEnv +*UIConstraints: *InputSlot ManualEnv *MediaType Rough +*UIConstraints: *MediaType Rough *InputSlot ManualEnv +*UIConstraints: *Duplex DuplexNoTumble *PageSize A5 +*UIConstraints: *PageSize A5 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageSize A6 +*UIConstraints: *PageSize A6 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageSize B5 +*UIConstraints: *PageSize B5 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageSize Executive +*UIConstraints: *PageSize Executive *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageSize Statement +*UIConstraints: *PageSize Statement *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageRegion A5 +*UIConstraints: *PageRegion A5 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageRegion A6 +*UIConstraints: *PageRegion A6 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageRegion B5 +*UIConstraints: *PageRegion B5 *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageRegion Executive +*UIConstraints: *PageRegion Executive *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *PageRegion Statement +*UIConstraints: *PageRegion Statement *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *MediaType Card +*UIConstraints: *MediaType Card *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *MediaType Transparency +*UIConstraints: *MediaType Transparency *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *MediaType Labels +*UIConstraints: *MediaType Labels *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexNoTumble *MediaType Rough +*UIConstraints: *MediaType Rough *Duplex DuplexNoTumble +*UIConstraints: *Duplex DuplexTumble *PageSize A5 +*UIConstraints: *PageSize A5 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageSize A6 +*UIConstraints: *PageSize A6 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageSize B5 +*UIConstraints: *PageSize B5 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageSize Executive +*UIConstraints: *PageSize Executive *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageSize Statement +*UIConstraints: *PageSize Statement *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageRegion A5 +*UIConstraints: *PageRegion A5 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageRegion A6 +*UIConstraints: *PageRegion A6 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageRegion B5 +*UIConstraints: *PageRegion B5 *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageRegion Executive +*UIConstraints: *PageRegion Executive *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *PageRegion Statement +*UIConstraints: *PageRegion Statement *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *MediaType Card +*UIConstraints: *MediaType Card *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *MediaType Transparency +*UIConstraints: *MediaType Transparency *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *MediaType Labels +*UIConstraints: *MediaType Labels *Duplex DuplexTumble +*UIConstraints: *Duplex DuplexTumble *MediaType Rough +*UIConstraints: *MediaType Rough *Duplex DuplexTumble +*UIConstraints: *GrayCorrection FalseM *LexBrightness +6 +*UIConstraints: *LexBrightness +6 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness +5 +*UIConstraints: *LexBrightness +5 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness +4 +*UIConstraints: *LexBrightness +4 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness +3 +*UIConstraints: *LexBrightness +3 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness +2 +*UIConstraints: *LexBrightness +2 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness +1 +*UIConstraints: *LexBrightness +1 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness 0 +*UIConstraints: *LexBrightness 0 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -1 +*UIConstraints: *LexBrightness -1 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -2 +*UIConstraints: *LexBrightness -2 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -3 +*UIConstraints: *LexBrightness -3 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -4 +*UIConstraints: *LexBrightness -4 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -5 +*UIConstraints: *LexBrightness -5 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexBrightness -6 +*UIConstraints: *LexBrightness -6 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 5 +*UIConstraints: *LexContrast 5 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 4 +*UIConstraints: *LexContrast 4 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 3 +*UIConstraints: *LexContrast 3 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 2 +*UIConstraints: *LexContrast 2 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 1 +*UIConstraints: *LexContrast 1 *GrayCorrection FalseM +*UIConstraints: *GrayCorrection FalseM *LexContrast 0 +*UIConstraints: *LexContrast 0 *GrayCorrection FalseM +*OpenUI *PageSize/Media Size: PickOne +*OrderDependency: 30 AnySetup *PageSize +*DefaultPageSize: A4 +*PageSize Letter/Letter: " + << /Policies << /PageSize 2 >> /PageSize [612 792] /ImagingBBox null >> setpagedevice" +*End +*PageSize Legal/Legal: " + << /Policies << /PageSize 2 >> /PageSize [612 1008] /ImagingBBox null >> setpagedevice" +*End +*PageSize Oficio/Oficio (Mexiko): " + << /Policies << /PageSize 2 >> /PageSize [612 965] /ImagingBBox null >> setpagedevice" +*End +*PageSize B5/JIS B5: " + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice + 2 dict dup /PageSize [516 729] put dup /ImagingBBox null put setpagedevice" +*End +*PageSize A4/A4: " + << /Policies << /PageSize 2 >> /PageSize [595 842] /ImagingBBox null >> setpagedevice" +*End +*PageSize Executive/Executive: " + << /Policies << /PageSize 2 >> /PageSize [522 756] /ImagingBBox null >> setpagedevice" +*End +*PageSize A5/A5: " + << /Policies << /PageSize 2 >> /PageSize [420 595] /ImagingBBox null >> setpagedevice" +*End +*PageSize A6/A6: " + << /Policies << /PageSize 2 >> /PageSize [297 419] /ImagingBBox null >> setpagedevice" +*End +*PageSize Folio/Folio: " + << /Policies << /PageSize 2 >> /PageSize [612 936] /ImagingBBox null >> setpagedevice" +*End +*PageSize Statement/Statement: " + << /Policies << /PageSize 2 >> /PageSize [396 612] /ImagingBBox null >> setpagedevice" +*End +*PageSize Monarch/7 3/4 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [279 540] /ImagingBBox null >> setpagedevice" +*End +*PageSize C4/C9 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [279 639] /ImagingBBox null >> setpagedevice" +*End +*PageSize Comm10/C10 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [297 684] /ImagingBBox null >> setpagedevice" +*End +*PageSize DL/DL Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [312 624] /ImagingBBox null >> setpagedevice" +*End +*PageSize C5/C5 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [459 649] /ImagingBBox null >> setpagedevice" +*End +*PageSize ISOB5/B5 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [499 708] /ImagingBBox null >> setpagedevice" +*End +*PageSize OthEnv/Anderer Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [612 996] /ImagingBBox null >> setpagedevice" +*End +*CloseUI: *PageSize +*OpenUI *PageRegion/Media Size: PickOne +*OrderDependency: 35 AnySetup *PageRegion +*DefaultPageRegion: A4 +*PageRegion Letter/Letter: " + <> /PageSize [612 792] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Legal/Legal: " + <> /PageSize [612 1008] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Oficio/Oficio (Mexiko): " + <> /PageSize [612 965] /ImagingBBox null >> setpagedevice" +*End +*PageRegion B5/JIS B5: " + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice + 2 dict dup /PageSize [516 729] put dup /ImagingBBox null put setpagedevice" +*End +*PageRegion A4/A4: " + <> /PageSize [595 842] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Executive/Executive: " + <> /PageSize [522 756] /ImagingBBox null >> setpagedevice" +*End +*PageRegion A5/A5: " + <> /PageSize [420 595] /ImagingBBox null >> setpagedevice" +*End +*PageRegion A6/A6: " + << /Policies << /PageSize 2 >> /PageSize [297 419] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Folio/Folio: " + << /Policies << /PageSize 2 >> /PageSize [612 936] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Statement/Statement: " + << /Policies << /PageSize 2 >> /PageSize [396 612] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Monarch/7 3/4 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [279 540] /ImagingBBox null >> setpagedevice" +*End +*PageRegion C4/C9 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [279 639] /ImagingBBox null >> setpagedevice" +*End +*PageRegion Comm10/C10 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [297 684] /ImagingBBox null >> setpagedevice" +*End +*PageRegion DL/DL Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [312 624] /ImagingBBox null >> setpagedevice" +*End +*PageRegion C5/C5 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [459 649] /ImagingBBox null >> setpagedevice" +*End +*PageRegion ISOB5/B5 Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [499 708] /ImagingBBox null >> setpagedevice" +*End +*PageRegion OthEnv/Anderer Briefumschlag: " + << /Policies << /PageSize 2 >> /PageSize [612 996] /ImagingBBox null >> setpagedevice" +*End +*CloseUI: *PageRegion +*DefaultImageableArea: A4 +*ImageableArea Letter/Letter: "12.00 12.00 600.00 780.00" +*ImageableArea Legal/Legal: "12.00 12.00 600.00 996.00" +*ImageableArea Oficio/Oficio (Mexiko): "12.00 12.00 600.00 953.00" +*ImageableArea B5/JIS B5: "12.00 12.00 506.00 716.00" +*ImageableArea A4/A4: "10.00 12.00 589.00 830.00" +*ImageableArea Executive/Executive: "12.00 12.00 510.00 744.00" +*ImageableArea A5/A5: "12.00 12.00 408.00 583.00" +*ImageableArea A6/A6: "12.00 12.00 285.00 407.00" +*ImageableArea Folio/Folio: "12.00 12.00 600.00 924.00" +*ImageableArea Statement/Statement: "12.00 12.00 384.00 600.00" +*ImageableArea Monarch/7 3/4 Briefumschlag: "12.00 12.00 279.00 528.00" +*ImageableArea C4/C9 Briefumschlag: "12.00 12.00 279.00 627.00" +*ImageableArea Comm10/C10 Briefumschlag: "12.00 12.00 294.00 672.00" +*ImageableArea DL/DL Briefumschlag: "12.00 12.00 310.00 612.00" +*ImageableArea C5/C5 Briefumschlag: "12.00 12.00 456.00 637.00" +*ImageableArea ISOB5/B5 Briefumschlag: "12.00 12.00 498.00 696.00" +*ImageableArea OthEnv/Anderer Briefumschlag: "12.00 12.00 600.00 996.00" +*DefaultPaperDimension: A4 +*PaperDimension Letter/Letter: "612.00 792.00" +*PaperDimension Legal/Legal: "612.00 1008.00" +*PaperDimension Oficio/Oficio (Mexiko): "612.00 965.00" +*PaperDimension B5/JIS B5: "516.24 728.64" +*PaperDimension A4/A4: "595.00 842.00" +*PaperDimension Executive/Executive: "522.00 756.00" +*PaperDimension A5/A5: "419.76 595.44" +*PaperDimension A6/A6: "297.00 419.00" +*PaperDimension Folio/Folio: "612.00 936.00" +*PaperDimension Statement/Statement: "396.00 612.00" +*PaperDimension Monarch/7 3/4 Briefumschlag: "279.00 540.00" +*PaperDimension C4/C9 Briefumschlag: "279.00 639.00" +*PaperDimension Comm10/C10 Briefumschlag: "297.00 684.00" +*PaperDimension DL/DL Briefumschlag: "311.76 623.52" +*PaperDimension C5/C5 Briefumschlag: "459.36 649.44" +*PaperDimension ISOB5/B5 Briefumschlag: "498.96 708.48" +*PaperDimension OthEnv/Anderer Briefumschlag: "612.00 1007.00" +*MaxMediaWidth: "612.00" +*MaxMediaHeight: "1020.00" +*HWMargins: 0.00 0.00 0.00 0.00 +*CustomPageSize True: "pop pop pop <>setpagedevice" +*ParamCustomPageSize Width: 1 points 216.00 612.00 +*ParamCustomPageSize Height: 2 points 216.00 1020.00 +*ParamCustomPageSize WidthOffset: 3 points 0 0 +*ParamCustomPageSize HeightOffset: 4 points 0 0 +*ParamCustomPageSize Orientation: 5 int 0 0 +*OpenUI *InputSlot/Medienzuführung: PickOne +*OrderDependency: 20.0 AnySetup *InputSlot +*DefaultInputSlot: Tray1 +*InputSlot Tray1/Fach 1: " + 1 dict dup /MediaPosition null put setpagedevice + currentpagedevice /InputAttributes get 0 get setpagedevice + 1 dict dup /InputAttributes 1 dict dup /Priority [0] put put setpagedevice + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice + << /ManualFeed false >> setpagedevice" +*End +*InputSlot Tray2/Fach 2: " + 1 dict dup /MediaPosition null put setpagedevice + userdict /lms + currentpagedevice /InputAttributes get 1 known { 1 }{ 0 }ifelse put + currentpagedevice /InputAttributes get lms get setpagedevice + 1 dict dup /InputAttributes 1 dict dup /Priority [lms] put put setpagedevice + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice + << /ManualFeed false >> setpagedevice" +*End +*InputSlot MultipurposeFeeder/Universal: " + 1 dict dup /MediaPosition null put setpagedevice + userdict /lms + currentpagedevice /InputAttributes get 4 known { 4 }{ 0 }ifelse put + currentpagedevice /InputAttributes get lms get setpagedevice + 1 dict dup /InputAttributes 1 dict dup /Priority [lms] put put setpagedevice + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice + << /ManualFeed false >> setpagedevice" +*End +*InputSlot ManualPaper/Papier manuell: " + 1 dict dup /MediaPosition null put setpagedevice + 1 dict dup /ManualFeed true put setpagedevice + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice" +*End +*InputSlot ManualEnv/Briefumschlag manuell: " + 1 dict dup /MediaPosition null put setpagedevice + 1 dict dup /ManualFeed true put setpagedevice + 1 dict dup /Policies 1 dict dup /PageSize 2 put put setpagedevice" +*End +*?InputSlot: " + gsave + [(Tray1) (Tray2) (ManualPaper) (ManualEnv) (MultipurposeFeeder)] + statusdict /papertray get exec {get exec} stopped {pop pop (Unknown)} + if + = flush + grestore" +*End +*CloseUI: *InputSlot +*OpenGroup: InstallableOptions/Installable Options +*OpenUI *Trays: PickOne +*OrderDependency: 0.0 AnySetup *Trays +*DefaultTrays: Tray1 +*Trays Tray1/Fach 1: "" +*Trays Tray12/Fach 1+2: "" +*?Trays: " + gsave + currentpagedevice /InputAttributes get + 1 get null eq + {(Tray1)} {(Tray12)} + ifelse + = flush + grestore" +*End +*CloseUI: *Trays +*OpenUI *OptDuplex/Beidseitig Binderand: PickOne +*OrderDependency: 0.0 AnySetup *OptDuplex +*DefaultOptDuplex: InstalledM +*OptDuplex InstalledM/Eingebaut: "" +*OptDuplex NotInstalledM/Nicht Eingebaut: "" +*?OptDuplex: " + gsave + statusdict /duplexer get exec + true eq {(InstalledM)} {(NotInstalledM)} ifelse + = flush + grestore + " +*End +*CloseUI: *OptDuplex +*OpenUI *Flash: PickOne +*OrderDependency: 0.0 AnySetup *Flash +*DefaultFlash: InstalledF +*Flash NotInstalledF/Nicht Eingebaut: "" +*Flash InstalledF/Eingebaut: "" +*?Flash: " + (%flash%) devstatus + false eq {(NotInstalledF)} {(InstalledF)} ifelse + = flush + " +*End +*CloseUI: *Flash +*CloseGroup: InstallableOptions +*OpenGroup: Quality/Qualität +*OpenUI *Resolution: PickOne +*OrderDependency: 11.0 AnySetup *Resolution +*DefaultResolution: 1200x600dpi +*Resolution 600dpi/600 dpi: "<< /HWResolution [600 600] >> setpagedevice" +*Resolution 1200dpi/1200 dpi: "<< /HWResolution [1200 1200] >> setpagedevice" +*Resolution 1200x600dpi/1200 Bildqualität: " + 1 dict dup /HWResolution [600 600] put setpagedevice + << /DeviceRenderingInfo << /Type 105 /ImageEnhancement 1 >> >> setpagedevice + << /DeviceRenderingInfo << /Type 105 /ImageEnhancementType 2 >> >> setpagedevice" +*End +*Resolution 2400x600dpi/2400 Bildqualität: " + 1 dict dup /HWResolution [600 600] put setpagedevice + << /DeviceRenderingInfo << /Type 105 /ImageEnhancement 1 >> >> setpagedevice + << /DeviceRenderingInfo << /Type 105 /ImageEnhancementType 4 >> >> setpagedevice" +*End +*?Resolution: " + gsave + currentpagedevice /DeviceRenderingInfo get /ImageEnhancement get dup + 0 eq + { + currentpagedevice /DeviceRenderingInfo get /ImageEnhancementType get + 2 eq + { + currentpagedevice /HWResolution get 0 get + cvi 7 string cvs dup length dup 3 add string dup 3 index 0 exch putinterval dup + 2 index (dpi) putinterval exch pop exch pop + } + { (dummy) }ifelse + } + { + currentpagedevice /DeviceRenderingInfo get /ImageEnhancementType get + 4 eq + { (2400IQ) } + { (1200IQ) }ifelse + }ifelse + = flush + grestore" +*End +*CloseUI: *Resolution +*OpenUI *TonerDarkness/Tonerdeckung: PickOne +*OrderDependency: 16.0 AnySetup *TonerDarkness +*DefaultTonerDarkness: PrinterS +*TonerDarkness PrinterS/Druckereinstellung: "" +*TonerDarkness 1: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 1 /TonerSaver true >> >> setpagedevice" +*TonerDarkness 2: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 2 /TonerSaver true >> >> setpagedevice" +*TonerDarkness 3: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 3 /TonerSaver true >> >> setpagedevice" +*TonerDarkness 4: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 4 /TonerSaver true >> >> setpagedevice" +*TonerDarkness 5: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 5 /TonerSaver true >> >> setpagedevice" +*TonerDarkness 6: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 1 /TonerSaver false >> >> setpagedevice" +*TonerDarkness 7: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 2 /TonerSaver false >> >> setpagedevice" +*TonerDarkness 8: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 3 /TonerSaver false >> >> setpagedevice" +*TonerDarkness 9: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 4 /TonerSaver false >> >> setpagedevice" +*TonerDarkness 10: "<< /DeviceRenderingInfo << /Type 105 /PrintDarkness 5 /TonerSaver false >> >> setpagedevice" +*?TonerDarkness: " + gsave + currentpagedevice /DeviceRenderingInfo get dup /TonerSaver get + true eq {/PrintDarkness get}{/PrintDarkness get 5 add} ifelse + = flush + grestore" +*End +*CloseUI: *TonerDarkness +*OpenUI *GrayCorrection/Graukorrektur: PickOne +*OrderDependency: 12.0 AnySetup *GrayCorrection +*DefaultGrayCorrection: PrinterS +*GrayCorrection PrinterS/Druckereinstellung: "" +*GrayCorrection Auto: "<< /DeviceRenderingInfo << /ColorCorrection /Automatic >> >> setpagedevice" +*GrayCorrection FalseM/Aus: "<< /DeviceRenderingInfo << /ColorCorrection /Off >> >> setpagedevice" +*?GrayCorrection: " + gsave + 2 dict + dup /Automatic (Auto) put + dup /Off (FalseM) put + currentpagedevice /DeviceRenderingInfo get /ColorCorrection get + get = flush + grestore" +*End +*CloseUI: *GrayCorrection +*OpenUI *LexPixelBoost/Pixel-Erhöhung: PickOne +*OrderDependency: 190.0 AnySetup *LexPixelBoost +*DefaultLexPixelBoost: PrinterS +*LexPixelBoost PrinterS/Druckereinstellung: "" +*LexPixelBoost False/Aus: "" +*LexPixelBoost Fonts: "" +*LexPixelBoost Horizontally: "" +*LexPixelBoost Vertically: "" +*LexPixelBoost BothDirections/Beide Richtungen: "" +*CloseUI: *LexPixelBoost +*OpenUI *LexBrightness/Helligkeit: PickOne +*OrderDependency: 185.0 AnySetup *LexBrightness +*DefaultLexBrightness: PrinterS +*LexBrightness PrinterS/Druckereinstellung: "" +*LexBrightness -6/ -6: "<< /DeviceRenderingInfo << /ImageBrightness -6 >> >> setpagedevice" +*LexBrightness -5/ -5: "<< /DeviceRenderingInfo << /ImageBrightness -5 >> >> setpagedevice" +*LexBrightness -4/ -4: "<< /DeviceRenderingInfo << /ImageBrightness -4 >> >> setpagedevice" +*LexBrightness -3/ -3: "<< /DeviceRenderingInfo << /ImageBrightness -3 >> >> setpagedevice" +*LexBrightness -2/ -2: "<< /DeviceRenderingInfo << /ImageBrightness -2 >> >> setpagedevice" +*LexBrightness -1/ -1: "<< /DeviceRenderingInfo << /ImageBrightness -1 >> >> setpagedevice" +*LexBrightness 0/ 0: "<< /DeviceRenderingInfo << /ImageBrightness 0 >> >> setpagedevice" +*LexBrightness +1/ +1: "<< /DeviceRenderingInfo << /ImageBrightness 1 >> >> setpagedevice" +*LexBrightness +2/ +2: "<< /DeviceRenderingInfo << /ImageBrightness 2 >> >> setpagedevice" +*LexBrightness +3/ +3: "<< /DeviceRenderingInfo << /ImageBrightness 3 >> >> setpagedevice" +*LexBrightness +4/ +4: "<< /DeviceRenderingInfo << /ImageBrightness 4 >> >> setpagedevice" +*LexBrightness +5/ +5: "<< /DeviceRenderingInfo << /ImageBrightness 5 >> >> setpagedevice" +*LexBrightness +6/ +6: "<< /DeviceRenderingInfo << /ImageBrightness 6 >> >> setpagedevice" +*?LexBrightness: " + gsave + currentpagedevice /DeviceRenderingInfo get /ImageBrightness get + = flush + grestore + " +*End +*CloseUI: *LexBrightness +*OpenUI *LexContrast/Kontrast: PickOne +*OrderDependency: 190.0 AnySetup *LexContrast +*DefaultLexContrast: PrinterS +*LexContrast PrinterS/Druckereinstellung: "" +*LexContrast 0: "<< /DeviceRenderingInfo << /ImageContrast 0 >> >> setpagedevice" +*LexContrast 1: "<< /DeviceRenderingInfo << /ImageContrast 1 >> >> setpagedevice" +*LexContrast 2: "<< /DeviceRenderingInfo << /ImageContrast 2 >> >> setpagedevice" +*LexContrast 3: "<< /DeviceRenderingInfo << /ImageContrast 3 >> >> setpagedevice" +*LexContrast 4: "<< /DeviceRenderingInfo << /ImageContrast 4 >> >> setpagedevice" +*LexContrast 5: "<< /DeviceRenderingInfo << /ImageContrast 5 >> >> setpagedevice" +*?LexContrast: " + gsave + currentpagedevice /DeviceRenderingInfo get /ImageContrast get + = flush + grestore + " +*End +*CloseUI: *LexContrast +*OpenUI *LexLineDetail/Feine Linien verbessern: PickOne +*OrderDependency: 180.0 AnySetup *LexLineDetail +*DefaultLexLineDetail: PrinterS +*LexLineDetail PrinterS/Druckereinstellung: "" +*LexLineDetail FalseF/Aus: "<< /DeviceRenderingInfo << /LineDetail /Off >> >> setpagedevice" +*LexLineDetail TrueF/Ein: "<< /DeviceRenderingInfo << /LineDetail /On >> >> setpagedevice" +*?LexLineDetail: " + gsave + 2 dict + dup /On (TrueF) put + dup /Off (FalseF) put + + currentpagedevice /DeviceRenderingInfo get /LineDetail get + = flush + grestore + " +*End +*CloseUI: *LexLineDetail +*OpenUI *LexMirror/Spiegeln: Boolean +*OrderDependency: 500.0 AnySetup *LexMirror +*DefaultLexMirror: False +*LexMirror False/Aus: "" +*LexMirror True/Ein: "<< /Install { currentpagedevice /PageSize get 0 get 0 translate -1 1 scale } >> setpagedevice" +*CloseUI: *LexMirror +*CloseGroup: Quality +*OpenGroup: Paper/Papier +*OpenUI *OutputBin/Papierablage: PickOne +*OrderDependency: 56.0 AnySetup *OutputBin +*DefaultOutputBin: PrinterS +*OutputBin PrinterS/Druckereinstellung: "" +*OutputBin StandardBin/Standardablage: " + << /OutputAttributes << 0 << /OutputType (TOP OUTPUT BIN) >> >> >> setpagedevice + << /OutputType (TOP OUTPUT BIN) >> setpagedevice" +*End +*CloseUI: *OutputBin +*OpenUI *MediaType/Papiersorte: PickOne +*OrderDependency: 40.0 AnySetup *MediaType +*DefaultMediaType: PrinterS +*MediaType PrinterS/Druckereinstellung: "" +*MediaType Plain/Normalpapier: "<< /MediaType (Plain) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Card/Karten: "<< /MediaType (Card Stock) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Transparency: "<< /MediaType (Transparency) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Labels: "<< /MediaType (Labels) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Bond: "<< /MediaType (Bond) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Envelope: "<< /MediaType (Envelope) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Letterhead: "<< /MediaType (Letterhead) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Preprint/Vorgedruckt: "<< /MediaType (Preprinted) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Colored/Farbpapier: "<< /MediaType (Colored Paper) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Light/Leichtes papier: "<< /MediaType (Light) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Heavy/Schweres papier: "<< /MediaType (Heavy) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Rough/Rau/Baumwolle: "<< /MediaType (Rough) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Recycled: "<< /MediaType (Recycled) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType RoughEnvelope/Rauer Umschlag: "<< /MediaType (Rough Envelope) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom1/Benutzerdef. 1: "<< /MediaType (Custom Type 1) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom2/Benutzerdef. 2: "<< /MediaType (Custom Type 2) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom3/Benutzerdef. 3: "<< /MediaType (Custom Type 3) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom4/Benutzerdef. 4: "<< /MediaType (Custom Type 4) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom5/Benutzerdef. 5: "<< /MediaType (Custom Type 5) /Policies << /MediaType 2 >> >> setpagedevice" +*MediaType Custom6/Benutzerdef. 6: "<< /MediaType (Custom Type 6) /Policies << /MediaType 2 >> >> setpagedevice" +*CloseUI: *MediaType +*OpenUI *LexBlankPage/Leere Seiten drucken: PickOne +*OrderDependency: 175.0 AnySetup *LexBlankPage +*DefaultLexBlankPage: PrinterS +*LexBlankPage PrinterS/Druckereinstellung: "" +*LexBlankPage False/Aus: "" +*LexBlankPage True/Ein: "" +*CloseUI: *LexBlankPage +*CloseGroup: Paper +*OpenGroup: Finishing/Papierausgabe +*OpenUI *Duplex: PickOne +*OrderDependency: 0.0 AnySetup *Duplex +*DefaultDuplex: None +*Duplex None: "1 dict dup /Duplex false put setpagedevice" +*Duplex DuplexNoTumble/Lange Kante Binden: " + statusdict /duplexer get exec + { 2 dict dup /Duplex true put dup /Tumble false put setpagedevice} + { 1 dict dup /Duplex false put setpagedevice} + ifelse" +*End +*Duplex DuplexTumble/Kurze Kante Binden: " + statusdict /duplexer get exec + { 2 dict dup /Duplex true put dup /Tumble true put setpagedevice} + { 1 dict dup /Duplex false put setpagedevice} + ifelse" +*End +*?Duplex: " + gsave + currentpagedevice /Duplex get + { + currentpagedevice /Tumble get + {(DuplexTumble)}{(DuplexNoTumble)} ifelse + }{(None)} ifelse + = flush + grestore" +*End +*CloseUI: *Duplex +*OpenUI *Collate/Sortieren: Boolean +*OrderDependency: 50.0 AnySetup *Collate +*DefaultCollate: True +*Collate False/Aus: "<< /Collate false >> setpagedevice" +*Collate True/Ein: "<< /Collate true >> setpagedevice" +*?Collate: " + gsave + currentpagedevice /Collate get + {(True)}{(False)} ifelse + = flush + grestore" +*End +*CloseUI: *Collate +*OpenUI *SepPages/Trennseiten: PickOne +*OrderDependency: 51.0 AnySetup *SepPages +*DefaultSepPages: PrinterS +*SepPages PrinterS/Druckereinstellung: "" +*SepPages NoneF/Aus: "<< /SlipSheet 0 >> setpagedevice" +*SepPages Jobs/Zwischen Aufträgen: "<< /SlipSheet 2 >> setpagedevice" +*SepPages Copies/Zwischen Kopien: "<< /SlipSheet 3 >> setpagedevice" +*SepPages Pages/Zwischen Seiten: "<< /SlipSheet 4 >> setpagedevice" +*?SepPages: " + gsave + currentpagedevice /SlipSheet get + dup dup + 4 eq {(Pages)}{ + 3 eq {(Copies)}{ + 2 eq {(Jobs)} + {(NoneF)}ifelse + }ifelse + }ifelse + = flush + grestore" +*End +*CloseUI: *SepPages +*OpenUI *SepSource/Trennseitenzufuhr: PickOne +*OrderDependency: 52.0 AnySetup *SepSource +*DefaultSepSource: PrinterS +*SepSource PrinterS/Druckereinstellung: "" +*SepSource Tray1/Fach 1: "<< /SlipSheetDetails << /Type 96 /SlipSheetSource 0 >> >> setpagedevice" +*SepSource Tray2/Fach 2: "<< /SlipSheetDetails << /Type 96 /SlipSheetSource 1 >> >> setpagedevice" +*SepSource MultipurposeFeeder/Universal: "<< /SlipSheetDetails << /Type 96 /SlipSheetSource 4 >> >> setpagedevice" +*?SepSource: " + gsave + currentpagedevice /SlipSheetDetails get /SlipSheetSource get + dup dup dup dup + 4 eq + {(MultipurposeFeeder)} + {1 eq {(Tray2)} + {0 eq + {(Tray1)}{(Off)} + ifelse} + ifelse} + ifelse + = flush + grestore" +*End +*CloseUI: *SepSource +*CloseGroup: Finishing +*DefaultFont: Courier +*Font AvantGarde-Book: Standard "(1.05)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(1.05)" Standard ROM +*Font AvantGarde-Demi: Standard "(1.05)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(1.05)" Standard ROM +*Font Bookman-Demi: Standard "(1.05)" Standard ROM +*Font Bookman-DemiItalic: Standard "(1.05)" Standard ROM +*Font Bookman-Light: Standard "(1.05)" Standard ROM +*Font Bookman-LightItalic: Standard "(1.05)" Standard ROM +*Font Courier: Standard "(1.05)" Standard ROM +*Font Courier-Bold: Standard "(1.05)" Standard ROM +*Font Courier-BoldOblique: Standard "(1.05)" Standard ROM +*Font Courier-Oblique: Standard "(1.05)" Standard ROM +*Font Helvetica: Standard "(1.05)" Standard ROM +*Font Helvetica-Bold: Standard "(1.05)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(1.05)" Standard ROM +*Font Helvetica-Narrow: Standard "(1.05)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(1.05)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(1.05)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(1.05)" Standard ROM +*Font Helvetica-Oblique: Standard "(1.05)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(1.05)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(1.05)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(1.05)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(1.05)" Standard ROM +*Font Palatino-Bold: Standard "(1.05)" Standard ROM +*Font Palatino-BoldItalic: Standard "(1.05)" Standard ROM +*Font Palatino-Italic: Standard "(1.05)" Standard ROM +*Font Palatino-Roman: Standard "(1.05)" Standard ROM +*Font Symbol: Special "(001.005)" Special ROM +*Font Times-Bold: Standard "(1.05)" Standard ROM +*Font Times-BoldItalic: Standard "(1.05)" Standard ROM +*Font Times-Italic: Standard "(1.05)" Standard ROM +*Font Times-Roman: Standard "(1.05)" Standard ROM +*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM +*Font ZapfDingbats: Special "(001.005)" Special ROM +*Font AlbertusMT: Standard "(001.000)" Standard ROM +*Font AlbertusMT-Italic: Standard "(001.000)" Standard ROM +*Font AlbertusMT-Light: Standard "(001.000)" Standard ROM +*Font AntiqueOlive-Roman: Standard "(001.000)" Standard ROM +*Font AntiqueOlive-Italic: Standard "(001.000)" Standard ROM +*Font AntiqueOlive-Bold: Standard "(001.000)" Standard ROM +*Font AntiqueOlive-Compact: Standard "(001.000)" Standard ROM +*Font Apple-Chancery: Standard "(001.000)" Standard ROM +*Font ArialMT: Standard "(001.000)" Standard ROM +*Font Arial-ItalicMT: Standard "(001.000)" Standard ROM +*Font Arial-BoldMT: Standard "(001.000)" Standard ROM +*Font Arial-BoldItalicMT: Standard "(001.000)" Standard ROM +*Font AvantGarde-Book: Standard "(001.000)" Standard ROM +*Font AvantGarde-BookOblique: Standard "(001.000)" Standard ROM +*Font AvantGarde-Demi: Standard "(001.000)" Standard ROM +*Font AvantGarde-DemiOblique: Standard "(001.000)" Standard ROM +*Font Bodoni: Standard "(001.000)" Standard ROM +*Font Bodoni-Italic: Standard "(001.000)" Standard ROM +*Font Bodoni-Bold: Standard "(001.000)" Standard ROM +*Font Bodoni-BoldItalic: Standard "(001.000)" Standard ROM +*Font Bodoni-Poster: Standard "(001.000)" Standard ROM +*Font Bodoni-PosterCompressed: Standard "(001.000)" Standard ROM +*Font Bookman-Light: Standard "(001.000)" Standard ROM +*Font Bookman-LightItalic: Standard "(001.000)" Standard ROM +*Font Bookman-Demi: Standard "(001.000)" Standard ROM +*Font Bookman-DemiItalic: Standard "(001.000)" Standard ROM +*Font Candid: Special "(001.000)" Special ROM +*Font Chicago: Standard "(001.000)" Standard ROM +*Font Clarendon: Standard "(001.000)" Standard ROM +*Font Clarendon-Light: Standard "(001.000)" Standard ROM +*Font Clarendon-Bold: Standard "(001.000)" Standard ROM +*Font CooperBlack: Standard "(001.000)" Standard ROM +*Font CooperBlack-Italic: Standard "(001.000)" Standard ROM +*Font Copperplate-ThirtyTwoBC: Standard "(001.000)" Standard ROM +*Font Copperplate-ThirtyThreeBC: Standard "(001.000)" Standard ROM +*Font Coronet-Regular: Standard "(001.000)" Standard ROM +*Font Courier: Standard "(001.000)" Standard ROM +*Font Courier-Oblique: Standard "(001.000)" Standard ROM +*Font Courier-Bold: Standard "(001.000)" Standard ROM +*Font Courier-BoldOblique: Standard "(001.000)" Standard ROM +*Font Eurostile: Standard "(001.000)" Standard ROM +*Font Eurostile-Bold: Standard "(001.000)" Standard ROM +*Font Eurostile-ExtendedTwo: Standard "(001.000)" Standard ROM +*Font Eurostile-BoldExtendedTwo: Standard "(001.000)" Standard ROM +*Font Garamond-Antiqua: Standard "(001.000)" Standard ROM +*Font Garamond-Kursiv: Standard "(001.000)" Standard ROM +*Font Garamond-Halbfett: Standard "(001.000)" Standard ROM +*Font Garamond-KursivHalbfett: Standard "(001.000)" Standard ROM +*Font Geneva: Standard "(001.000)" Standard ROM +*Font GillSans: Standard "(001.000)" Standard ROM +*Font GillSans-Italic: Standard "(001.000)" Standard ROM +*Font GillSans-Bold: Standard "(001.000)" Standard ROM +*Font GillSans-BoldItalic: Standard "(001.000)" Standard ROM +*Font GillSans-Light: Standard "(001.000)" Standard ROM +*Font GillSans-LightItalic: Standard "(001.000)" Standard ROM +*Font GillSans-ExtraBold: Standard "(001.000)" Standard ROM +*Font GillSans-Condensed: Standard "(001.000)" Standard ROM +*Font GillSans-BoldCondensed: Standard "(001.000)" Standard ROM +*Font GoldSansMM: Standard "(001.000)" Standard ROM +*Font GoldSerifMM: Standard "(001.000)" Standard ROM +*Font Goudy: Standard "(001.000)" Standard ROM +*Font Goudy-Italic: Standard "(001.000)" Standard ROM +*Font Goudy-Bold: Standard "(001.000)" Standard ROM +*Font Goudy-BoldItalic: Standard "(001.000)" Standard ROM +*Font Goudy-ExtraBold: Standard "(001.000)" Standard ROM +*Font Helvetica: Standard "(001.000)" Standard ROM +*Font Helvetica-Oblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Bold: Standard "(001.000)" Standard ROM +*Font Helvetica-BoldOblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Condensed: Standard "(001.000)" Standard ROM +*Font Helvetica-Condensed-Oblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Condensed-Bold: Standard "(001.000)" Standard ROM +*Font Helvetica-Condensed-BoldObl: Standard "(001.000)" Standard ROM +*Font Helvetica-Light: Standard "(001.000)" Standard ROM +*Font Helvetica-LightOblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Black: Standard "(001.000)" Standard ROM +*Font Helvetica-BlackOblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Narrow: Standard "(001.000)" Standard ROM +*Font Helvetica-Narrow-Oblique: Standard "(001.000)" Standard ROM +*Font Helvetica-Narrow-Bold: Standard "(001.000)" Standard ROM +*Font Helvetica-Narrow-BoldOblique: Standard "(001.000)" Standard ROM +*Font HoeflerText-Regular: Standard "(001.000)" Standard ROM +*Font HoeflerText-Italic: Standard "(001.000)" Standard ROM +*Font HoeflerText-Black: Standard "(001.000)" Standard ROM +*Font HoeflerText-BlackItalic: Standard "(001.000)" Standard ROM +*Font HoeflerText-Ornaments: Special "(001.000)" Special ROM +*Font Intl-CG-Times: Standard "(001.000)" Standard ROM +*Font Intl-CG-Times-Italic: Standard "(001.000)" Standard ROM +*Font Intl-CG-Times-Bold: Standard "(001.000)" Standard ROM +*Font Intl-CG-Times-BoldItalic: Standard "(001.000)" Standard ROM +*Font Intl-Courier: Standard "(001.000)" Standard ROM +*Font Intl-Courier-Oblique: Standard "(001.000)" Standard ROM +*Font Intl-Courier-Bold: Standard "(001.000)" Standard ROM +*Font Intl-Courier-BoldOblique: Standard "(001.000)" Standard ROM +*Font Intl-Univers-Medium: Standard "(001.000)" Standard ROM +*Font Intl-Univers-MediumItalic: Standard "(001.000)" Standard ROM +*Font Intl-Univers-Bold: Standard "(001.000)" Standard ROM +*Font Intl-Univers-BoldItalic: Standard "(001.000)" Standard ROM +*Font JoannaMT: Standard "(001.000)" Standard ROM +*Font JoannaMT-Italic: Standard "(001.000)" Standard ROM +*Font JoannaMT-Bold: Standard "(001.000)" Standard ROM +*Font JoannaMT-BoldItalic: Standard "(001.000)" Standard ROM +*Font LetterGothic: Standard "(001.000)" Standard ROM +*Font LetterGothic-Slanted: Standard "(001.000)" Standard ROM +*Font LetterGothic-Bold: Standard "(001.000)" Standard ROM +*Font LetterGothic-BoldSlanted: Standard "(001.000)" Standard ROM +*Font LubalinGraph-Book: Standard "(001.000)" Standard ROM +*Font LubalinGraph-BookOblique: Standard "(001.000)" Standard ROM +*Font LubalinGraph-Demi: Standard "(001.000)" Standard ROM +*Font LubalinGraph-DemiOblique: Standard "(001.000)" Standard ROM +*Font Marigold: Standard "(001.000)" Standard ROM +*Font MonaLisa-Recut: Standard "(001.000)" Standard ROM +*Font Monaco: Standard "(001.000)" Standard ROM +*Font NewCenturySchlbk-Roman: Standard "(001.000)" Standard ROM +*Font NewCenturySchlbk-Italic: Standard "(001.000)" Standard ROM +*Font NewCenturySchlbk-Bold: Standard "(001.000)" Standard ROM +*Font NewCenturySchlbk-BoldItalic: Standard "(001.000)" Standard ROM +*Font NewYork: Standard "(001.000)" Standard ROM +*Font Optima: Standard "(001.000)" Standard ROM +*Font Optima-Italic: Standard "(001.000)" Standard ROM +*Font Optima-Bold: Standard "(001.000)" Standard ROM +*Font Optima-BoldItalic: Standard "(001.000)" Standard ROM +*Font Oxford: Standard "(001.000)" Standard ROM +*Font Palatino-Roman: Standard "(001.000)" Standard ROM +*Font Palatino-Italic: Standard "(001.000)" Standard ROM +*Font Palatino-Bold: Standard "(001.000)" Standard ROM +*Font Palatino-BoldItalic: Standard "(001.000)" Standard ROM +*Font StempelGaramond-Roman: Standard "(001.000)" Standard ROM +*Font StempelGaramond-Italic: Standard "(001.000)" Standard ROM +*Font StempelGaramond-Bold: Standard "(001.000)" Standard ROM +*Font StempelGaramond-BoldItalic: Standard "(001.000)" Standard ROM +*Font Symbol: Special "(001.000)" Special ROM +*Font Taffy: Standard "(001.000)" Standard ROM +*Font Times-Roman: Standard "(001.000)" Standard ROM +*Font Times-Italic: Standard "(001.000)" Standard ROM +*Font Times-Bold: Standard "(001.000)" Standard ROM +*Font Times-BoldItalic: Standard "(001.000)" Standard ROM +*Font TimesNewRomanPSMT: Standard "(001.000)" Standard ROM +*Font TimesNewRomanPS-ItalicMT: Standard "(001.000)" Standard ROM +*Font TimesNewRomanPS-BoldMT: Standard "(001.000)" Standard ROM +*Font TimesNewRomanPS-BoldItalicMT: Standard "(001.000)" Standard ROM +*Font Univers: Standard "(001.000)" Standard ROM +*Font Univers-Oblique: Standard "(001.000)" Standard ROM +*Font Univers-Bold: Standard "(001.000)" Standard ROM +*Font Univers-BoldOblique: Standard "(001.000)" Standard ROM +*Font Univers-Light: Standard "(001.000)" Standard ROM +*Font Univers-LightOblique: Standard "(001.000)" Standard ROM +*Font Univers-Condensed: Standard "(001.000)" Standard ROM +*Font Univers-CondensedOblique: Standard "(001.000)" Standard ROM +*Font Univers-CondensedBold: Standard "(001.000)" Standard ROM +*Font Univers-CondensedBoldOblique: Standard "(001.000)" Standard ROM +*Font Univers-Extended: Standard "(001.000)" Standard ROM +*Font Univers-ExtendedObl: Standard "(001.000)" Standard ROM +*Font Univers-BoldExt: Standard "(001.000)" Standard ROM +*Font Univers-BoldExtObl: Standard "(001.000)" Standard ROM +*Font Wingdings-Regular: Special "(001.000)" Special ROM +*Font ZapfChancery-MediumItalic: Standard "(001.000)" Standard ROM +*Font ZapfDingbats: Special "(001.000)" Special ROM +*% End of D2330dn.ppd, 49322 bytes. diff --git a/cups/printers.conf b/cups/printers.conf index bc56048..a5ce7b2 100644 --- a/cups/printers.conf +++ b/cups/printers.conf @@ -1,7 +1,7 @@ # Printer configuration file for CUPS v1.7.1 -# Written by cupsd on 2014-05-06 12:15 +# Written by cupsd on 2014-05-27 13:50 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING - + UUID urn:uuid:6320fcff-05cc-3168-6d1c-8306a28977be Info RI Dell 2350dn Laser Printer Location Office RI @@ -24,3 +24,27 @@ Attribute marker-names Black Toner,Fuser,Maintenance Kit Attribute marker-types toner,other,other Attribute marker-change-time 1371800841 + +UUID urn:uuid:db2c7a55-9b98-3d65-616b-231c535768da +AuthInfoRequired none +Info Support Printer - Dell 2330dn +Location +MakeModel Dell 2330dn Laser Printer +DeviceURI ipp://192.168.80.4/ipp +State Idle +StateTime 1401191421 +Type 8425692 +Accepting Yes +Shared No +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +OpPolicy default +ErrorPolicy stop-printer +Attribute marker-colors \#000000,none,none +Attribute marker-levels 90,79,-1 +Attribute marker-names Black Toner,Fuser,Maintenance Kit +Attribute marker-types toner,other,other +Attribute marker-change-time 1401191421 + diff --git a/cups/printers.conf.O b/cups/printers.conf.O index b86c22b..febc6ea 100644 --- a/cups/printers.conf.O +++ b/cups/printers.conf.O @@ -1,7 +1,7 @@ # Printer configuration file for CUPS v1.7.1 -# Written by cupsd on 2014-03-19 10:56 +# Written by cupsd on 2014-05-22 16:23 # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING - + UUID urn:uuid:6320fcff-05cc-3168-6d1c-8306a28977be Info RI Dell 2350dn Laser Printer Location Office RI @@ -24,3 +24,27 @@ Attribute marker-names Black Toner,Fuser,Maintenance Kit Attribute marker-types toner,other,other Attribute marker-change-time 1371800841 + +UUID urn:uuid:db2c7a55-9b98-3d65-616b-231c535768da +AuthInfoRequired none +Info Support Printer - Dell 2330dn +Location +MakeModel Dell 2330dn Laser Printer +DeviceURI ipp://192.168.80.4/ipp +State Idle +StateTime 1400768622 +Type 8425692 +Accepting Yes +Shared No +JobSheets none none +QuotaPeriod 0 +PageLimit 0 +KLimit 0 +OpPolicy default +ErrorPolicy stop-printer +Attribute marker-colors \#000000,none,none +Attribute marker-levels 90,79,-1 +Attribute marker-names Black Toner,Fuser,Maintenance Kit +Attribute marker-types toner,other,other +Attribute marker-change-time 1400768622 + diff --git a/cups/subscriptions.conf b/cups/subscriptions.conf index 1af8d17..5690b04 100644 --- a/cups/subscriptions.conf +++ b/cups/subscriptions.conf @@ -1,3 +1,3 @@ -# Subscription configuration file for CUPS v1.6.4 -# Written by cupsd on 2014-01-20 16:43 -NextSubscriptionId 14 +# Subscription configuration file for CUPS v1.7.1 +# Written by cupsd on 2014-05-23 16:11 +NextSubscriptionId 16 diff --git a/cups/subscriptions.conf.O b/cups/subscriptions.conf.O index f83e780..814669c 100644 --- a/cups/subscriptions.conf.O +++ b/cups/subscriptions.conf.O @@ -1,12 +1,11 @@ -# Subscription configuration file for CUPS v1.6.4 -# Written by cupsd on 2014-01-20 16:17 -NextSubscriptionId 14 - -Events printer-state-changed printer-restarted printer-shutdown printer-stopped printer-added printer-deleted job-state-changed job-created job-completed job-stopped +# Subscription configuration file for CUPS v1.7.1 +# Written by cupsd on 2014-05-22 16:23 +NextSubscriptionId 16 + +Events printer-state-changed printer-restarted printer-shutdown printer-stopped printer-added printer-deleted job-state-changed job-created job-completed job-stopped job-progress Owner fbrehm -Recipient dbus:// -LeaseDuration 3600 +LeaseDuration 86400 Interval 0 -ExpirationTime 1390234598 -NextEventId 1 +ExpirationTime 1400854269 +NextEventId 65 diff --git a/group b/group index 46f5787..59aba70 100644 --- a/group +++ b/group @@ -70,3 +70,4 @@ dialout:x:979: systemd-journal:x:978: geoclue:x:977: samba:x:976: +git-commiters:x:222:fbrehm,mbalser diff --git a/group- b/group- index e050621..46f5787 100644 --- a/group- +++ b/group- @@ -69,3 +69,4 @@ chef:x:980: dialout:x:979: systemd-journal:x:978: geoclue:x:977: +samba:x:976: diff --git a/gshadow b/gshadow index 5f2a450..3165be3 100644 --- a/gshadow +++ b/gshadow @@ -70,3 +70,4 @@ dialout:!:: systemd-journal:!:: geoclue:!:: samba:!:: +git-commiters:!:: diff --git a/gshadow- b/gshadow- index 7bbb8b8..5f2a450 100644 --- a/gshadow- +++ b/gshadow- @@ -69,3 +69,4 @@ chef:!:: dialout:!:: systemd-journal:!:: geoclue:!:: +samba:!:: diff --git a/mc/edit.indent.rc b/mc/edit.indent.rc new file mode 100755 index 0000000..92f82d5 --- /dev/null +++ b/mc/edit.indent.rc @@ -0,0 +1,31 @@ +#! /bin/sh +# *** External Formatter (Indenter) for GNU Midnight Commander. +# arguments: +# $1 - Name of the file being edited +# $2 - Name of the file to be processed + +exec >/dev/null + +case `echo $1 |sed 's/^.*\.//'` in + c|h) + # ftp://ftp.gnu.org/pub/gnu/indent/ + # Please add options to your ~/.indent.pro, not here. + indent "$2" + ;; + C|cc|CC|cxx|CXX|cpp|CPP) + # http://astyle.sourceforge.net/ + astyle "$2" + ;; + java|JAVA) + # http://astyle.sourceforge.net/ + astyle --style=java --mode=java "$2" + ;; + htm|html|HTM|HTML) + # http://tidy.sourceforge.net/ + tidy -q -m -ascii -wrap 80 "$2" + ;; + *) + # http://www.gnu.org/software/coreutils/ + fmt "$2" >"$2.tmp" && rm -f "$2" && mv -f "$2.tmp" "$2" + ;; +esac diff --git a/mc/filehighlight.ini b/mc/filehighlight.ini new file mode 100644 index 0000000..8bc1722 --- /dev/null +++ b/mc/filehighlight.ini @@ -0,0 +1,47 @@ +[executable] + type=FILE_EXE + +[directory] + type=DIR + +[device] + type=DEVICE + +[special] + type=SPECIAL + +[stalelink] + type=STALE_LINK + +[symlink] + type=SYMLINK + +[hardlink] + type=HARDLINK + +[core] + regexp=^core\\.*\\d*$ + +[temp] + extensions=tmp;$$$;~;bak + extensions_case=false + regexp=(^#.*|.*~$) + +[archive] + extensions=gz;bz2;tar;tgz;rpm;Z;rar;zip;arj;cab;lzh;lha;zoo;arc;ark;xz;tbz;tbz2;7z;ace + +[doc] + extensions=txt;doc;rtf;diz;ctl;me;ps;pdf;xml;xsd;xslt;dtd;html;shtml;htm;mail;msg;lsm;po;nroff;man;tex;sgml;css;text;letter;chm;docx;docm;xlsx;xlsm;pptx;pptm + +[source] + extensions=c;h;cc;hh;cpp;cxx;hpp;asm;py;pl;pm;inc;cgi;php;phps;js;java;jav;jasm;sh;bash;diff;patch;pas;tcl;tk;awk;m4;st;mak;sl;ada;caml;ml;mli;mly;mll;mlp;sas;prg;hs;hi;erl + +[media] + extensions=mp2;mp3;mpg;ogg;ogv;mpeg;wav;avi;asf;mov;mol;mpl;xm;mod;it;med;mid;midi;s3m;umx;vob;mkv;flv;mp4;m3u;flac;ape;wma;wmv;3gp;webm + +[graph] + extensions=jpg;jpeg;gif;png;tif;pcx;bmp;xpm;xbm;eps;pic;rle;ico;wmf;omf;ai;cdr + +[database] + extensions=dbf;mdn;db;mdb;dat;fox;dbx;mdx;sql;mssql;msql;ssql;pgsql;xls;cdx;dbi + diff --git a/mc/mc.default.keymap b/mc/mc.default.keymap new file mode 100644 index 0000000..f627fad --- /dev/null +++ b/mc/mc.default.keymap @@ -0,0 +1,454 @@ +[main] +Help = f1 +UserMenu = f2 +View = f3 +# ViewFile = +Edit = f4 +# EditForceInternal = +Copy = f5 +Move = f6 +MakeDir = f7 +Delete = f8 +Menu = f9 +Quit = f10 +MenuLastSelected = f19 +QuitQuiet = f20 +Find = alt-question +CdQuick = alt-c +HotList = ctrl-backslash +Reread = ctrl-r +DirSize = ctrl-space +Suspend = ctrl-z +Swap = ctrl-u +History = alt-h +# PanelListing = +PanelListingSwitch = alt-t +# PanelListingChange = +ShowHidden = alt-dot +SplitVertHoriz = alt-comma +SplitEqual = alt-equal +SplitMore = alt-shift-right +SplitLess = alt-shift-left +Shell = ctrl-o +PutCurrentPath = alt-a +PutOtherPath = alt-shift-a +ViewFiltered = alt-exclamation +Select = kpplus +Unselect = kpminus +SelectInvert = kpasterisk +ScreenList = alt-prime +# OptionsLayout = +# OptionsPanel = +# OptionsConfirm = +# OptionsDisplayBits = +# OptionsVfs = +# LearnKeys = +# SaveSetup = +# EditExtensionsFile = +# EditFileHighlightFile = +# Filter = +# ConnectFish = +# ConnectFtp = +# ConnectSmb = +# Undelete = +ExtendedKeyMap = ctrl-x + +[main:xmap] +ChangeMode = c +ChangeOwn = o +CompareDirs = d +CompareFiles = ctrl-d +HotListAdd = h +LinkSymbolicEdit = ctrl-s +Link = l +LinkSymbolic = s +LinkSymbolicRelative = v +PanelInfo = i +PanelQuickView = q +ExternalPanelize = exclamation +VfsList = a +Jobs = j +PutCurrentPath = p +PutOtherPath = ctrl-p +PutCurrentTagged = t +PutOtherTagged = ctrl-t +PutCurrentLink = r +PutOtherLink = ctrl-r + +[panel] +Search = ctrl-s; alt-s +Mark = insert; ctrl-t +MarkUp = shift-up +MarkDown = shift-down +# MarkLeft = +# MarkRight = +Down = down; ctrl-n +Up = up; ctrl-p +Left = left +Right = right +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +PanelOtherCd = alt-o +PanelOtherCdLink = alt-l +ViewRaw = f13 +EditNew = f14 +CopySingle = f15 +MoveSingle = f16 +DeleteSingle = f18 +Select = alt-plus +Unselect = alt-minus +SelectInvert = alt-asterisk +CdChild = ctrl-pgdn +CdParent = ctrl-pgup +# CdParentSmart = +# Panelize = +History = alt-shift-h +HistoryNext = alt-u +HistoryPrev = alt-y +BottomOnScreen = alt-j +MiddleOnScreen = alt-r +TopOnScreen = alt-g +PanelOtherSync = alt-i +SelectCodepage = alt-e +Top = alt-lt; home; a1 +Bottom = alt-gt; end; c1 +# Sort = +# SortPrev = +# SortNext = +# SortReverse = +# SortByName = +# SortByExt = +# SortBySize = +# SortByMTime = +# ScrollLeft = +# ScrollRight = + +[dialog] +Ok = enter +Cancel = f10; esc; ctrl-g +Up = left; up +#Left = left; up +Down = right; down +#Right = right; down +Help = f1 +Suspend = ctrl-z +Refresh = ctrl-l +ScreenList = alt-prime +ScreenNext = alt-rbrace +ScreenPrev = alt-lbrace + +[input] +Home = ctrl-a; alt-lt; home; a1 +End = ctrl-e; alt-gt; end; c1 +Left = left; alt-left; ctrl-b +Right = right; alt-right; ctrl-f +WordLeft = ctrl-left; alt-b +WordRight = ctrl-right; alt-f +Backspace = backspace; ctrl-h +Delete = delete; ctrl-d +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +# Mark = +Remove = ctrl-w +# Cut = +Store = alt-w +# Paste = +Yank = ctrl-y +DeleteToEnd = ctrl-k +HistoryPrev = alt-p; ctrl-down +HistoryNext = alt-n; ctrl-up +History = alt-h +Complete = alt-tab +# Clear = +MarkLeft = shift-left +MarkRight = shift-right +MarkToWordBegin = ctrl-shift-left +MarkToWordEnd = ctrl-shift-right +MarkToHome = shift-home +MarkToEnd = shift-end + +[listbox] +Up = up; ctrl-p +Down = down; ctrl-n +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Delete = delete; d +Clear = shift-delete; shift-d + +[tree] +Help = f1 +Reread = f2; ctrl-r +Forget = f3 +ToggleNavigation = f4 +Copy = f5 +Move = f6 +Up = up; ctrl-p +Down = down; ctrl-n +Left = left +Right = right +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +Search = ctrl-s; alt-s +Delete = f8; delete + +[help] +Help = f1 +Index = f2; c +Back = f3; left; l +Quit = f10; esc +Up = up; ctrl-p +Down = down; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +Enter = right; enter +LinkNext = tab +LinkPrev = alt-tab +NodeNext = n +NodePrev = p + +[editor] +Store = ctrl-insert +Paste = shift-insert +Cut = shift-delete +Up = up +Down = down +Left = left +Right = right +WordLeft = ctrl-left; ctrl-z +WordRight = ctrl-right; ctrl-x +Enter = enter +Return = shift-enter; ctrl-enter; ctrl-shift-enter +BackSpace = backspace; ctrl-h +Delete = delete; ctrl-d +PageUp = pgup +PageDown = pgdn +Home = home +End = end +Tab = tab; shift-tab; ctrl-tab; ctrl-shift-tab +Undo = ctrl-u +Redo = alt-r +Top = ctrl-home; alt-lt +Bottom = ctrl-end; alt-gt +ScrollUp = ctrl-up +ScrollDown = ctrl-down +TopOnScreen = ctrl-pgup +BottomOnScreen = ctrl-pgdn +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +DeleteLine = ctrl-y +DeleteToEnd = ctrl-k +# DeleteToHome = +# ParagraphUp = +# ParagraphDown = +Save = f2 +# EditFile = +EditNew = ctrl-n +SaveAs = f12; ctrl-f2 +# Close = +Mark = f3 +Copy = f5 +Move = f6 +Remove = f8 +# MarkLine = +# MarkWord = +# MarkAll = +# Unmark = +Search = f7 +SearchContinue = f17 +# BlockShiftLeft = +# BlockShiftRight = +MarkPageUp = shift-pgup +MarkPageDown = shift-pgdn +MarkLeft = shift-left +MarkRight = shift-right +MarkToWordBegin = ctrl-shift-left +MarkToWordEnd = ctrl-shift-right +MarkUp = shift-up +MarkDown = shift-down +MarkToHome = shift-home +MarkToEnd = shift-end +MarkToFileBegin = ctrl-shift-home +MarkToFileEnd = ctrl-shift-end +MarkToPageBegin = ctrl-shift-pgup +MarkToPageEnd = ctrl-shift-pgdn +MarkScrollUp = ctrl-shift-up +MarkScrollDown = ctrl-shift-down +# MarkParagraphUp = +# MarkParagraphDown = +MarkColumnPageUp = alt-pgup +MarkColumnPageDown = alt-pgdn +MarkColumnLeft = alt-left +MarkColumnRight = alt-right +MarkColumnUp = alt-up +MarkColumnDown = alt-down +# MarkColumnScrollUp = +# MarkColumnScrollDown = +# MarkColumnParagraphUp = +# MarkColumnParagraphDown = +BlockSave = ctrl-f +MarkColumn = f13 +Replace = f4 +ReplaceContinue = f14 +Complete = alt-tab +InsertFile = f15 +Quit = f10; esc +InsertOverwrite = insert +Help = f1 +# Date = +Refresh = ctrl-l +Goto = alt-l +Sort = alt-t +Mail = alt-m +ParagraphFormat = alt-p +MatchBracket = alt-b +ExternalCommand = alt-u +UserMenu = f11 +Menu = f9 +Bookmark = alt-k +BookmarkFlush = alt-o +BookmarkNext = alt-j +BookmarkPrev = alt-i +# History = +Shell = ctrl-o +InsertLiteral = ctrl-q +# MacroStartRecord = +# MacroStopRecord = +MacroStartStopRecord = ctrl-r +# MacroDelete = +ShowNumbers = alt-n +ShowTabTws = alt-underline +SyntaxOnOff = ctrl-s +# SyntaxChoose = +# ShowMargin = +Find = alt-enter +FilePrev = alt-minus +FileNext = alt-plus +# RepeatStartStopRecord = +SelectCodepage = alt-e +# Options = +# OptionsSaveMode = +# SpellCheck = +SpellCheckCurrentWord = ctrl-p +# SpellCheckSelectLang = +# LearnKeys = +# WindowMove = +# WindowResize = +# WindowFullscreen = +# WindowList = +# WindowNext = +# WindowPrev = +# ExtendedKeyMap = + +[viewer] +Help = f1 +WrapMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +Home = ctrl-a +End = ctrl-e +Left = h; left +Right = l; right +LeftQuick = ctrl-left +RightQuick = ctrl-right +Up = k; y; insert; up; ctrl-p +Down = j; e; delete; down; enter; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +BookmarkGoto = m +Bookmark = r +FileNext = ctrl-f +FilePrev = ctrl-b +SelectCodepage = alt-e +Shell = ctrl-o +Ruler = alt-r + +[viewer:hex] +Help = f1 +HexEditMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Save = f6 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +ToggleNavigation = tab +Home = ctrl-a; home +End = ctrl-e; end +Left = b; left +Right = f; right +Up = k; y; up +Down = j; delete; down +PageDown = pgdn; ctrl-v +PageUp = pgup; alt-v +Top = ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g + +[diffviewer] +ShowSymbols = alt-s; s +ShowNumbers = alt-n; l +SplitFull = f +SplitEqual = equal +SplitMore = gt +SplitLess = lt +Tab2 = 2 +Tab3 = 3 +Tab4 = 4 +Tab8 = 8 +Swap = ctrl-u +Redo = ctrl-r +HunkNext = n; enter; space +HunkPrev = p; backspace +Goto = g; shift-g +Save = f2 +Edit = f4 +EditOther = f14 +Merge = f5 +MergeOther = f15 +Search = f7 +SearchContinue = f17 +Options = f9 +Top = ctrl-home +Bottom = ctrl-end +Down = down +Up = up +LeftQuick = ctrl-left +RightQuick = ctrl-right +Left = left +Right = right +PageDown = pgdn +PageUp = pgup +Home = home +End = end +Help = f1 +Quit = f10; q; shift-q; esc +Shell = ctrl-o +SelectCodepage = alt-e diff --git a/mc/mc.emacs.keymap b/mc/mc.emacs.keymap new file mode 100644 index 0000000..1f89773 --- /dev/null +++ b/mc/mc.emacs.keymap @@ -0,0 +1,456 @@ +[main] +Help = f1 +UserMenu = f2 +View = f3 +# ViewFile = +Edit = f4 +# EditForceInternal = +Copy = f5 +Move = f6 +MakeDir = f7 +Delete = f8 +Menu = f9 +Quit = f10 +MenuLastSelected = f19 +QuitQuiet = f20 +Find = alt-question +CdQuick = alt-c +HotList = ctrl-backslash +Reread = ctrl-r +DirSize = ctrl-space +Suspend = ctrl-z +Swap = ctrl-u +History = alt-h +# PanelListing = +PanelListingSwitch = alt-t +# PanelListingChange = +ShowHidden = alt-dot +SplitVertHoriz = alt-comma +SplitEqual = alt-equal +SplitMore = alt-shift-right +SplitLess = alt-shift-left +Shell = ctrl-o +PutCurrentPath = alt-a +PutOtherPath = alt-shift-a +ViewFiltered = alt-exclamation +Select = kpplus +Unselect = kpminus +SelectInvert = kpasterisk +ScreenList = alt-prime +# OptionsLayout = +# OptionsPanel = +# OptionsConfirm = +# OptionsDisplayBits = +# OptionsVfs = +# LearnKeys = +# SaveSetup = +# EditExtensionsFile = +# EditFileHighlightFile = +# Filter = +# ConnectFish = +# ConnectFtp = +# ConnectSmb = +# Undelete = +ExtendedKeyMap = ctrl-x + +[main:xmap] +ChangeMode = c +ChangeOwn = o +CompareDirs = d +CompareFiles = ctrl-d +HotListAdd = h +LinkSymbolicEdit = ctrl-s +Link = l +LinkSymbolic = s +LinkSymbolicRelative = v +PanelInfo = i +PanelQuickView = q +ExternalPanelize = exclamation +VfsList = a +Jobs = j +PutCurrentPath = p +PutOtherPath = ctrl-p +PutCurrentTagged = t +PutOtherTagged = ctrl-t +PutCurrentLink = r +PutOtherLink = ctrl-r + +[panel] +Search = ctrl-s; alt-s +Mark = insert; ctrl-t +MarkUp = shift-up +MarkDown = shift-down +# MarkLeft = +# MarkRight = +Down = down; ctrl-n +Up = up; ctrl-p +Left = left +Right = right +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +PanelOtherCd = alt-o +PanelOtherCdLink = alt-l +ViewRaw = f13 +EditNew = f14 +CopySingle = f15 +MoveSingle = f16 +DeleteSingle = f18 +Select = alt-plus +Unselect = alt-minus +SelectInvert = alt-asterisk +CdChild = ctrl-pgdn +CdParent = ctrl-pgup +# CdParentSmart = +# Panelize = +History = alt-shift-h +HistoryNext = alt-u +HistoryPrev = alt-y +BottomOnScreen = alt-j +MiddleOnScreen = alt-r +TopOnScreen = alt-g +PanelOtherSync = alt-i +SelectCodepage = alt-e +Top = alt-lt; home; a1 +Bottom = alt-gt; end; c1 +# Sort = +# SortPrev = +# SortNext = +# SortReverse = +# SortByName = +# SortByExt = +# SortBySize = +# SortByMTime = +# ScrollLeft = +# ScrollRight = + +[dialog] +Ok = enter +Cancel = f10; esc +Up = left; up +#Left = left; up +Down = right; down +#Right = right; down +Help = f1 +Suspend = ctrl-z +Refresh = ctrl-l +ScreenList = alt-prime +ScreenNext = alt-rbrace +ScreenPrev = alt-lbrace + +[input] +Home = ctrl-a; alt-lt; home; a1 +End = ctrl-e; alt-gt; end; c1 +Left = left; alt-left; ctrl-b +Right = right; alt-right; ctrl-f +WordLeft = ctrl-left; alt-b +WordRight = ctrl-right; alt-f +Backspace = backspace +Delete = delete +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +# Mark = +Remove = ctrl-w +# Cut = +Store = alt-w +# Paste = +Yank = ctrl-y +DeleteToEnd = ctrl-k +HistoryPrev = alt-p; ctrl-down +HistoryNext = alt-n; ctrl-up +History = alt-h +Complete = alt-tab +# Clear = +# MarkLeft = +# MarkRight = +# MarkToWordBegin = +# MarkToWordEnd = +# MarkToHome = +# MarkToEnd = + +[listbox] +Up = up; ctrl-p +Down = down; ctrl-n +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Delete = delete; d +Clear = shift-delete; shift-d + +[tree] +Help = f1 +Reread = f2; ctrl-r +Forget = f3 +ToggleNavigation = f4 +Copy = f5 +Move = f6 +Up = up; ctrl-p +Down = down; ctrl-n +Left = left +Right = right +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +Search = ctrl-s; alt-s +Delete = f8; delete + +[help] +Help = f1 +Index = f2; c +Back = f3; left; l +Quit = f10; esc; ctrl-g +Up = up; ctrl-p +Down = down; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +Enter = right; enter +LinkNext = tab +LinkPrev = alt-tab +NodeNext = n +NodePrev = p + +[editor] +Store = alt-w +Paste = ctrl-y +Cut = ctrl-w +Up = up; ctrl-p +Down = down; ctrl-n +Left = left; ctrl-b +Right = right; ctrl-f +WordLeft = ctrl-left; alt-b +WordRight = ctrl-right; alt-f +Enter = enter +Return = shift-enter; ctrl-enter; ctrl-shift-enter +BackSpace = backspace +Delete = delete +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Home = home; ctrl-a +End = end; ctrl-e +Tab = tab; shift-tab; ctrl-tab; ctrl-shift-tab +Undo = ctrl-u +# Redo = +Top = ctrl-home; alt-lt +Bottom = ctrl-end; alt-gt +ScrollUp = ctrl-up +ScrollDown = ctrl-down +TopOnScreen = ctrl-pgup +BottomOnScreen = ctrl-pgdn +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +DeleteLine = ctrl-y +DeleteToEnd = ctrl-k +# DeleteToHome = +# ParagraphUp = +# ParagraphDown = +Save = f2 +# EditFile = +SaveAs = f12; ctrl-f2 +# Close = +Mark = f3; ctrl-at +Copy = f5 +Move = f6 +Remove = f8 +# MarkLine = +# MarkWord = +# MarkAll = +# Unmark = +Search = f7; ctrl-s +SearchContinue = f17 +# BlockShiftLeft = +# BlockShiftRight = +MarkPageUp = shift-pgup +MarkPageDown = shift-pgdn +MarkLeft = shift-left +MarkRight = shift-right +MarkToWordBegin = ctrl-shift-left +MarkToWordEnd = ctrl-shift-right +MarkUp = shift-up +MarkDown = shift-down +MarkToHome = shift-home +MarkToEnd = shift-end +MarkToFileBegin = ctrl-shift-home +MarkToFileEnd = ctrl-shift-end +MarkToPageBegin = ctrl-shift-pgup +MarkToPageEnd = ctrl-shift-pgdn +MarkScrollUp = ctrl-shift-up +MarkScrollDown = ctrl-shift-down +# MarkParagraphUp = +# MarkParagraphDown = +MarkColumnPageUp = alt-pgup +MarkColumnPageDown = alt-pgdn +MarkColumnLeft = alt-left +MarkColumnRight = alt-right +MarkColumnUp = alt-up +MarkColumnDown = alt-down +# MarkColumnScrollUp = +# MarkColumnScrollDown = +# MarkColumnParagraphUp = +# MarkColumnParagraphDown = +# BlockSave = +MarkColumn = f13 +Replace = f4 +ReplaceContinue = f14 +Complete = alt-tab +InsertFile = f15 +Quit = f10; esc +InsertOverwrite = insert +Help = f1 +# Date = +Refresh = ctrl-l +Goto = alt-l +Sort = alt-t +# Mail = +ParagraphFormat = alt-p +# MatchBracket = +ExternalCommand = alt-u +UserMenu = f11 +Menu = f9 +# Bookmark = +# BookmarkFlush = +# BookmarkNext = +# BookmarkPrev = +# History = +Shell = ctrl-o +InsertLiteral = ctrl-q +# MacroStartRecord = +# MacroStopRecord = +MacroStartStopRecord = ctrl-r +# MacroDelete = +ShowNumbers = alt-n +ShowTabTws = alt-underline +SyntaxOnOff = ctrl-s +# SyntaxChoose = +# ShowMargin = +Find = alt-enter +FilePrev = alt-minus +FileNext = alt-plus +# RepeatStartStopRecord = +SelectCodepage = alt-e +# Options = +# OptionsSaveMode = +# SpellCheck = +# SpellCheckCurrentWord = +# SpellCheckSelectLang = +# LearnKeys = +# WindowMove = +# WindowResize = +# WindowFullscreen = +# WindowList = +# WindowNext = +# WindowPrev = +ExtendedKeyMap = ctrl-x + +[editor:xmap] +EditNew = k + +[viewer] +Help = f1 +WrapMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +Home = ctrl-a +End = ctrl-e +Left = h; left +Right = l; right +LeftQuick= ctrl-left +RightQuick = ctrl-right +Up = k; y; insert; up; ctrl-p +Down = j; e; delete; down; enter; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +BookmarkGoto = m +Bookmark = r +FileNext = ctrl-f +FilePrev = ctrl-b +SelectCodepage = alt-e +Shell = ctrl-o +Ruler = alt-r + +[viewer:hex] +Help = f1 +HexEditMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Save = f6 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +ToggleNavigation = tab +Home = ctrl-a; home +End = ctrl-e; end +Left = b; left +Right = f; right +Up = k; y; up +Down = j; delete; down +PageDown = pgdn; ctrl-v +PageUp = pgup; alt-v +Top = ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g + +[diffviewer] +ShowSymbols = alt-s; s +ShowNumbers = alt-n; l +SplitFull = f +SplitEqual = equal +SplitMore = gt +SplitLess = lt +Tab2 = 2 +Tab3 = 3 +Tab4 = 4 +Tab8 = 8 +Swap = ctrl-u +Redo = ctrl-r +HunkNext = n; enter; space +HunkPrev = p; backspace +Goto = g; shift-g +Save = f2 +Edit = f4 +EditOther = f14 +Merge = f5 +MergeOther = f15 +Search = f7 +SearchContinue = f17 +Options = f9 +Top = ctrl-home +Bottom = ctrl-end +Down = down +Up = up +LeftQuick = ctrl-left +RightQuick = ctrl-right +Left = left +Right = right +PageDown = pgdn +PageUp = pgup +Home = home +End = end +Help = f1 +Quit = f10; q; shift-q; esc +Shell = ctrl-o +SelectCodepage = alt-e diff --git a/mc/mc.ext b/mc/mc.ext new file mode 100644 index 0000000..9a4afa7 --- /dev/null +++ b/mc/mc.ext @@ -0,0 +1,746 @@ +# Midnight Commander 3.0 extension file +# Warning: Structure of this file has changed completely with version 3.0 +# +# All lines starting with # or empty lines are thrown away. +# Lines starting in the first column should have following format: +# +# keyword/descNL, i.e. everything after keyword/ until new line is desc +# +# keyword can be: +# +# shell (desc is, when starting with a dot, any extension (no wildcars), +# i.e. matches all the files *desc . Example: .tar matches *.tar; +# if it doesn't start with a dot, it matches only a file of that name) +# +# shell/i (desc is, when starting with a dot, any extension (no wildcars), +# The same as shell but with case insensitive. +# +# regex (desc is an extended regular expression) +# Please note that we are using the GNU regex library and thus +# \| matches the literal | and | has special meaning (or) and +# () have special meaning and \( \) stand for literal ( ). +# +# regex/i (desc is an extended regular expression) +# The same as regex but with case insensitive. +# +# type (file matches this if `file %f` matches regular expression desc +# (the filename: part from `file %f` is removed)) +# +# type/i (file matches this if `file %f` matches regular expression desc) +# The same as type but with case insensitive. +# +# directory (matches any directory matching regular expression desc) +# +# include (matches an include directive) +# +# default (matches any file no matter what desc is) +# +# Other lines should start with a space or tab and should be in the format: +# +# keyword=commandNL (with no spaces around =), where keyword should be: +# +# Open (if the user presses Enter or doubleclicks it), +# +# View (F3), Edit (F4) +# +# Include is the keyword used to add any further entries from an include/ +# section +# +# command is any one-line shell command, with the following substitutions: +# +# %% -> % character +# %p -> name of the current file (without path, but pwd is its path). +# Also provided to external application as MC_EXT_BASENAME +# global variable +# %f -> name of the current file. Unlike %p, if file is located on a +# non-local virtual filesystem, i.e. either tarfs or ftpfs, +# then the file will be temporarily copied into a local directory +# and %f will be the full path to this local temporal file. +# If you don't want to get a local copy and want to get the +# virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then +# use %d/%p instead of %f. +# Also provided to external application as MC_EXT_FILENAME +# global variable +# %d -> name of the current directory (pwd, without trailing slash) +# Also provided to external application as MC_EXT_CURRENTDIR +# global variable +# %s -> "selected files", i.e. space separated list of tagged files if any +# or name of the current file. +# Also provided to external application as MC_EXT_SELECTED +# global variable +# %t -> list of tagged files +# Also provided to external application as MC_EXT_ONLYTAGGED +# global variable +# %u -> list of tagged files (they'll be untaged after the command) +# +# (If these 6 letters are in uppercase, they refer to the other panel. +# But you shouldn't have to use it in this file.) +# +# +# %cd -> the rest is a path mc should change into (cd won't work, since it's +# a child process). %cd handles even vfs names. +# +# %view -> the command you type will be piped into mc's internal file viewer +# if you type only the %view and no command, viewer will load %f file +# instead (i.e. no piping, so it is different to %view cat %f) +# %view may be directly followed by {} with a list of any of +# ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for +# text using backspace for bold and underscore) and unform +# (no highlighting for nroff sequences) separated by commas. +# +# %var -> You use it like this: %var{VAR:default}. This macro will expand +# to the value of the VAR variable in the environment if it's set +# otherwise the value in default will be used. This is similar to +# the Bourne shell ${VAR-default} construct. +# +# Rules are applied from top to bottom, thus the order is important. +# If some actions are missing, search continues as if this target didn't +# match (i.e. if a file matches the first and second entry and View action +# is missing in the first one, then on pressing F3 the View action from +# the second entry will be used. default should catch all the actions. +# +# Any new entries you develop for you are always welcome if they are +# useful on more than one system. You can post your modifications +# as tickets at www.midnight-commander.org + + +### Changes ### +# +# Reorganization: 2012-03-07 Slava Zanko + + +### GIT Repo ### +# gitfs changeset +regex/^\[git\] + Open=%cd %p/changesetfs:// + View=%cd %p/patchsetfs:// + +### Archives ### + +# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem +regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$|\.gem$ + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.gz + +shell/.tar.bz + # Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.bzip + +regex/\.t(ar\.bz2|bz2?|b2)$ + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.bzip2 + +# .tar.lzma, .tlz +regex/\.t(ar\.lzma|lz)$ + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.lzma + +# .tar.xz, .txz +regex/\.t(ar\.xz|xz)$ + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.xz + +# .tar.F - used in QNX +shell/.tar.F + # Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.F + +# .qpr/.qpk - QNX Neutrino package installer files +regex/\.qp[rk]$ + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar.qpr + +# tar +shell/i/.tar + Open=%cd %p/utar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view tar + +# lha +type/^LHa\ .*archive + Open=%cd %p/ulha:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view lha + +# arj +regex/i/\.a(rj|[0-9][0-9])$ + Open=%cd %p/uarj:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view arj + +# cab +shell/i/.cab + Open=%cd %p/ucab:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view cab + +# ha +shell/i/.ha + Open=%cd %p/uha:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view ha + +# rar +regex/i/\.r(ar|[0-9][0-9])$ + Open=%cd %p/urar:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view rar + +# ALZip +shell/i/.alz + Open=%cd %p/ualz:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view alz + +# cpio +shell/.cpio.Z + Open=%cd %p/ucpio:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view cpio.z + +shell/.cpio.xz + Open=%cd %p/ucpio:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view cpio.xz + +shell/.cpio.gz + Open=%cd %p/ucpio:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view cpio.gz + +shell/i/.cpio + Open=%cd %p/ucpio:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view cpio + +# 7zip archives (they are not man pages) +shell/i/.7z + Open=%cd %p/u7z:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view 7z + +# patch +regex/\.(diff|patch)(\.bz2)$ + Open=%cd %p/patchfs:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view bz2 + +regex/\.(diff|patch)(\.(gz|Z))$ + Open=%cd %p/patchfs:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view gz + +# ls-lR +regex/(^|\.)ls-?lR(\.gz|Z|bz2)$ + Open=%cd %p/lslR:// + +# trpm +shell/.trpm + Open=%cd %p/trpm:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view trpm + +# RPM packages (SuSE uses *.spm for source packages) +regex/\.(src\.rpm|spm)$ + Open=%cd %p/rpm:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view src.rpm + +shell/.rpm + Open=%cd %p/rpm:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view rpm + +# deb +regex/\.u?deb$ + Open=%cd %p/deb:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view deb + +# dpkg +shell/.debd + Open=%cd %p/debd:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view debd + +# apt +shell/.deba + Open=%cd %p/deba:// + View=%view{ascii} /usr/libexec/mc/ext.d/package.sh view deba + +# ISO9660 +shell/i/.iso + Open=%cd %p/iso9660:// + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view iso9660 + + +regex/\.(diff|patch)$ + Open=%cd %p/patchfs:// + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view cat + +# ar library +regex/\.s?a$ + Open=%cd %p/uar:// + #Open=%view{ascii} ar tv %f + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view ar + +# gplib +shell/i/.lib + Open=%cd %p/ulib:// + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view lib + + +# Mailboxes +type/^ASCII\ mail\ text + Open=%cd %p/mailfs:// + + +### Sources ### + +# C/C++ +regex/i/\.(c|cc|cpp)$ + Include=editor + +# C/C++ header +regex/i/\.(h|hh|hpp)$ + Include=editor + +# Fortran +shell/i/.f + Include=editor + +# Assembler +regex/i/\.(s|asm)$ + Include=editor + +include/editor + Open=%var{EDITOR:vi} %f + +# .so libraries +regex/\.(so|so\.[0-9\.]*)$ + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view so + +# Object +type/^ELF + #Open=%var{PAGER:more} %f + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view elf + +### Documentation ### + +# Texinfo +#regex/\.(te?xi|texinfo)$ + +# GNU Info page +type/^Info\ text + Open=/usr/libexec/mc/ext.d/text.sh open info + +shell/.info + Open=/usr/libexec/mc/ext.d/text.sh open info + +# Exception: .3gp are video files not manual pages +shell/i/.3gp + Include=video + +# Manual page +regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$ + Open=/usr/libexec/mc/ext.d/text.sh open man %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man %var{PAGER:more} + +# Perl pod page +shell/.pod + Open=/usr/libexec/mc/ext.d/text.sh open pod %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view pod %var{PAGER:more} + +# Troff with me macros. +# Exception - "read.me" is not a nroff file. +shell/read.me + Open= + View= + +shell/.me + Open=/usr/libexec/mc/ext.d/text.sh open nroff.me %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view nroff.me %var{PAGER:more} + +# Troff with ms macros. +shell/.ms + Open=/usr/libexec/mc/ext.d/text.sh open nroff.ms %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view nroff.ms %var{PAGER:more} + +# Manual page - compressed +regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$ + Open=/usr/libexec/mc/ext.d/text.sh open man.gz %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man.gz %var{PAGER:more} + +regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$ + Open=/usr/libexec/mc/ext.d/text.sh open man.bz %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man.bz %var{PAGER:more} + +regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$ + Open=/usr/libexec/mc/ext.d/text.sh open man.bz2 %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man.bz2 %var{PAGER:more} + +regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$ + Open=/usr/libexec/mc/ext.d/text.sh open man.lzma %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man.lzma %var{PAGER:more} + +regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$ + Open=/usr/libexec/mc/ext.d/text.sh open man.xz %var{PAGER:more} + View=%view{ascii,nroff} /usr/libexec/mc/ext.d/text.sh view man.xz %var{PAGER:more} + +# CHM +shell/i/.chm + Open=/usr/libexec/mc/ext.d/text.sh open chm + +### Images ### + +type/^GIF + Include=image + +type/^JPEG + View=%view{ascii} /usr/libexec/mc/ext.d/image.sh view jpeg + Include=image + +type/^PC\ bitmap + Include=image + +type/^PNG + Include=image + +type/^JNG + Include=image + +type/^MNG + Include=image + +type/^TIFF + Include=image + +type/^PBM + Include=image + +type/^PGM + Include=image + +type/^PPM + Include=image + +type/^Netpbm + Include=image + +shell/.xcf + Open=/usr/libexec/mc/ext.d/image.sh open xcf + +shell/.xbm + Open=/usr/libexec/mc/ext.d/image.sh open xbm + +shell/.xpm + Include=image + View=/usr/libexec/mc/ext.d/image.sh view xpm %f + +shell/.ico + Include=image + +shell/i/.svg + View=%view{ascii} /usr/libexec/mc/ext.d/image.sh view svg + Open=/usr/libexec/mc/ext.d/image.sh open svg + +include/image + Open=/usr/libexec/mc/ext.d/image.sh open ALL_FORMATS + View=%view{ascii} /usr/libexec/mc/ext.d/image.sh view ALL_FORMATS + + +### Sound files ### + +regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$ + Open=/usr/libexec/mc/ext.d/sound.sh open common + +regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$ + Open=/usr/libexec/mc/ext.d/sound.sh open mod + +shell/i/.waw22 + Open=/usr/libexec/mc/ext.d/sound.sh open wav22 + +shell/i/.mp3 + Open=/usr/libexec/mc/ext.d/sound.sh open mp3 + View=%view{ascii} /usr/libexec/mc/ext.d/sound.sh view mp3 + +regex/i/\.og[gax]$ + Open=/usr/libexec/mc/ext.d/sound.sh open ogg + View=%view{ascii} /usr/libexec/mc/ext.d/sound.sh view ogg + +regex/i/\.(spx|flac)$ + Open=/usr/libexec/mc/ext.d/sound.sh open common + +regex/i/\.(midi?|rmid?)$ + Open=/usr/libexec/mc/ext.d/sound.sh open midi + +shell/i/.wma + Open=/usr/libexec/mc/ext.d/sound.sh open wma + View=%view{ascii} /usr/libexec/mc/ext.d/sound.sh view wma + + +### Play lists ### + +regex/i/\.(m3u|pls)$ + Open=/usr/libexec/mc/ext.d/sound.sh open playlist + + +### Video ### + +shell/i/.avi + Include=video + +regex/i/\.as[fx]$ + Include=video + +shell/i/.divx + Include=video + +shell/i/.mkv + Include=video + +regex/i/\.(mov|qt)$ + Include=video + +regex/i/\.(mp4|m4v|mpe?g)$ + Include=video + +# MPEG-2 TS container + H.264 codec +shell/i/.mts + Include=video + +shell/i/.ts + Include=video + +shell/i/.vob + Include=video + +shell/i/.wmv + Include=video + +regex/i/\.fl[icv]$ + Include=video + +shell/i/.ogv + Include=video + +regex/i/\.ra?m$ + Open=/usr/libexec/mc/ext.d/video.sh open ram + +# WebM +shell/i/.webm + Include=video + +type/WebM + Include=video + +include/video + Open=/usr/libexec/mc/ext.d/video.sh open ALL_FORMATS + View=%view{ascii} /usr/libexec/mc/ext.d/video.sh view ALL_FORMATS + + +### Documents ### + +# Postscript +type/^PostScript + Open=/usr/libexec/mc/ext.d/doc.sh open ps + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view ps + +# PDF +type/^PDF + Open=/usr/libexec/mc/ext.d/doc.sh open pdf + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view pdf + +# html +regex/i/\.html?$ + Open=/usr/libexec/mc/ext.d/web.sh open html + View=%view{ascii} /usr/libexec/mc/ext.d/web.sh view html + +# StarOffice 5.2 +shell/.sdw + Open=/usr/libexec/mc/ext.d/doc.sh open ooffice + +# StarOffice 6 and OpenOffice.org formats +regex/i/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$ + Open=/usr/libexec/mc/ext.d/doc.sh open ooffice + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view odt + +# AbiWord +shell/.abw + Open=/usr/libexec/mc/ext.d/doc.sh open abw + +# Gnumeric +shell/i/.gnumeric + Open=/usr/libexec/mc/ext.d/doc.sh open gnumeric + +# Microsoft Word Document +regex/i/\.(do[ct]|wri)$ + Open=/usr/libexec/mc/ext.d/doc.sh open msdoc + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view msdoc +type/^Microsoft\ Word + Open=/usr/libexec/mc/ext.d/doc.sh open msdoc + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view msdoc + +# RTF document +shell/i/.rtf + Open=/usr/libexec/mc/ext.d/doc.sh open msdoc + +# Microsoft Excel Worksheet +regex/i/\.xl[sw]$ + Open=/usr/libexec/mc/ext.d/doc.sh open msxls + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view msxls +type/^Microsoft\ Excel + Open=/usr/libexec/mc/ext.d/doc.sh open msxls + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view msxls + +regex/i/\.(ppt|pps)$ + Open=/usr/libexec/mc/ext.d/doc.sh open msppt + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view msppt + +# Use OpenOffice.org to open any MS Office documents +type/^Microsoft\ Office\ Document + Open=/usr/libexec/mc/ext.d/doc.sh open ooffice + +# Framemaker +type/^FrameMaker + Open=/usr/libexec/mc/ext.d/doc.sh open framemaker + +# DVI +shell/i/.dvi + Open=/usr/libexec/mc/ext.d/doc.sh open dvi + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view dvi + +# TeX +shell/i/.tex + Include=editor + +# DjVu +regex/i/\.djvu?$ + Open=/usr/libexec/mc/ext.d/doc.sh open djvu + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view djvu + +# Comic Books +regex/i/\.cb[zr]$ + Open=/usr/libexec/mc/ext.d/doc.sh open comic + +# Epub +shell/i/.epub + Open=/usr/libexec/mc/ext.d/doc.sh open epub + View=%view{ascii} /usr/libexec/mc/ext.d/doc.sh view epub + + +### Miscellaneous ### + +# Compiled Java classes +shell/.class + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view javaclass + +# Makefile +regex/[Mm]akefile$ + Open=make -f %f %{Enter parameters} + +# Imakefile +shell/Imakefile + Open=/usr/libexec/mc/ext.d/misc.sh open imakefile + +# Makefile.PL (MakeMaker) +regex/^Makefile.(PL|pl)$ + Open=%var{PERL:perl} %f + +# sqlite3.db +type/^SQLite 3.x database + Open=/usr/libexec/mc/ext.d/misc.sh open sqlite + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view sqlite + +# dbf +shell/i/.dbf + Open=/usr/libexec/mc/ext.d/misc.sh open dbf + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view dbf + +# REXX script +regex/\.(rexx?|cmd)$ + Open=rexx %f %{Enter parameters};echo "Press ENTER";read y + +# Disk images for Commodore computers (VIC20, C64, C128) +shell/i/.d64 + Open=%cd %p/uc1541:// + View=%view{ascii} c1541 %f -list + Extract=c1541 %f -extract + +# Glade, a user interface designer for GTK+ and GNOME +shell/i/.glade + Open=/usr/libexec/mc/ext.d/misc.sh open glade + +# Gettext Catalogs +shell/.mo + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view mo + +# lyx +shell/i/.lyx + Open=/usr/libexec/mc/ext.d/misc.sh open lyx + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view lyx + +# torrent +shell/i/.torrent + View=%view{ascii} /usr/libexec/mc/ext.d/misc.sh view torrent + +### Plain compressed files ### + +# ace +shell/i/.ace + Open=%cd %p/uace:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view ace + Extract=unace x %f + +# arc +shell/i/.arc + Open=%cd %p/uarc:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view arc + Extract=arc x %f '*' + Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi + +# zip +type/i/^zip\ archive + Open=%cd %p/uzip:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip + +# jar(zip) +type/i/^Java\ Jar\ file\ data\ \(zip\) + Open=%cd %p/uzip:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zip + +# zoo +shell/i/.zoo + Open=%cd %p/uzoo:// + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view zoo + +# gzip +type/^gzip + Open=/usr/libexec/mc/ext.d/archive.sh view gz %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view gz + +regex/\.(gz|Z)$ + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view gz + +# bzip2 +type/^bzip2 + Open=/usr/libexec/mc/ext.d/archive.sh view bzip2 %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view bz2 + +regex/\.bz2?$ + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view bz2 + +# bzip +type/^bzip + Open=/usr/libexec/mc/ext.d/archive.sh view bzip %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view bzip + +# compress +type/^compress + Open=/usr/libexec/mc/ext.d/archive.sh view gz %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view gz + +# lzma +regex/\.lzma$ + Open=/usr/libexec/mc/ext.d/archive.sh view lzma %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view lzma + +# xz +regex/\.xz$ + Open=/usr/libexec/mc/ext.d/archive.sh view xz %var{PAGER:more} + View=%view{ascii} /usr/libexec/mc/ext.d/archive.sh view xz + +# Parity Archive +type/^Parity\ Archive\ Volume\ Set + Open=/usr/libexec/mc/ext.d/archive.sh open par2 + +### Default ### + +# Default target for anything not described above +default/* + Open= + View= + + +### EOF ### diff --git a/mc/mc.keymap b/mc/mc.keymap new file mode 100644 index 0000000..f627fad --- /dev/null +++ b/mc/mc.keymap @@ -0,0 +1,454 @@ +[main] +Help = f1 +UserMenu = f2 +View = f3 +# ViewFile = +Edit = f4 +# EditForceInternal = +Copy = f5 +Move = f6 +MakeDir = f7 +Delete = f8 +Menu = f9 +Quit = f10 +MenuLastSelected = f19 +QuitQuiet = f20 +Find = alt-question +CdQuick = alt-c +HotList = ctrl-backslash +Reread = ctrl-r +DirSize = ctrl-space +Suspend = ctrl-z +Swap = ctrl-u +History = alt-h +# PanelListing = +PanelListingSwitch = alt-t +# PanelListingChange = +ShowHidden = alt-dot +SplitVertHoriz = alt-comma +SplitEqual = alt-equal +SplitMore = alt-shift-right +SplitLess = alt-shift-left +Shell = ctrl-o +PutCurrentPath = alt-a +PutOtherPath = alt-shift-a +ViewFiltered = alt-exclamation +Select = kpplus +Unselect = kpminus +SelectInvert = kpasterisk +ScreenList = alt-prime +# OptionsLayout = +# OptionsPanel = +# OptionsConfirm = +# OptionsDisplayBits = +# OptionsVfs = +# LearnKeys = +# SaveSetup = +# EditExtensionsFile = +# EditFileHighlightFile = +# Filter = +# ConnectFish = +# ConnectFtp = +# ConnectSmb = +# Undelete = +ExtendedKeyMap = ctrl-x + +[main:xmap] +ChangeMode = c +ChangeOwn = o +CompareDirs = d +CompareFiles = ctrl-d +HotListAdd = h +LinkSymbolicEdit = ctrl-s +Link = l +LinkSymbolic = s +LinkSymbolicRelative = v +PanelInfo = i +PanelQuickView = q +ExternalPanelize = exclamation +VfsList = a +Jobs = j +PutCurrentPath = p +PutOtherPath = ctrl-p +PutCurrentTagged = t +PutOtherTagged = ctrl-t +PutCurrentLink = r +PutOtherLink = ctrl-r + +[panel] +Search = ctrl-s; alt-s +Mark = insert; ctrl-t +MarkUp = shift-up +MarkDown = shift-down +# MarkLeft = +# MarkRight = +Down = down; ctrl-n +Up = up; ctrl-p +Left = left +Right = right +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +PanelOtherCd = alt-o +PanelOtherCdLink = alt-l +ViewRaw = f13 +EditNew = f14 +CopySingle = f15 +MoveSingle = f16 +DeleteSingle = f18 +Select = alt-plus +Unselect = alt-minus +SelectInvert = alt-asterisk +CdChild = ctrl-pgdn +CdParent = ctrl-pgup +# CdParentSmart = +# Panelize = +History = alt-shift-h +HistoryNext = alt-u +HistoryPrev = alt-y +BottomOnScreen = alt-j +MiddleOnScreen = alt-r +TopOnScreen = alt-g +PanelOtherSync = alt-i +SelectCodepage = alt-e +Top = alt-lt; home; a1 +Bottom = alt-gt; end; c1 +# Sort = +# SortPrev = +# SortNext = +# SortReverse = +# SortByName = +# SortByExt = +# SortBySize = +# SortByMTime = +# ScrollLeft = +# ScrollRight = + +[dialog] +Ok = enter +Cancel = f10; esc; ctrl-g +Up = left; up +#Left = left; up +Down = right; down +#Right = right; down +Help = f1 +Suspend = ctrl-z +Refresh = ctrl-l +ScreenList = alt-prime +ScreenNext = alt-rbrace +ScreenPrev = alt-lbrace + +[input] +Home = ctrl-a; alt-lt; home; a1 +End = ctrl-e; alt-gt; end; c1 +Left = left; alt-left; ctrl-b +Right = right; alt-right; ctrl-f +WordLeft = ctrl-left; alt-b +WordRight = ctrl-right; alt-f +Backspace = backspace; ctrl-h +Delete = delete; ctrl-d +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +# Mark = +Remove = ctrl-w +# Cut = +Store = alt-w +# Paste = +Yank = ctrl-y +DeleteToEnd = ctrl-k +HistoryPrev = alt-p; ctrl-down +HistoryNext = alt-n; ctrl-up +History = alt-h +Complete = alt-tab +# Clear = +MarkLeft = shift-left +MarkRight = shift-right +MarkToWordBegin = ctrl-shift-left +MarkToWordEnd = ctrl-shift-right +MarkToHome = shift-home +MarkToEnd = shift-end + +[listbox] +Up = up; ctrl-p +Down = down; ctrl-n +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Delete = delete; d +Clear = shift-delete; shift-d + +[tree] +Help = f1 +Reread = f2; ctrl-r +Forget = f3 +ToggleNavigation = f4 +Copy = f5 +Move = f6 +Up = up; ctrl-p +Down = down; ctrl-n +Left = left +Right = right +Top = home; alt-lt; a1 +Bottom = end; alt-gt; c1 +PageUp = pgup; alt-v +PageDown = pgdn; ctrl-v +Enter = enter +Search = ctrl-s; alt-s +Delete = f8; delete + +[help] +Help = f1 +Index = f2; c +Back = f3; left; l +Quit = f10; esc +Up = up; ctrl-p +Down = down; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +Enter = right; enter +LinkNext = tab +LinkPrev = alt-tab +NodeNext = n +NodePrev = p + +[editor] +Store = ctrl-insert +Paste = shift-insert +Cut = shift-delete +Up = up +Down = down +Left = left +Right = right +WordLeft = ctrl-left; ctrl-z +WordRight = ctrl-right; ctrl-x +Enter = enter +Return = shift-enter; ctrl-enter; ctrl-shift-enter +BackSpace = backspace; ctrl-h +Delete = delete; ctrl-d +PageUp = pgup +PageDown = pgdn +Home = home +End = end +Tab = tab; shift-tab; ctrl-tab; ctrl-shift-tab +Undo = ctrl-u +Redo = alt-r +Top = ctrl-home; alt-lt +Bottom = ctrl-end; alt-gt +ScrollUp = ctrl-up +ScrollDown = ctrl-down +TopOnScreen = ctrl-pgup +BottomOnScreen = ctrl-pgdn +DeleteToWordBegin = alt-backspace +DeleteToWordEnd = alt-d +DeleteLine = ctrl-y +DeleteToEnd = ctrl-k +# DeleteToHome = +# ParagraphUp = +# ParagraphDown = +Save = f2 +# EditFile = +EditNew = ctrl-n +SaveAs = f12; ctrl-f2 +# Close = +Mark = f3 +Copy = f5 +Move = f6 +Remove = f8 +# MarkLine = +# MarkWord = +# MarkAll = +# Unmark = +Search = f7 +SearchContinue = f17 +# BlockShiftLeft = +# BlockShiftRight = +MarkPageUp = shift-pgup +MarkPageDown = shift-pgdn +MarkLeft = shift-left +MarkRight = shift-right +MarkToWordBegin = ctrl-shift-left +MarkToWordEnd = ctrl-shift-right +MarkUp = shift-up +MarkDown = shift-down +MarkToHome = shift-home +MarkToEnd = shift-end +MarkToFileBegin = ctrl-shift-home +MarkToFileEnd = ctrl-shift-end +MarkToPageBegin = ctrl-shift-pgup +MarkToPageEnd = ctrl-shift-pgdn +MarkScrollUp = ctrl-shift-up +MarkScrollDown = ctrl-shift-down +# MarkParagraphUp = +# MarkParagraphDown = +MarkColumnPageUp = alt-pgup +MarkColumnPageDown = alt-pgdn +MarkColumnLeft = alt-left +MarkColumnRight = alt-right +MarkColumnUp = alt-up +MarkColumnDown = alt-down +# MarkColumnScrollUp = +# MarkColumnScrollDown = +# MarkColumnParagraphUp = +# MarkColumnParagraphDown = +BlockSave = ctrl-f +MarkColumn = f13 +Replace = f4 +ReplaceContinue = f14 +Complete = alt-tab +InsertFile = f15 +Quit = f10; esc +InsertOverwrite = insert +Help = f1 +# Date = +Refresh = ctrl-l +Goto = alt-l +Sort = alt-t +Mail = alt-m +ParagraphFormat = alt-p +MatchBracket = alt-b +ExternalCommand = alt-u +UserMenu = f11 +Menu = f9 +Bookmark = alt-k +BookmarkFlush = alt-o +BookmarkNext = alt-j +BookmarkPrev = alt-i +# History = +Shell = ctrl-o +InsertLiteral = ctrl-q +# MacroStartRecord = +# MacroStopRecord = +MacroStartStopRecord = ctrl-r +# MacroDelete = +ShowNumbers = alt-n +ShowTabTws = alt-underline +SyntaxOnOff = ctrl-s +# SyntaxChoose = +# ShowMargin = +Find = alt-enter +FilePrev = alt-minus +FileNext = alt-plus +# RepeatStartStopRecord = +SelectCodepage = alt-e +# Options = +# OptionsSaveMode = +# SpellCheck = +SpellCheckCurrentWord = ctrl-p +# SpellCheckSelectLang = +# LearnKeys = +# WindowMove = +# WindowResize = +# WindowFullscreen = +# WindowList = +# WindowNext = +# WindowPrev = +# ExtendedKeyMap = + +[viewer] +Help = f1 +WrapMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +Home = ctrl-a +End = ctrl-e +Left = h; left +Right = l; right +LeftQuick = ctrl-left +RightQuick = ctrl-right +Up = k; y; insert; up; ctrl-p +Down = j; e; delete; down; enter; ctrl-n +PageDown = f; space; pgdn; ctrl-v +PageUp = b; pgup; alt-v; backspace +HalfPageDown = d +HalfPageUp = u +Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g +BookmarkGoto = m +Bookmark = r +FileNext = ctrl-f +FilePrev = ctrl-b +SelectCodepage = alt-e +Shell = ctrl-o +Ruler = alt-r + +[viewer:hex] +Help = f1 +HexEditMode = f2 +Quit = f3; f10; q; esc +HexMode = f4 +Goto = f5 +Save = f6 +Search = f7 +SearchForward = slash +SearchBackward = question +SearchContinue = f17; n +SearchForwardContinue = ctrl-s +SearchBackwardContinue = ctrl-r +MagicMode = f8 +NroffMode = f9 +ToggleNavigation = tab +Home = ctrl-a; home +End = ctrl-e; end +Left = b; left +Right = f; right +Up = k; y; up +Down = j; delete; down +PageDown = pgdn; ctrl-v +PageUp = pgup; alt-v +Top = ctrl-home; ctrl-pgup; a1; alt-lt; g +Bottom = ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g + +[diffviewer] +ShowSymbols = alt-s; s +ShowNumbers = alt-n; l +SplitFull = f +SplitEqual = equal +SplitMore = gt +SplitLess = lt +Tab2 = 2 +Tab3 = 3 +Tab4 = 4 +Tab8 = 8 +Swap = ctrl-u +Redo = ctrl-r +HunkNext = n; enter; space +HunkPrev = p; backspace +Goto = g; shift-g +Save = f2 +Edit = f4 +EditOther = f14 +Merge = f5 +MergeOther = f15 +Search = f7 +SearchContinue = f17 +Options = f9 +Top = ctrl-home +Bottom = ctrl-end +Down = down +Up = up +LeftQuick = ctrl-left +RightQuick = ctrl-right +Left = left +Right = right +PageDown = pgdn +PageUp = pgup +Home = home +End = end +Help = f1 +Quit = f10; q; shift-q; esc +Shell = ctrl-o +SelectCodepage = alt-e diff --git a/mc/mc.menu b/mc/mc.menu new file mode 100644 index 0000000..577f927 --- /dev/null +++ b/mc/mc.menu @@ -0,0 +1,365 @@ +shell_patterns=0 ++ ! t t +@ Do something on the current file + CMD=%{Enter command} + $CMD %f + ++ t t +@ Do something on the tagged files + set %t; CMD=%{Enter command} + while [ -n "$1" ]; do + $CMD "$1" + shift + done + + +0 Edit a bug report and send it to root + I=`mktemp "${MC_TMPDIR:-/tmp}/mail.XXXXXX"` || exit 1 + ${EDITOR-vi} "$I" + test -r $I && mail root < $I + rm -f "$I" + +=+ f \.1$ | f \.3$ | f \.4$ | f \.5$ | f \.6$ | f \.7$ | f \.8$ | f \.man$ & t r +1 Display the file with roff -man + nroff -man %f | less + +2 Call the info hypertext browser + info + += t d +3 Compress the current subdirectory (tar.gz) + Pwd=`basename %d /` + echo -n "Name of the compressed file (without extension) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \ + echo "../$tar.tar.gz created." + +4 Compress the current subdirectory (tar.bz2) + Pwd=`basename %d /` + echo -n "Name of the compressed file (without extension) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \ + echo "../$tar.tar.bz2 created." + +5 Compress the current subdirectory (tar.7z) + Pwd=`basename %d /` + echo -n "Name of the compressed file (without extension) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | 7za a -si "$tar.tar.7z" && \ + echo "../$tar.tar.7z created." + +6 Compress the current subdirectory (tar.xz) + Pwd=`basename %d /` + echo -n "Name of the compressed file (without extension) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | xz -f > "$tar.tar.xz" && \ + echo "../$tar.tar.xz created." + += f \.c$ & t r ++ f \.c$ & t r & ! t t +c Compile and link current .c file + make `basename %f .c` 2>/dev/null || cc -O -o `basename %f .c` %f + ++ t r & ! t t +a Append file to opposite + cat %f >> %D/%f + ++ t t +A Append files to opposite files + set %t + while [ -n "$1" ]; do + cat "$1" >> "%D/$1" + shift + done + ++ t r & ! t t +d Delete file if a copy exists in the other directory. + if [ "%d" = "%D" ]; then + echo "The two directories must be different." + exit 1 + fi + if [ -f %D/%f ]; then # if two of them, then + if cmp -s %D/%f %f; then + rm %f && echo "%f: DELETED." + else + echo "%f and %D/%f differ: NOT deleted." + echo -n "Press RETURN " + read key + fi + else + echo "%f: No copy in %D/%f: NOT deleted." + fi + ++ t t +D Delete tagged files if a copy exists in the other directory. + if [ "%d" = "%D" ]; then + echo "The two directores must be different." + exit 1 + fi + for i in %t + do + if [ -f "%D/$i" ]; then + SUM1="`sum \"$i\"`" + SUM2="`sum \"%D/$i\"`" + if [ "$SUM1" = "$SUM2" ]; then + rm "$i" && echo "${i}: DELETED." + else + echo "$i and %D/$i differ: NOT deleted." + fi + else + echo "$i has no copy in %D: NOT deleted." + fi + done + +m View manual page + MAN=%{Enter manual name} + %view man -P cat $MAN + += f \.gz$ & t r ++ ! t t +n Inspect gzip'ed newsbatch file + dd if=%f bs=1 skip=12|zcat|${PAGER-more} + # assuming the cunbatch header is 12 bytes long. + += t r & ++ ! t t +h Strip headers from current newsarticle + CHECK=`awk '{print $1 ; exit}' %f` 2>/dev/null + case "$CHECK" in + Newsgroups:|Path:) + I=`mktemp "${MC_TMPDIR:-/tmp}/news.XXXXXX"` || exit 1 + cp %f "$I" && sed '/^'"$CHECK"' /,/^$/d' "$I" > %f + [ "$?" = "0" ] && rm "$I" + echo "%f: header removed." + ;; + *) + echo "%f is not a news article." + ;; + esac + ++ t t +H Strip headers from the marked newsarticles + set %t + while [ -n "$1" ]; do + CHECK=`awk '{print $1 ; exit}' $1` 2>/dev/null + WFILE=`mktemp "${MC_TMPDIR:-/tmp}/news.XXXXXX"` || exit 1 + case "$CHECK" in + Newsgroups:|Path:) + cp "$1" "$WFILE" && sed '/^'"$CHECK"' /,/^$/d' "$WFILE" > "$1" + if [ "$?" = "0" ]; then + rm "$WFILE"; echo "$1 header removed. OK." + else + echo "Oops! Please check $1 against $WFILE." + fi + ;; + *) + echo "$1 skipped: Not a news article." + ;; + esac + shift + done + += t r ++ ! t t +r Copy file to remote host + echo -n "To which host?: " + read Host + echo -n "To which directory on $Host?: " + read Dir + rcp -p %f "${Host}:$Dir" + ++ t t +R Copy files to remote host (no error checking) + echo -n "Copy files to which host?: " + read Host + echo -n "To which directory on $Host? :" + read Dir + rcp -pr %u "${Host}:$Dir" + += f \.tex$ & t r ++ f \.tex$ & t r & ! t t +t Run latex on file and show it with xdvi + latex %f && xdvi `basename %f .tex`.dvi + +=+ f ^part | f ^Part | f uue & t r ++ t t +U Uudecode marked news articles (needs work) + set %t + ( + while [ -n "$1" ]; do # strip headers + FIRST=`awk '{print $1 ; exit}' "$1"` + cat "$1" | sed '/^'"$FIRST"' /,/^$/d'; shift + done + ) |sed '/^$/d' |sed -n '/^begin 6/,/^end$/p' | uudecode + if [ "$?" != "0" ]; then + echo "Cannot decode %t." + fi + echo "Please test the output file before deleting anything." + +=+ f \.tar\.gz$ | f \.tar\.z$ | f \.tgz$ | f \.tpz$ | f \.tar\.lz$ | f \.tar\.lzma$ | f \.tar\.7z$ | f \.tar\.xz$ | f \.tar\.Z$ | f \.tar\.bz2$ & t r +x Extract the contents of a compressed tar file + unset PRG + case %f in + *.tar.bz2) + PRG="bunzip2 -c" + ;; + *.tar.gz|*.tar.z|*.tgz|*.tpz|*.tar.Z) + PRG="gzip -dc" + ;; + *.tar.lzma) + PRG="lzma -dc" + ;; + *.tar.lz) + PRG="lzip -dc" + ;; + *.tar.xz) + PRG="xz -dc" + ;; + *.tar.7z) + PRG="7za e -so" + ;; + *) + exit 1 + ;; + esac + $PRG %f | tar xvf - + += t r ++ ! t t +y Gzip or gunzip current file + unset DECOMP + case %f in + *.gz) DECOMP=-d;; + *.[zZ]) DECOMP=-d;; + esac + gzip $DECOMP -v %f + ++ t t +Y Gzip or gunzip tagged files + for i in %t + do + unset DECOMP + case "$i" in + *.gz) DECOMP=-d;; + *.[zZ]) DECOMP=-d;; + esac + gzip $DECOMP -v "$i" + done + ++ ! t t +b Bzip2 or bunzip2 current file + unset DECOMP + case %f in + *.bz2) DECOMP=-d;; + esac + bzip2 $DECOMP -v %f + ++ t t +B Bzip2 or bunzip2 tagged files + for i in %t + do + unset DECOMP + case "$i" in + *.bz2) DECOMP=-d;; + esac + bzip2 $DECOMP -v "$i" + done + ++ f \.tar.gz$ | f \.tgz$ | f \.tpz$ | f \.tar.Z$ | f \.tar.z$ | f \.tar.bz2$ | f \.tar.F$ & t r & ! t t +z Extract compressed tar file to subdirectory + unset D + set gzip -cd + case %f in + *.tar.gz) D="`basename %f .tar.gz`";; + *.tgz) D="`basename %f .tgz`";; + *.tpz) D="`basename %f .tpz`";; + *.tar.Z) D="`basename %f .tar.Z`";; + *.tar.z) D="`basename %f .tar.z`";; + *.tar.bz2) D="`basename %f .tar.bz2`"; set bunzip2 -c ;; + *.tar.F) D="`basename %f .tar.F`"; set freeze -dc; + esac + mkdir "$D"; cd "$D" && ("$1" "$2" ../%f | tar xvf -) + ++ t t +Z Extract compressed tar files to subdirectories + for i in %t + do + set gzip -dc + unset D + case "$i" in + *.tar.gz) D="`basename $i .tar.gz`";; + *.tgz) D="`basename $i .tgz`";; + *.tpz) D="`basename $i .tpz`";; + *.tar.Z) D="`basename $i .tar.Z`";; + *.tar.z) D="`basename $i .tar.z`";; + *.tar.F) D="`basename $i .tar.F`"; set freeze -dc;; + *.tar.bz2) D="`basename $i .tar.bz2`"; set bunzip2 -c;; + esac + mkdir "$D"; (cd "$D" && "$1" "$2" "../$i" | tar xvf -) + done + ++ f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t +c Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2 + unset D + unset EXT + case %f in + *.tgz) EXT=tgz;; + *.tpz) EXT=tpz;; + *.Z) EXT=Z;; + *.z) EXT=z;; + *.gz) EXT=gz;; + *.bz2) EXT=bz2;; + esac + case $EXT in + tgz|tpz) D="`basename %f .$EXT`.tar";; + gz|Z|z) D="`basename %f .$EXT`";; + bz2) D="`basename %f .bz2`";; + esac + if [ "$EXT" = "bz2" ]; then + bunzip2 -v %f ; gzip -f9 -v "$D" + else + gunzip -v %f ; bzip2 -v "$D" + fi + ++ t t +C Convert gz<->bz2, tar.gz<->tar.bz2 & tgz->tar.bz2 + set %t + while [ -n "$1" ] + do + unset D + unset EXT + case "$1" in + *.tgz) EXT=tgz;; + *.tpz) EXT=tpz;; + *.Z) EXT=Z;; + *.z) EXT=z;; + *.gz) EXT=gz;; + *.bz2) EXT=bz2;; + esac + case $EXT in + tgz) D="`basename $1 .tgz`.tar";; + tpz) D="`basename $1 .tpz`.tar";; + gz|Z|z) D="`basename $1 .$EXT`";; + bz2) D="`basename $1 .bz2`";; + esac + if [ "$EXT" = "bz2" ]; then + bunzip2 -v "$1" + gzip -f9 -v "$D" + else + gunzip -v "$1" + bzip2 -v "$D" + fi + shift + done + ++ x /usr/bin/open | x /usr/local/bin/open & x /bin/sh +o Open next a free console + open -s -- sh diff --git a/mc/mc.menu.sr b/mc/mc.menu.sr new file mode 100644 index 0000000..6a505f4 --- /dev/null +++ b/mc/mc.menu.sr @@ -0,0 +1,344 @@ +shell_patterns=0 ++ ! t t +@ Ради нешто над текућом датотеком + CMD=%{Унесите наредбу} + $CMD %f + ++ t t +@ Ради нешто над означеним датотекама + set %t; CMD=%{Унесите наредбу} + while [ -n "$1" ]; do + $CMD "$1" + shift + done + + +0 Уреди пријаву грешке и пошаљи је администратору + ${EDITOR-vi} /tmp/mail.$$ + test -r /tmp/mail.$$ && mail root < /tmp/mail.$$ + rm -f /tmp/mail.$$ + +=+ f \.1$ | f \.3$ | f \.4$ | f \.5$ | f \.6$ | f \.7$ | f \.8$ | f \.man$ & t r +1 Прикажи датотеку уз помоћ roff -man + nroff -man %f | less + +2 Позови читач хипертекста info + info + += t d +3 Компримуј текући поддиректоријум (tar.gz) + Pwd=`basename "%d" /` + echo -n "Назив компримоване датотеке (без врсте) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | gzip -f9 > "$tar.tar.gz" && \ + echo "Датотека ../$tar.tar.gz је створена." + +4 Компримуј текући поддиректоријум (tar.bz2) + Pwd=`basename %d /` + echo -n "Назив компримоване датотеке (без врсте) [$Pwd]: " + read tar + if [ "$tar"x = x ]; then tar="$Pwd"; fi + cd .. && \ + tar cf - "$Pwd" | bzip2 -f > "$tar.tar.bz2" && \ + echo "Датотека ../$tar.tar.bz2 је створена." + += f \.c$ & t r ++ f \.c$ & t r & ! t t +5 Преведи и повежи текућу датотеку врсте `.c' + make `basename %f .c` 2>/dev/null || cc -O -o `basename %f .c` %f + ++ t r & ! t t +a Надовежи датотеку на ону из другог окна + cat %f >>%D/%f + ++ t t +A Надовежи датотеке на оне из другог окна + set %t + while [ -n "$1" ]; do + cat "$1" >> "%D/$1" + shift + done + ++ t r & ! t t +d Обриши датотеку ако њена копија постоји у другом окну. + if [ "%d" = "%D" ]; then + echo "Два директоријума морају да буду различити." + exit 1 + fi + if [ -f %D/%f ]; then # if two of them, then + if cmp -s %D/%f %f; then + rm %f && echo "%f: ОБРИСАНА." + else + echo "%f и %D/%f се разликују: НИЈЕ обрисана." + echo -n "Притисните `RETURN' " + read тастер + fi + else + echo "%f: Нема копије у %D/%f: НИЈЕ обрисана." + fi + ++ t t +D Обриши означене датотеке ако постоји копија у другом окну. + if [ "%d" = "%D" ]; then + echo "Два директоријума морају да буду различити." + exit 1 + fi + for i in %t + do + if [ -f "%D/$i" ]; then + SUM1="`sum $i`" + SUM2="`sum %D/$i`" + if [ "$SUM1" = "$SUM2" ]; then + rm "$i" && echo "${i}: ОБРИСАНА." + else + echo "$i и %D/$i се разликују: НИЈЕ обрисана." + fi + else + echo "%f нема копију у %D: НИЈЕ обрисана." + fi + done + +m Погледај страницу упутства + MAN=%{Унесите назив упутства} + %view man -P cat $MAN + += f \.gz$ & t r ++ ! t t +n Прегледај датотеку вести компримовану програмом gzip + dd if=%f bs=1 skip=12|zcat|${PAGER-more} + # assuming the cunbatch header is 12 bytes long. + += t r & ++ ! t t +h Скини заглавља из текућег чланка вести + CHECK=`awk '{print $1 ; exit}' %f` 2>/dev/null + case "$CHECK" in + Newsgroups:|Path:) + cp %f /tmp/%f.$$ && sed '/^'"$CHECK"' /,/^$/d' /tmp/%f.$$ > %f + [ "$?" = "0" ] && rm "/tmp/%f.$$" + echo "%f: уклоњено заглавље." + ;; + *) + echo "%f није чланак вести." + ;; + esac + ++ t t +H Скини заглавља из означених чланака вести + set %t + while [ -n "$1" ]; do + CHECK=`awk '{print $1 ; exit}' "$1"` 2>/dev/null + WFILE=/tmp/${1}.$$ + case "$CHECK" in + Newsgroups:|Path:) + cp "$1" "$WFILE" && sed '/^'"$CHECK"' /,/^$/d' "$WFILE" > "$1" + if [ "$?" = "0" ]; then + rm "$WFILE"; echo "$1 заглавље уклоњено. У реду." + else + echo "Уупс! Молим да проверите $1 са $WFILE." + fi + ;; + *) + echo "$1 прескочена: Није чланак вести." + ;; + esac + shift + done + += t r ++ ! t t +r Копирај датотеку на удаљеног домаћина + echo -n "На ког домаћина?: " + read Домаћин + echo -n "У који директоријум на $Домаћин?: " + read Дир + rcp -p %f "${Домаћин}:$Дир" + ++ t t +R Копирај датотеке на удаљеног домаћина (без провере грешака) + echo -n "На ког домаћина да копирам датотеке?: " + read Домаћин + echo -n "У који директоријум на $Домаћин? :" + read Дир + rcp -pr %u "${Домаћин}:$Дир" + += f \.tex$ & t r ++ f \.tex$ & t r & ! t t +t Покрени ЛаТеХ над датотеком и прикажи је преко програма `xdvi' + latex %f && xdvi `basename %f .tex`.dvi + +=+ f ^part | f ^Part | f uue & t r ++ t t +U Уудекодирај означени чланак вести (требало би разрадити) + set %t + ( + while [ -n "$1" ]; do # strip headers + FIRST=`awk '{print $1 ; exit}' "$1"` + cat "$1" | sed '/^'"$FIRST"' /,/^$/d'; shift + done + ) |sed '/^$/d' |sed -n '/^begin 6/,/^end$/p' | uudecode + if [ "$?" != "0" ]; then + echo "Не могу да декодирам %t." + fi + echo "Молим да проверите излазну датотеку пре било каквог брисања." + +=+ f \.tar\.gz$ | f \.tar\.z$ | f \.tgz$ | f \.tpz$ | f \.tar\.lz$ | f \.tar\.lzma$ | f \.tar\.7z$ | f \.tar\.xz$ | f \.tar\.Z$ | f \.tar\.bz2$ & t r +x Издвој садржај компримоване датотеке врсте `tar' + unset PRG + case %f in + *.tar.bz2) + PRG="bunzip2 -c" + ;; + *.tar.gz|*.tar.z|*.tgz|*.tpz|*.tar.Z) + PRG="gzip -dc" + ;; + *.tar.lzma) + PRG="lzma -dc" + ;; + *.tar.lz) + PRG="lzip -dc" + ;; + *.tar.xz) + PRG="xz -dc" + ;; + *.tar.7z) + PRG="7za e -so" + ;; + *) + exit 1 + ;; + esac + $PRG %f | tar xvf - + += t r ++ ! t t +y Пакуј или расп. тек. дат. програмима `gzip' или `gunzip' + unset DECOMP + case %f in + *.gz) DECOMP=-d;; + *.[zZ]) DECOMP=-d;; + esac + gzip $DECOMP -v %f + ++ t t +Y Пакуј или расп. означ. дат. програмима `gzip' или `gunzip' + for i in %t + do + unset DECOMP + case "$i" in + *.gz) DECOMP=-d;; + *.[zZ]) DECOMP=-d;; + esac + gzip $DECOMP -v "$i" + done + ++ ! t t +b Пакуј или расп. тек. дат. програмима `bzip2' или `bunzip2' + unset DECOMP + case %f in + *.bz2) DECOMP=-d;; + esac + bzip2 $DECOMP -v %f + ++ t t +B Пакуј или расп. означ. дат. програмима `bzip2' или `bunzip2' + for i in %t + do + unset DECOMP + case "$i" in + *.bz2) DECOMP=-d;; + esac + bzip2 $DECOMP -v "$i" + done + ++ f \.tar.gz$ | f \.tgz$ | f \.tpz$ | f \.tar.Z$ | f \.tar.z$ | f \.tar.bz2$ | f \.tar.F$ & t r & ! t t +z Издвој компримовану датотеку врсте `tar' у поддиректоријум + unset D + set gzip -cd + case %f in + *.tar.gz) D="`basename %f .tar.gz`";; + *.tgz) D="`basename %f .tgz`";; + *.tpz) D="`basename %f .tpz`";; + *.tar.Z) D="`basename %f .tar.Z`";; + *.tar.z) D="`basename %f .tar.z`";; + *.tar.bz2) D="`basename %f .tar.bz2`"; set bunzip2 -c ;; + *.tar.F) D="`basename %f .tar.F`"; set freeze -dc; + esac + mkdir "$D"; cd "$D" && ("$1" "$2" ../%f | tar xvf -) + ++ t t +Z Издвој компримовану датотеке врсте `tar' у поддиректоријуме + for i in %t + do + set gzip -dc + unset D + case "$i" in + *.tar.gz) D="`basename $i .tar.gz`";; + *.tgz) D="`basename $i .tgz`";; + *.tpz) D="`basename $i .tpz`";; + *.tar.Z) D="`basename $i .tar.Z`";; + *.tar.z) D="`basename $i .tar.z`";; + *.tar.F) D="`basename $i .tar.F`"; set freeze -dc;; + *.tar.bz2) D="`basename $i .tar.bz2`"; set bunzip2 -c;; + esac + mkdir "$D"; (cd "$D" && "$1" "$2" "../$i" | tar xvf -) + done + ++ f \.gz$ | f \.tgz$ | f \.tpz$ | f \.Z$ | f \.z$ | f \.bz2$ & t r & ! t t +c Пребаци gz<->bz2, tar.gz<->tar.bz2 и tgz->tar.bz2 + unset D + case "%f" in + *.tgz) EXT=tgz;; + *.tpz) EXT=tpz;; + *.Z) EXT=Z;; + *.z) EXT=z;; + *.gz) EXT=gz;; + *.bz2) EXT=bz2;; + esac + case $EXT in + tgz|tpz) D="`basename %f .$EXT`.tar";; + gz|Z|z) D="`basename %f .$EXT`";; + bz2) D="`basename %f .bz2`";; + esac + if [ "$EXT" = "bz2" ]; then + bunzip2 -v "%f" ; gzip -f9 -v "$D" + else + gunzip -v "%f" ; bzip2 -v "$D" + fi + ++ t t +C Пребаци gz<->bz2, tar.gz<->tar.bz2 и tgz->tar.bz2 + set %t + while [ -n "$1" ] + do + unset D + case "$1" in + *.tgz) EXT=tgz;; + *.tpz) EXT=tpz;; + *.Z) EXT=Z;; + *.z) EXT=z;; + *.gz) EXT=gz;; + *.bz2) EXT=bz2;; + esac + case $EXT in + tgz) D="`basename $1 .tgz`.tar";; + tpz) D="`basename $1 .tpz`.tar";; + gz|Z|z) D="`basename $1 .$EXT`";; + bz2) D="`basename $1 .bz2`";; + esac + if [ "$EXT" = "bz2" ]; then + bunzip2 -v "$1" + gzip -f9 -v "$D" + else + gunzip -v "$1" + bzip2 -v "$D" + fi + shift + done + ++ x /usr/bin/open | x /usr/local/bin/open & x /bin/sh +o Отвори следећу слободну конзолу + open -s -- sh + diff --git a/mc/mcedit.menu b/mc/mcedit.menu new file mode 100644 index 0000000..3d11d96 --- /dev/null +++ b/mc/mcedit.menu @@ -0,0 +1,486 @@ +shell_patterns=0 # expression type + +# The macros are: +# +# %c The cursor column position number. For edit menu only. +# %i The indent of blank space, equal the cursor column +# position. For edit menu only. +# %y The syntax type of current file. For edit menu only. +# %b The block file name. +# %f The current file name. +# %n Only the current file name without extension. +# %x The extension of current file name. +# %d The current directory name. +# %F The current file in the unselected panel. +# %D The directory name of the unselected panel. +# %t The currently tagged files. +# %T The tagged files in the unselected panel. +# %u and %U Similar to the %t and %T macros, but in +# addition the files are untagged. You can use this macro +# only once per menu file entry or extension file entry, +# because next time there will be no tagged files. +# %s and %S The selected files: The tagged files if +# there are any. Otherwise the current file. +# +# %% The % character +# +# %{some text} Prompt for the substitution. An input box +# is shown and the text inside the braces is used as a +# prompt. The macro is substituted by the text typed by the +# user. The user can press ESC or F10 to cancel. This macro +# doesn't work on the command line yet. + +#----------------------- Begin [perl] language template ----------------------- ++ y Perl\ Program | f \.pl$ +1 Author description header + unset LANG + unset LANGUAGE + LC_ALL= + MY_UID="`id | sed 's/^.*uid=\([^(]*\).*$/\1/'`" + AUTHOR="`awk -F: '$3 == '$MY_UID' {print $5}' /etc/passwd`" + cat >>%b < + # Created at: `date` + # Computer: `uname -n` + # System: `uname -sr` on `uname -m` + # + # Copyright (c) `date +%%Y` $AUTHOR All rights reserved. + # + #---------------------------------------------------------------------- + # Configure section: + + #---------------------------------------------------------------------- + # + # main() + + EOF + ++ y Perl\ Program | f \.pl$ +2 while () + cat < %b + %iwhile() { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +3 for () + cat < %b + %ifor ($i = ; $i < ; $i++) { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +4 foreach () + cat < %b + %iforeach ($ ) { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +5 if () + cat < %b + %iif () { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +6 if () else + cat < %b + %iif () { + %i} else { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +7 if () elsif () + cat < %b + %iif () { + %i} elsif () { + %i} + EOF + ++ y Perl\ Program | f \.pl$ +8 substr () + echo "%i$ = substr(\$str, \$off, \$cnt);" >%b + ++ y Perl\ Program | f \.pl$ +9 opendir () + cat < %b + %iopendir(DIR, \$dir) || die("\$0: can't open \$dir\n"); + EOF + ++ y Perl\ Program | f \.pl$ +a sub () + NAME=%{ Enter name of subroutine: } + cat < %b + sub + $NAME () + { + } # end of $NAME() + EOF +#----------------------- End [perl] language template ------------------------- + +#---------------------- Begin [shell] language template ----------------------- ++ y Shell\ Script | f \.sh$ +1 Author description header + unset LANG + unset LANGUAGE + LC_ALL= + MY_UID="`id | sed 's/^.*uid=\([^(]*\).*$/\1/'`" + AUTHOR="`awk -F: '$3 == '$MY_UID' {print $5}' /etc/passwd`" + cat >>%b < + # Created at: `date` + # Computer: `uname -n` + # System: `uname -sr` on `uname -m` + # + # Copyright (c) `date +%%Y` $AUTHOR All rights reserved. + # + #---------------------------------------------------------------------- + # Configure section: + + #---------------------------------------------------------------------- + # + # main() + + EOF + ++ y Shell\ Script | f \.sh$ +3 for + cat < %b + %ifor i in \$ + %ido + %idone + EOF + ++ y Shell\ Script | f \.sh$ +4 while + cat < %b + %iwhile + %ido + %idone + EOF + ++ y Shell\ Script | f \.sh$ +5 if [] then else + cat <> %b + %iif [ ];then + %ielse + %ifi + EOF + ++ y Shell\ Script | f \.sh$ +6 case + NUMBER=%{ Enter number elements of case:} + cat < %b + %icase "\$" in + EOF + while [ "$NUMBER" -gt 0 ] + do + cat <> %b + %i) + %i ;; + EOF + let NUMBER=$NUMBER-1 + done + cat <> %b + %i*) + %iesac + EOF + ++ y Shell\ Script | f \.sh$ +7 function + NAME=%{ Enter name of function:} + cat <> %b + $NAME() { + } # end of $NAME() + EOF + ++ y Shell\ Script | f \.sh$ +8 select of bash + cat <> %b + %iselect i in \$l + %ido + %i if [ -n "\$i" ];then + %i break + %i else + %i continue + %i fi + %idone + EOF + +#----------------------- End [shell] language template ------------------------ + +#------------------------- Begin [c] language template ------------------------ ++ f \.h$ | f \.c$ | f \.cc$ +1 Author description header + unset LANG + unset LANGUAGE + LC_ALL= + MY_UID="`id | sed 's/^.*uid=\([^(]*\).*$/\1/'`" + AUTHOR="`awk -F: '$3 == '$MY_UID' {print $5}' /etc/passwd`" + cat >> %b < + * Created at: `date` + * Computer: `uname -n` + * System: `uname -sr` on `uname -m` + * + * Copyright (c) `date +%%Y` $AUTHOR All rights reserved. + * + ********************************************************************/ + EOF + ++ f \.h$ | f \.c$ | f \.cc$ +2 GPL description header + cat >>%b <. + */ + EOF + ++ f \.c$ | f \.cc$ +3 if () + cat < %b + %iif () { + %i} + EOF + ++ f \.c$ | f \.cc$ +4 if () else + cat < %b + %iif () { + %i} else { + %i} + EOF + ++ f \.c$ | f \.cc$ +5 if () else if () + cat < %b + %iif ( ) { + %i} else if ( ) { + %i} + EOF + ++ f \.c$ | f \.cc$ +6 switch () + NUMBER=%{ Enter number elements of switch:} + echo "%iswitch () {" >%b + while [ "$NUMBER" -gt 0 ] + do + echo "%icase '':" >>%b + echo "%i break;" >>%b + let NUMBER=$NUMBER-1 + done + echo "%i default:" >>%b + echo "%i}" >>%b + ++ f \.c$ | f \.cc$ +7 for () + cat < %b + %ifor (i = ; i < ; i++) { + %i} + EOF + ++ f \.c$ | f \.cc$ +8 while () + cat < %b + %iwhile () { + %i} + EOF + ++ f \.c$ | f \.cc$ +9 do {} while () + cat < %b + %ido { + %i} while () + EOF + ++ f \.c$ | f \.cc$ +a array + cat < %b + %ichar const x[] = { + %i, , + %i}; + EOF + ++ f \.c$ | f \.cc$ +b enum + cat < %b + %ienum x { + %i, , + %i}; + EOF + ++ f \.c$ | f \.cc$ +c struct + cat < %b + %istruct ? { + %i; + %i}; + EOF + ++ f \.c$ | f \.cc$ +d union + cat < %b + %iunion ? { + %i; + %i}; + EOF + ++ f \.c$ | f \.cc$ +e typedef struct + cat < %b + %itypedef struct { + %i; + %i} ?; + EOF + ++ f \.c$ | f \.cc$ +f function + NAME=%{ Enter name of function:} + cat <> %b + $NAME() + { + } /* end of $NAME() */ + EOF + ++ f \.c$ | f \.h$ | f \.cc$ +g #include + INC=%{ Enter include name: } + if [ -r "$INC" ];then + echo \#include \"$INC\" >%b + else + echo \#include \<$INC\> >%b + fi + ++ f \.c$ | f \.h$ | f \.cc$ +d #define + echo "#define " >%b + ++ f \.c$ | f \.h$ | f \.cc$ +d #ifdef + cat < %b + #ifdef + #else + #endif + EOF + ++ f \.c$ | f \.h$ | f \.cc$ +............................................................................... + ++ f \.c$ | f \.h$ | f \.cc$ +h View all *.h into current directory + cat *.h |less + ++ f \.c$ | f \.cc$ +d Run gdb for current file + [ -x "./%n" ] && gdb ./%n + += f \.c$ | f \.cc$ ++ f \.c$ | f \.cc$ +c Compile, link and run the current .c file + export CFLAGS="-g -Wall -O2" + make || make %n || cc $CFLAGS -o %n %f + [ -r "%n" ] && (echo "*** press any key for run... ***"; read) + [ -x "%n" ] && ./%n + (echo -ne "\n--- Press any key for return to edit. ---"; read) + ++ f \.c$ | f \.h$ +t Indent `C' formatter + indent -kr -pcs %b 1>/dev/null 2> %e + +#--------------------- End [c/c++] language template -------------------------- + +#------------------------- Begin unknown template ----------------------------- ++ y unknown & t r +s #! /bin/sh + echo "#! /bin/sh" >%b + ++ y unknown & t r +p #! /usr/bin/perl + echo "#! /usr/bin/perl" >%b + ++ y unknown & t r +a Author description header + unset LANG + unset LANGUAGE + LC_ALL= + MY_UID="`id | sed 's/^.*uid=\([^(]*\).*$/\1/'`" + AUTHOR="`awk -F: '$3 == '$MY_UID' {print $5}' /etc/passwd`" + cat >>%b < + Created at: `date` + Computer: `uname -n` + System: `uname -sr` on `uname -m` + + Copyright (c) `date +%%Y` $AUTHOR All rights reserved. + ---------------------------------------------------------------------- + + EOF +#--------------------------- End unknown template ----------------------------- + +------------------------------------------------------------------------------- + +#----------------------- Begin common section --------------------------------- +S Sort selection + TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 + cat %b > $TMPFILE + cat $TMPFILE| sort >%b + rm -f $TMPFILE + +I Insert `Changelog' string + DATE="`date +%%Y-%%m-%%d`" + MY_UID="`id | sed 's/^.*uid=\([^(]*\).*$/\1/'`" + AUTHOR="`awk -F: '$3 == '$MY_UID' {print $5}' /etc/passwd`" + EMAIL="<$REPLYTO>" + echo "$DATE $AUTHOR $EMAIL" >%b + +s Invoke `shell' + sh + +m view `man' + MAN=%{Enter name of man:} + TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/mcview.$MAN.XXXXXX` || exit 1 + man -Pcat $MAN >$TMPFILE + mcview $TMPFILE + rm -f $TMPFILE + +i Insert a out of command to cursor. + CMD=%{ Enter command: } + eval $CMD > %b + +o Open bash to next free console + open -s -- /bin/bash + +u Upper case selection + TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 + cat %b > $TMPFILE + cat $TMPFILE| sed 's/\(.*\)/\U\1/' >%b + rm -f $TMPFILE + +l Lower case selection + TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1 + cat %b > $TMPFILE + cat $TMPFILE| sed 's/\(.*\)/\U\1/' >%b + rm -f $TMPFILE + +#-------------------------- End of common section ----------------------------- diff --git a/mc/sfs.ini b/mc/sfs.ini new file mode 100644 index 0000000..522cca1 --- /dev/null +++ b/mc/sfs.ini @@ -0,0 +1,28 @@ +# +# This is config for Single File fileSystem +# +# Notice that output files (%3) are pre-created atomically in /tmp +# with 0600 rights, so it is safe to > %3 +# +gz/1 gzip < %1 > %3 +ugz/1 gzip -cdf < %1 > %3 +bz/1 bzip < %1 > %3 +ubz/1 bzip -d < %1 > %3 +bz2/1 bzip2 < %1 > %3 +ubz2/1 bzip2 -d < %1 > %3 +lzma/1 lzma < %1 > %3 +ulzma/1 lzma -d < %1 > %3 +xz/1 xz < %1 > %3 +uxz/1 xz -d < %1 > %3 +tar/1 tar cf %3 %1 +tgz/1 tar czf %3 %1 +uhtml/1 lynx -force_html -dump %1 > %3 +uman/1 groff -Tascii -man %1 > %3 +uue/1 uuenpipe < %1 > %3 +uude/1 uudepipe < %1 > %3 +crlf/1 todos < %1 > %3 +cr/1 fromdos < %1 > %3 +# Fixme: we need it to fail whenever it should +url:2 lynx -source `echo "%2" | sed 's-|-/-g'` > %3 +nop/1 cat %1 > %3 +strings/1 strings %1 > %3 diff --git a/portage/make.conf b/portage/make.conf index 81924e0..49dc980 100644 --- a/portage/make.conf +++ b/portage/make.conf @@ -11,7 +11,7 @@ CHOST="x86_64-pc-linux-gnu" # profile used for building. USE="Xaw3d aalib ads aim amr ao archive audiofile avahi bash-completion \ - bazaar bluray calendar caps cddb cdparanoia cgi cpudetection cscope \ + bazaar bluray caja calendar caps cddb cdparanoia cgi cpudetection cscope \ css ctype curl curlwrappers cvs dbase dga djvu dv dvb dvdread \ examples expat fastcgi ffmpeg fftw fits flatfile fltk fontconfig \ foomaticdb ftp fuse gconf gd geoip ggi gimp git git glade glib gmp gnustep \ diff --git a/portage/package.keywords/common b/portage/package.keywords/common index 660d76b..8e84c2f 100644 --- a/portage/package.keywords/common +++ b/portage/package.keywords/common @@ -61,11 +61,13 @@ dev-python/fbrehm-libs ~dev-python/netaddr-0.7.10_p20130801 ~dev-python/netaddr-0.7.11 ~dev-python/netifaces-0.6 +~dev-python/pathlib-1.0 dev-python/pb-base dev-python/pb-logging ~dev-python/pbr-0.8.0 ~dev-python/py-notify-0.3.1 ~dev-python/python-debian-0.1.21 +~dev-python/python-debian-0.1.21_p2 ~dev-python/setuptools-1.1.6 ~dev-python/sphinx-1.1.3 ~dev-python/stevedore-0.8 @@ -112,6 +114,8 @@ mail-client/thunderbird ~sys-libs/zlib-1.2.7 +~virtual/python-pathlib-1.0 + #~www-plugins/adobe-flash-11.1.102.63 www-client/firefox diff --git a/portage/package.keywords/mate b/portage/package.keywords/mate index f7452db..f4fd31c 100644 --- a/portage/package.keywords/mate +++ b/portage/package.keywords/mate @@ -16,37 +16,56 @@ ~dev-libs/libdbusmenu-12.10.2 ~dev-libs/libindicator-12.10.1 ~dev-libs/libmateweather-1.6.2 +~dev-libs/libmateweather-1.8.0 ~mate-base/caja-1.8.0 +~mate-base/caja-1.8.1 ~mate-base/libmatekbd-1.6.2 +~mate-base/libmatekbd-1.8.0 ~mate-base/mate-1.6.0 ~mate-base/mate-1.8.0 ~mate-base/mate-applets-1.6.2 +~mate-base/mate-applets-1.8.0 ~mate-base/mate-common-1.6.2 -#~mate-base/mate-common-1.7.90 +~mate-base/mate-common-1.8.0 ~mate-base/mate-control-center-1.6.2 +~mate-base/mate-control-center-1.8.1 ~mate-base/mate-desktop-1.6.2 +~mate-base/mate-desktop-1.8.1 ~mate-base/mate-file-manager-1.6.3 ~mate-base/mate-menus-1.6.0 +~mate-base/mate-menus-1.8.0 ~mate-base/mate-panel-1.6.1 +~mate-base/mate-panel-1.8.0 ~mate-base/mate-session-manager-1.6.1 +~mate-base/mate-session-manager-1.8.1 ~mate-base/mate-settings-daemon-1.6.2 +~mate-base/mate-settings-daemon-1.8.1 ~mate-extra/mate-calc-1.6.0 ~mate-extra/mate-calc-1.6.1 +~mate-extra/mate-calc-1.8.0 ~mate-extra/mate-character-map-1.6.0 ~mate-extra/mate-dialogs-1.6.2 +~mate-extra/mate-dialogs-1.8.0 ~mate-extra/mate-file-manager-image-converter-1.6.0 ~mate-extra/mate-file-manager-open-terminal-1.6.0 ~mate-extra/mate-file-manager-sendto-1.6.0 ~mate-extra/mate-file-manager-share-1.6.0 ~mate-extra/mate-media-1.6.1 +~mate-extra/mate-media-1.8.0 ~mate-extra/mate-polkit-1.6.1 +~mate-extra/mate-polkit-1.8.0 ~mate-extra/mate-power-manager-1.6.3 +~mate-extra/mate-power-manager-1.8.0 ~mate-extra/mate-screensaver-1.6.1 +~mate-extra/mate-screensaver-1.8.0 ~mate-extra/mate-sensors-applet-1.6.1 +~mate-extra/mate-sensors-applet-1.8.0 ~mate-extra/mate-system-monitor-1.6.1 +~mate-extra/mate-system-monitor-1.8.0 ~mate-extra/mate-utils-1.6.1 +~mate-extra/mate-utils-1.8.0 ~media-gfx/eom-1.8.0 ~media-gfx/mate-image-viewer-1.6.2 @@ -59,10 +78,14 @@ ~x11-misc/mozo-1.8.0 ~x11-terms/mate-terminal-1.6.2 +~x11-terms/mate-terminal-1.8.0 ~x11-themes/mate-backgrounds-1.6.1 +~x11-themes/mate-backgrounds-1.8.0 ~x11-themes/mate-icon-theme-1.6.3 +~x11-themes/mate-icon-theme-1.8.0 ~x11-themes/mate-themes-1.6.3 +~x11-themes/mate-themes-1.8.0 ~x11-wm/marco-1.8.0 ~x11-wm/mate-window-manager-1.6.2 diff --git a/portage/package.use b/portage/package.use index 3d5171a..917a347 100644 --- a/portage/package.use +++ b/portage/package.use @@ -23,6 +23,7 @@ app-emulation/qemu kvm vde app-emulation/virtualbox extensions vnc app-misc/beagle chm ole thunderbird +app-misc/mc mclib samba sftp app-misc/strigi hyperestraier inotify app-misc/tracker -xine app-misc/tomboy galago @@ -114,6 +115,7 @@ dev-python/pyparsing doc dev-python/PyQt4 assistant declarative doc multimedia qt3support script sql webkit xmlpatterns dev-python/python-ldap doc dev-python/pyxml doc +dev-python/pyyaml libyaml dev-python/reportlab doc dev-python/sip doc dev-python/six doc diff --git a/printcap b/printcap index 5d065a1..799d67e 100644 --- a/printcap +++ b/printcap @@ -1,4 +1,5 @@ # This file was automatically generated by cupsd(8) from the # /etc/cups/printers.conf file. All changes to this file # will be lost. +Support|Support Printer - Dell 2330dn:rm=samara:rp=Support: Dell_2350dn_Laser_Printer|RI Dell 2350dn Laser Printer:rm=samara:rp=Dell_2350dn_Laser_Printer: -- 2.39.5