Article View: news.software.readers
Article #40456Re: slrn: read_mini
From: John E. Davis
Date: Mon, 27 Apr 1998 00:00
Date: Mon, 27 Apr 1998 00:00
26 lines
1331 bytes
1331 bytes
On 27 Apr 1998 14:26:00 EDT, Vikas Agnihotri <vikasa@att.com>
wrote:
>variable default_file = "Some file name";
>file = read_mini("Enter file","",default_file);
>
>The cursor is on the first character of the default_file string. How do I
>make it startup at the end of the line?
Try:
define read_mini_at_end (a, b, c)
{
ungetkey (5); % ^E
return read_mini (a, b, c);
}
variable default_file = "Some file name";
file = read_mini_at_end ("Enter file","",default_file);
--
John E. Davis Center for Space Research/AXAF Science Center
617-258-8119 One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis Cambridge, MA 02139-4307
Technical Details
Message-ID:
<slrn6k9s8j.e4m.davis@aluche.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn6k9jdq.n50.vikasa@8080b0da.ims.att.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn6k9s8j.e4m.davis@aluche.mit.edu> Subject: Re: slrn: read_mini Date: Mon, 27 Apr 1998 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn6k9jdq.n50.vikasa@8080b0da.ims.att.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 348194761 Organization: Center for Space Research Reply-To: davis@space.mit.edu Newsgroups: news.software.readers