On Sun, Nov 14, 1999, Niels Rasmussen wrote:
> Hi all
> 
> I have a challenge for you ;-)
> 
> The fte-editor contains 2 parts:
> 
> For the console       sfte
> For X         xfte
> 
> Now how can I twist the lines in
> 
>       set editor=""
> 
> to use *fte in both enviroments ??

   Set up a script and set that as the editor.  The script could
be something like

---
#!/bin/ksh

if [ -n "$DISPLAY" ]
then
        xfte
else
        sfte
fi
---

-- 
|Chris Costello <[EMAIL PROTECTED]>
|"Virtual" means never knowing where your next byte is coming from.
`------------------------------------------------------------------

Reply via email to