home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp48 / 6837 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  2.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!cs.uoregon.edu!news.uoregon.edu!nntp.uoregon.edu!stevev
  2. From: stevev@miser.uoregon.edu (Steve VanDevender)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: Can a HP48 do this?
  5. Message-ID: <STEVEV.93Jan9224440@miser.uoregon.edu>
  6. Date: 10 Jan 93 06:44:40 GMT
  7. Article-I.D.: miser.STEVEV.93Jan9224440
  8. References: <MHEISKAN.93Jan9150319@lk-hp-7.hut.fi> <jcook.0ne0@cryo.rain.com>
  9.     <1io9i0INNe1o@life.ai.mit.edu>
  10. Organization: University of Oregon Chemistry Stores
  11. Lines: 41
  12. NNTP-Posting-Host: miser.uoregon.edu
  13. In-reply-to: rwed@gnu.ai.mit.edu's message of 10 Jan 93 04:43:44 GMT
  14.  
  15. In article <1io9i0INNe1o@life.ai.mit.edu> rwed@gnu.ai.mit.edu (N7YVM) writes:
  16.  
  17.    Im wondering if it is within the realm of possibility that an HP48s could
  18.    preform as a simple text editor of sorts. Nothing fancy, just keep a
  19.    block of text in memory that would be editable. The editor functions
  20.    would be akin to the most simple of full screen editors for PC's. Insert
  21.    delete, write over, move the cursor around. 
  22.  
  23. There is already a simple text editor built in that can be used
  24. on string objects.  It has all the features that you mention, but
  25. not much more.  It is sufficient for editing programs and viewing
  26. and editing other kinds of objects.  The built-in editor is
  27. rather slow for very long strings or large objects.
  28.  
  29. Others have written more sophisticated text editors.
  30.  
  31.    Would a HP48s be able to do this? If so would 1 char be stored as 1 byte,
  32.    and also could the text be encrypted and decrypted using a simple cipher
  33.    algorithm.  That would require individual addressing of each letter
  34.    as a number (for example ASCII)
  35.  
  36. The HP 48 uses the ISO 8859-1 character set (with HP 48-specific
  37. characters in codes 128-159).  There are also functions for
  38. converting character numbers to single-character strings or
  39. single-character strings to character numbers, and the ability to
  40. extract individual characters or substrings from strings.
  41. Strings can be up to 512K characters in length (although with
  42. memory limited to an absolute maximum of 288K bytes the
  43. theoretical limit is much higher than the practical limit).
  44.  
  45. I believe that someone wrote a simple encryption program for
  46. strings within the last few months.
  47.  
  48. Note that the HP 48S is not expandable and is limited to a total
  49. of 32K bytes of memory.  If your application would ever need more
  50. than this you would need to get an HP 48SX.
  51. --
  52. Steve VanDevender     stevev@greylady.uoregon.edu
  53. "Bipedalism--an unrecognized disease affecting over 99% of the population.
  54. Symptoms include lack of traffic sense, slow rate of travel, and the
  55. classic, easily recognized behavior known as walking."
  56.