[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 8 15:09:53 1995 
Subject:Re: LInux Poplog beginner's questions 
From:Robert John Duncan 
Volume-ID:951109.02 

> How do I run Ved on its own.
> ie I would like to use it as my standard file editor so I can type
> ved <myfile>
> from BASH

Add

    alias ved="poplog ved"

to your .profile.

> How do I run normal 'character-mode' ved in an X-term?
> Poplog fires up Xved.

Poplog starts XVed if the DISPLAY environment variable is set. So you
could start Ved by typing

    DISPLAY= poplog ved

to unset DISPLAY while Poplog runs. However, the poplog command script
is really there only as an easy startup method for people who've not
seen Poplog before. If you're a committed user, it may pay to set things
up in a more traditional way, which means changing your .profile to
include

    export usepop=/usr/local/poplog/poplog15.0
    . $usepop/pop/com/poplog.sh

This will set up the Poplog environment when you log in. Then you don't
need the poplog command at all. Instead, use

    pop11 ved       # for terminal Ved
    pop11 %x ved    # for XVed

> I have installed Sussex popvision in
>     /usr/pop/popvision
> How do I make Poplog aware of its presence? The Sussex README file tells
> me to put a file called popvision.p in a directory listed by
> popuseslist. But, Some of the environment variables in popuseslist do
> not appear to have any defined value - where should these variables be
> defined? Some of the directories listed in popuseslist do not seem to
> match the ones in my Poplog installation.  Where is popuseslist defined?

If you source the $usepop/pop/com/poplog.sh file as suggested above,
you'll get more environment variables defined than you could ever wish
for. But actually you can put the popvision.p file wherever you like,
provided that you add the directory to popuseslist yourself, i.e. if
the full pathname is /usr/pop/popvision/popvision.p, do

    '/usr/pop/popvision/' :: popuseslist -> popuseslist;

If you want this done every time you run Poplog, create an "init.p" file
for yourself and add to it the line

    extend_searchlist('/usr/pop/popvision/', popuseslist) -> popuseslist;

Robert
------------------------------------------------------------------------
Robert Duncan, Integral Solutions Ltd.             email: robd@isl.co.uk
School of Cognitive & Computing Sciences               tel: 01273 678881
University of Sussex, Brighton, BN1 9QH, UK            fax: 01273 671320
------------------------------------------------------------------------