Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Start mc with every new shell
- X-seq: zsh-users 10962
- From: chesss <testingagain@xxxxxxxxx>
- To: "zsh-users@xxxxxxxxxx" <zsh-users@xxxxxxxxxx>
- Subject: Start mc with every new shell
- Date: Thu, 09 Nov 2006 20:16:01 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:subject:from:content-type:mime-version:content-transfer-encoding:message-id:user-agent; b=Zm7FpcTr+nNukDFXO/My0RDNRLEhuJve03sbjMYIkITr1tGVrw2F7a8NU/XjQF2fJSkMtduMqpcr/xSOM08sbUEhF+UfK1MGyQOWXHkxfrepZsR+nPbQs7oI8R9tAWgv5lwdI9eLQvn4T24Slh2JS0+bN3BhhflvLUUyXeNjf8w=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
The only bit of of midnight-commander I really like is the ability to
quickly press ctrl+o and get a nice scrollable listing of files, and the n
press ctrl+o again to get back to zsh.
So how to start mc with every interactive shell, that too in 'minimized'
mode?
I tried:
1. adding mc to .zshrc, but it hangs the chell . adding mc to .bashrc
works.
2. looking for a macro app. So that I can send a series of keyboard
strokes to start a new zsh shell, start mc and press ctrl+o. AFAIK, the
concept of keyboard macros outside vi/emacs is pretty much unknown in unix
world, so I'll explain: press a keystroke to send a 'series of
keystrokes/hotkeys'.
Any such app for unix? I am not talking about macros in zsh, but in X(the
whole PC)
From mc's man page >>
C-o when the program is being run in the Linux or FreeBSD console or
under an xterm, it
will show you the output of the previous command. When ran
on the Linux console,
the Midnight Commander uses an external program
(cons.saver) to handle saving and
restoring of information on the screen.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author