🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by John E. Davis Mon, 27 Apr 1998 00:00
Re: slrn: read_mini
#40456
Author: John E. Davis
Date: Mon, 27 Apr 1998 00:00
26 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads