La Vita è Bella

Friday, March 02, 2007

Some (not so many) handy aliases

Under my Debian Linux, when I use screen, I always get some keymap/TERM setting problems, for example, the backspace key never work.

But if I set TERM to "vt100" before launch screen, it's OK, so this alias can resolve the problem:

alias screen='env TERM=vt100 screen'

For the poor network, I always need a multi-thread http downloader. Firefox has a extension DownThemAll!, but after I finish surfing websites (but didn't finish downloading yet), I used to press Command+Q to quit Firefox, and the download was interrupted. lftp has a built-in downloader: pget, so use pget is a good idea:

alias pget="lftp -c pget"

Put the codes into your bashrc file, and restart your terminal, it's done.

tags: , , , ,

21:25:26 by fishy - linux - Permanent Link

Revision: 1.1/1.1, last modified on 2007-03- 4 @ 02:24.

Karma: 25 (60.33% out of 121 were positive) [+/-]

You can subscribe to RSS 2.0 feed for comments and trackbacks

There are currently no trackbacks for this item.
Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.


asd wrote:

My backspace key still does not work. Tried setting the value of TERM to cygwin, xterm, vt100 but nothing works.

Friday, September 23, 2011 01:08:11

Add Comment


May the Force be with you. RAmen