Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.amiga » Screen width for 'ED'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Screen width for 'ED' [message #123391] Mon, 18 November 1985 11:14 Go to next message
star is currently offline  star
Messages: 23
Registered: October 1985
Karma: 0
Junior Member
Article-I.D.: vax4.2908
Posted: Mon Nov 18 11:14:25 1985
Date-Received: Tue, 19-Nov-85 03:51:16 EST
Distribution: net
Organization: John Fluke Mfg. Co., Inc., Everett, WA
Lines: 41

Subject:		Just a few Questions
TO:			bobp@amiga.UUCP

I just received my developers package last week and the manuals cleared up alot
of questions that I had earlier.  The sample program "Simple Window and Screen"
was sweet and I mastered that technique within an hour.  I know that time for
examples is at a premium for the remainder of the manual, but the start-up time
required for each and every developer to master the basics of Intuition adds
weeks to the time it takes to get good software out.

I have been reading net.micro.amiga since day one and appreciate your comments
I would like for you to post some other simple routines, which expand upon
"Simple Window and Screen" to include construct of gadgets and all of the other
etcs. like menus, pulldowns.  I am not saying that you do the work for the
developers, but others
who are in love with the Amiga, will spend the wee hours in study.  The examples
just speed up the learning curve (why re-invent the wheel).

Anywho... I have a few simple questions.


1.	When listing out to my printer, a Panasonic KX-P1093, I can't get a
	full line of code.  An Example is the "MAKE" file on the Lattice C
	disk.  When using 'ED', any code that expands beyond the screen width
	is truncated to the next line.  This is exactly what appears on my
	printer.  Any clues?  I've tried just about everything.

2.	How would you get a 'DIR opt a' listing to "prt:".  If I say
	"DIR > prt:" no sweat... but "DIR opt a > prt:" returns an error.

3.	Is there any way to have 80 colums appear on the screen using 'ED'.
	I probably know the answer... but I am so use to a 80 terminal, that
	60+ colums is difficult to swallow.  Also, I noted that 'SCREENS' will
	not allow 80 colums either,  one solution would be to use a different
	font and higher resolution, but I haven't mastered that technique yet.


Best Regards,


David Whitlock
Re: Screen width for 'ED' [message #123405 is a reply to message #123391] Tue, 19 November 1985 08:58 Go to previous messageGo to next message
crum is currently offline  crum
Messages: 11
Registered: June 2013
Karma: 0
Junior Member
Article-I.D.: utah-cs.3551
Posted: Tue Nov 19 08:58:33 1985
Date-Received: Thu, 21-Nov-85 04:06:51 EST
Organization: Univ of Utah CS Dept
Lines: 12

 >  2.	How would you get a 'DIR opt a' listing to "prt:".  If I say
 > 	"DIR > prt:" no sweat... but "DIR opt a > prt:" returns an error.

In section 2.1 of the AmigaDOS User's Manual, the syntax of commands with
I/O redirection is presented.  It is:

[>]|[<][*]

This means that the ">prt:" in your example must come before the "opt a".
Try "dir >prt: opt a".

[Gary C]
Re: Screen width for 'ED' [message #123419 is a reply to message #123391] Wed, 20 November 1985 23:38 Go to previous messageGo to next message
bruceb is currently offline  bruceb
Messages: 41
Registered: October 1985
Karma: 0
Member
Article-I.D.: amiga.303
Posted: Wed Nov 20 23:38:00 1985
Date-Received: Sat, 23-Nov-85 01:04:43 EST
References: <2908@vax4.fluke.UUCP>
Reply-To: bruceb@hunter.UUCP (Bruce Barrett)
Distribution: net
Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030
Lines: 63

In article <2908@vax4.fluke.UUCP> star@fluke.UUCP (David Whitlock) writes:
 > Subject:		Just a few Questions
 > TO:			bobp@amiga.UUCP
 > 
 > Anywho... I have a few simple questions.
 > 
 > 
 > 1.	When listing out to my printer, a Panasonic KX-P1093, I can't get a
 > 	full line of code.  An Example is the "MAKE" file on the Lattice C
 > 	disk.  When using 'ED', any code that expands beyond the screen width
 > 	is truncated to the next line.  This is exactly what appears on my
 > 	printer.  Any clues?  I've tried just about everything.

	Have you tried setting preferences margins (L & R) to 1 and 80,
	or if your printer will handle it 1 and 132, ..  Then SAVE and
	REBOOT (V1.0 has a bug such that it doen not allways pick up
	printer changes without a save and boot.  Fixed for V1.1
 > 
 > 2.	How would you get a 'DIR opt a' listing to "prt:".  If I say
 > 	"DIR > prt:" no sweat... but "DIR opt a > prt:" returns an error.

	This is not intended as a flame, but as a warning to others...
	YOU MUST READ YOUR AmigaDOS Manual CAREFULLY!!!  Page 3 of 
	chapter 2 talks about the "<" and ">" commands (sic).  The 
	definition of these is given as:

		COMMAND [> ToFile] [< FromFile] [arg1 arg2 ...]

	It means what it says... do not try to out think it by using Unix
	syntax.  The ">" and "<" options MUST be specified between the
	command and its arguments.  Therefore the answer to your question
	is:
		DIR > PRT: OPT A
	(Simple, once someone has told you.)

 > 3.	Is there any way to have 80 colums appear on the screen using 'ED'.
 > 	I probably know the answer... but I am so use to a 80 terminal, that
 > 	60+ colums is difficult to swallow.  Also, I noted that 'SCREENS' will
 > 	not allow 80 colums either,  one solution would be to use a different
 > 	font and higher resolution, but I haven't mastered that technique yet.

	Again I would suggest you use preferences to see if it will fix this
	problem.  Select the 80 column gadget about two-thirds of the way
	down the left hand side of the screen.  Looks like:
		Text [60]  [80]		Select 80, again SAVE and boot
	ED will now display 77 characters per line.  You may also want to
	set the right hand margin to 80 (90?, 120??) by typing:
		SR 80 
	every time you enter ED.  This will eliminate the "auto word wrap"
	at about column 75.  ED will NOT display the entier line if it
	is wider than the window.... so ... any thing that shows up in the
	second line IS the second line.

	I usually do not bother settiny the right hand margin.  ED only 
	wraps as you type over the right margin for the first time (per
	line) so I've gotten used to typing:
		
	This re connects the line and makes it the way I wanted in the
	first place.

	Best of luck in your explorations....
	
	Bruce Barrett
RE: Screen width for 'ED' [message #123439 is a reply to message #123391] Fri, 22 November 1985 10:44 Go to previous message
star is currently offline  star
Messages: 23
Registered: October 1985
Karma: 0
Junior Member
Article-I.D.: vax4.2921
Posted: Fri Nov 22 10:44:08 1985
Date-Received: Sun, 24-Nov-85 04:44:01 EST
Distribution: net
Organization: John Fluke Mfg. Co., Inc., Everett, WA
Lines: 12

Thanks for all your answers,  You were right, the only thing that I did not
do after saving preferences, was to reboot from 1.0, other than that, I did
try resetting everything with out success.  I hate BUGS...

Redirection was an oversite.  When you are used to UNIX syntax, all others
seem to be a variation on a forgotten theme... 

Can someone from Commodore, post a listing of the Fixes that 1.1 will correct.

Best Regards,

Dave Whitlock
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: yell if you want software....
Next Topic: Re: orientation of DF1: drive+++Disk info!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 16:13:30 EDT 2024

Total time taken to generate the page: 0.08628 seconds