## some useful aliases alias dir ls alias less more alias zless zmore alias bzless bzmore alias reconnect "close; cache flush; cd ." ## make prompt look better set prompt "lftp \S\? \u\@\h:\w> " ## default protocol selection #set default-protocol/ftp.* ftp #set default-protocol/www.* http #set default-protocol/localhost file ## this makes lftp faster but doesn't work with some sites/routers #set ftp:sync-mode off ## synchronous mode for broken servers and/or routers set sync-mode/ftp.idsoftware.com on set sync-mode/ftp.microsoft.com on set sync-mode/sunsolve.sun.com on ## extended regex to match first server message for automatic sync-mode. set auto-sync-mode "icrosoft FTP Service|MadGoat" ## if default ftp passive mode does not work, try this: # set ftp:passive-mode off ## Set this to follow http redirections set xfer:max-redirections 10 ## Terminal strings to set titlebars for terminals that don't ## properly specify tsl and fsl capabilities. ## Use cmd:set-term-status to enable this. set cmd:term-status/*screen* "\e_\T\e\\" set cmd:term-status/*xterm* "\e[11;0]\e]2;\T\007\e[11]" set cmd:term-status/*rxvt* "\e[11;0]\e]2;\T\007\e[11]"