[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Other access for information variables (except 'who')

From: David Bateman
Subject: Re: Other access for information variables (except 'who')
Date: Mon, 13 Dec 2004 12:00:19 +0100
User-agent: Mutt/1.4.1i

> The result
> is processed by simple regular expression in order to remove command
> prompt 'octave X:>'.

Why not set PS1 to [], then there would be no prompt to remove...

> But I still can't find the way to access the information of local
> variables.  The 'who -variables -long' is not appropriate to the concept
> pipe.readline() I used. Any recommendation is welcome.

Why? Look at the new "whos_line_format" that I believe was introduced
at 2.1.58 that can change the output format of "who -long" or "whos"
to be exactly the format you want...


David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]