[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A KDE/Konsole question
- To: Ilya Konstantinov <linux-il(at-nospam)future.galanet.net>, IGLU <linux-il(at-nospam)linux.org.il>
- Subject: Re: A KDE/Konsole question
- From: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Date: Mon, 23 Jul 2001 21:53:50 +0300
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Dilog Computers Ltd.
- References: <3B5C656A.6000603@inter.net.il> <20010723212457.B20902@goblin.galanet.net>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628
Ilya Konstantinov wrote:
> On Mon, Jul 23, 2001 at 08:56:58PM +0300, Daniel Feiglin wrote:
>
>>Hello!
>>
>>Does anyone know how to get konsole to execute a command or a script before
>>passing control to the user? (NB The -e <cmd> option executes command cmd
>>and exits - not very helpful.)
>>
>>I would like, for example, to preset TERM=xterm as a default for all konsole
>>
>>sessions. If you do this, the mouse works correctly for apps like mc.
>>
>>Environment: SuSE 7.1/KDE 2.0
>>Reference: kconsole --help-all (No much!)
>>
>
> My Konsole (on KDE 2.2beta1) sets TERM=xterm itself.
>
> Alternatively, you can create a little script to do this:
> #!/bin/sh
> export TERM=xterm
> exec bash
>
> and use 'konsole -e your_script'
>
That worked! Thanks.
> Of course, replace bash with your prefered shell, and make the script
> executable.
>
> =================================================================
> To unsubscribe, send mail to linux-il-request@linux.org.il with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail linux-il-request@linux.org.il
>
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il