English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 09 February 2013, 12:39   #1
Gaula92
Registered User
 
Gaula92's Avatar
 
Join Date: Aug 2008
Location: Spain
Posts: 527
"DIR" equivalent to "ls |more"

Hi there,

On my minimal 68000 machines (Minimig, Amiga 600) I use AmigaDOS without WB, in order to save memory for games/apps.
But listing a directory contents is not easy, because DIR displays all files in a single strike, thus hiding the first ones from me.

Is there a way to make dir display files and waiting for me to ask for more?
Like linux "ls |more", for example.

thanks!
Gaula92 is offline  
Old 09 February 2013, 12:52   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
You can stop the output by pressing any key and continue by deleting what you entered.
thomas is offline  
Old 09 February 2013, 12:55   #3
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,304
With Dir I don`t know (some else will tell you). I just press spass for pause and backspace for continue. However, you could use pfsls form pfs3 packed what is an ls equivalent. Or you use CON replacement that supports history.
daxb is offline  
Old 09 February 2013, 14:04   #4
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,773
You could always create a script to output the dir output to a file, run it through more, and then delete the file.
Hewitson is offline  
Old 09 February 2013, 14:09   #5
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,002
Or use dir | more. You need a Pipe command installed.
thomas is offline  
Old 22 September 2013, 21:53   #6
alkis
Registered User
 
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
You could try this Ls as well, has integrated paging support and 1.3 combartibility
http://ftp.funet.fi/pub/amiga/fish/201-300/ff236/Ls.lha
alkis is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Lincs Amiga User Group aka "LAG" Meeting Confirmed for Sat 2nd of March" rockape News 2 21 February 2013 22:46
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" rockape News 4 30 January 2013 00:06
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" cfTrio support.WinUAE 8 18 December 2012 16:31
"Lincs Amiga User Group aka "LAG" meet confirmed on Saturday the 5th of January 2013" rockape News 2 06 November 2012 20:16
Problems with "Thespywholovedme", "Flood", "Shinobi" sareks support.Games 12 03 May 2006 14:52

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:16.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06868 seconds with 13 queries