home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
tse2jr4.zip
/
HELPME.DOC
< prev
next >
Wrap
Text File
|
1997-02-21
|
17KB
|
400 lines
Common Questions and Answers about The SemWare Editor Junior
KEYBOARD
──────────────────────────────────────────────────────────────────────────────
QUESTION: How can I get the shifted keypad keys to insert the appropriate
numerals in my file?
ANSWER: First, you need to run QCONFIG.EXE and make sure that the "CUA-
Style Block Marking" option is turned OFF. Then check your QCONFIG.DAT file
to make sure that nothing is assigned to the #1 - #9 keys. Burn-in your
QCONFIG.DAT file, then when you press #1, the numeral '1' will be entered
into your file.
QUESTION: I try to use the "*","-", and "+" key on my numeric keypad and it
does not seem to work.
ANSWER: By default, the Paste, Cut, and Copy commands are assigned to
these keys. They are referred to as the "grey*", "grey-", and "grey+" keys. If
you want to use these keys at "Face-value", then unassigned them in your
keyboard definition file. See the printed manual for a listing of these keys.
QUESTION: I have a NorthGate keyboard that has an additional "*" key, but it
does not seem to work.
ANSWER: This extra "*" key is the same as the "grey*" key. Please see the
previous Question and Answer.
QUESTION: I cannot get the F11 and F12 keys to work.
ANSWER: The F11 and F12 keys are present on "Enhanced Keyboards", also
known as the 101-key keyboards.
By default, enhanced keyboard testing is turned OFF. Run QConfig.exe,
select Advanced options, and answer Yes to "Test for presence of enhanced
keyboard (Y/N)? ". Be sure that you Save your changes when you quit
QConfig.exe. As long as you have an "Enhanced Keyboard" and also a Rom Bios
that recognizes the Enhanced keyboard, you will be able to use these
additional keys. For a list of the "Enhanced Keyboard" keys, see the printed
manual.
QUESTION: My TSR will not pop up over The SemWare Editor Junior. Why?
ANSWER: Some TSRs will not pop-up when Enhanced keyboard calls are being
made. Run QConfig.exe, select Advanced options, and answer NO to "Test for
presence of enhanced keyboard (Y/N)? ". Be sure that you Save your changes
when you quit QConfig.exe. This should allow your TSR to pop-up. If you have
Enhanced Keyboard testing turned OFF, you will not be able to access commands
that you have assigned to the F11, F12, and other enhanced keys. For a list of
the Enhanced keyboard keys, see the printed manual.
QUESTION: My Tab key does not seem to work right. What is wrong?
ANSWER: It is possible that you have ToggleSmartTabs ON. Make sure that
ToggleSmartTabs is OFF. Please see the printed manual for a description of
the ToggleSmartTabs command.
TEXT ENTRY AND MANIPULATION:
──────────────────────────────────────────────────────────────────────────────
QUESTION: How can I enter ANY ASCII character in The SemWare Editor
Junior?
ANSWER: Any ASCII character having a decimal value of 0-255 can be entered
into a text file while in the editor using one of the following methods:
ASCII 0-255:
You can use the ASCII chart provided in the editor. Select Other / Ascii
Chart from the pull-down menus. Highlight the character you wish to insert,
and press <Enter>.
ASCII 1-255:
Press and hold the <ALT> key. Now, using the numeric keypad (this is the
keypad that is usually located on the right hand side of the keyboard), type
the decimal value of the Ascii character that you want. Now release the <ALT>
key and you should have the character placed in your text. (If you have a
problem entering an ASCII 240, see the discussion in this section.)
ASCII 0:
To enter the NULL character (Ascii 0) into your text, first use the
literal command (our default <CTRL P> ) and then press <CTRL @>. You will get
the NULL character placed in your text (it will look like a space).
For more information on the Alt numeric keypad or the Literal command see
the printed manual.
QUESTION: How can I change a lower case character to an Upper case one or
vice-versa?
ANSWER: The editor has 3 case-changing commands. They are Upper, Lower,
and Flip. These commands can be used to force uppercase, lowercase, or
togglecase at the cursor position OR on all characters in a marked block (if
the cursor is within the marked block).
QUESTION: How can I enter page breaks into my text?
ANSWER: You can enter a Form-feed character into your text by using the
Literal command (our default <CTRL P> ) followed by <CTRL L>. You can also use
the Alt-numeric keypad method (described previously). Hold the <ALT> key and
type 12 on the numeric keypad, then release the <ALT> key. You can also use
the AsciiChart and select the Form-feed character (ASCII 12).
QUESTION: I am writing batch files and the editor puts a carriage return/
linefeed on the last line of a file. How can I keep from getting the double
DOS prompt when my batch file is done?
ANSWER: The editor writes a carriage return/linefeed pair at the end of
each line whenever a file is saved. If you do not want the carriage
return/linefeed on the last line of a batch file to be "SEEN" by DOS, then
enter a Ctrl Z as the last character on the last line. DOS will stop
processing the batch file when the ctrl Z is reached so you will not get the
double prompt.
QUESTION: How do I enter a NULL character into my text?
ANSWER: Use the Literal command (our default <CTRL P>) immediately
followed by <CTRL @>. This will place a NULL (ASCII 0) character in your text.
Please see the discussion of the Literal command in this section.
QUESTION: How can I draw boxes in The SemWare Editor Junior?
ANSWER: Use the ToggleBoxDraw command (our default <SHIFT F1>). When box
drawing mode is ON, a "B" will be present in the StatusLine. You can now use
the cursor keys to draw boxes in your text. To turn box drawing OFF, issue
the ToggleBoxDraw command again. The "B" will be gone from the StatusLine.
You can also select several Box Styles, plus an eraser mode, by using the
ToggleBoxType command (our default <ALT F1>).
QUESTION: I try to enter an ASCII 240 using the Alt numeric keypad and my
system seems to hang. What can I do?
ANSWER: There is a "Known" problem with some versions of the Phoenix Bios
that occurs when an ASCII 240 is being generated from the numeric keypad and
"Enhanced Keyboard" calls are being made.
Internally, the bios code enters an infinite loop. To break out of this loop,
Press <CTRL BREAK> and you will again have control of your keyboard. *NOTE:
<CTRL C> will NOT get you out of the loop, you must use <CTRL BREAK>. If you
have enhanced keyboard testing turned OFF, you will not have this problem.
As a side note, DOS 4.0 and above also make enhanced keyboard calls and the
above discussion applies there as well.
QUESTION: How can I change all the Tab characters in a file to spaces?
ANSWER: Use the TabsToSpaces command (<Esc><O><X>)
FINDING TEXT
──────────────────────────────────────────────────────────────────────────────
QUESTION: How do I search for text at the beginning or the end of the
line?
ANSWER: The editor has two new Find options. They are ^ and $. The ^
Find option will only find the text if it is at the beginning of the line.
The $ Find option will find the text if it is at the end of the line.
QUESTION: How can I limit a "FIND" or "SEARCH and REPLACE" operation to a
specified area?
ANSWER: The "L" option was added as a way for the user to limit a search
operation to within a marked block area. When prompted for options, just
include "L" with the other options.
QUESTION: How can I do a Find and place the found item on the center of the
screen.
ANSWER: Set the "Center Finds" option ON (<Esc><S><C>)
CURSOR MOVEMENT
──────────────────────────────────────────────────────────────────────────────
QUESTION: When I use the cursor key to move to the right or left, the
cursor stays on the same line when I come to the beginning or end of the
line. How can I have the cursor move to the start of the next line when I
reach the end of the current line OR move to the end of the previous line
when I reach the beginning of the current line?
ANSWER: Assign the following macro in your QConfig.dat file:
cursorleft CursorLeft MacroQuitTrue * if cursor left ok, then we're done
CursorUp MacroQuitFalse * else try moving to previous line
EndLine * and go to end of it
cursorright IsEndLine JTrue down * if already at/past end of line
CursorRight MacroQuit * else cursor right and quit
down: CursorDown MacroQuitFalse * if not cursor down, quit
BegLine * else goto begin of line
QUESTION: When I am inserting text on a line, wordwrap does not seem to
work.
ANSWER: In order for wordwrap to operate, the cursor has to exceed the
right margin that has been set. Once the right margin has been exceeded and
you type a non-wordset character, the line will wrap.
PRINTER
──────────────────────────────────────────────────────────────────────────────
QUESTION: How can I enter Printer control codes in The SemWare Editor
Junior?
ANSWER: Please see the TEXT ENTRY AND MANIPULATION section. You will need
to know the ASCII values of the control characters. These values will be
mentioned in your printer manual.
QUESTION: I print a file that I have in the editor, but the Box drawing
characters do not print on my printout.
ANSWER: Check your printer manual and make sure that you have the printer
set up to utilize the Character Graphics Set.
QUESTION: How can I have The SemWare Editor Junior print to LPT2 or
Com1?
ANSWER: Set the appropriate print device via the QCONFIG program, or set
it interactively via the Print pull-down menu.
QUESTION: How can I get double spaced lines on my printout?
ANSWER: You can use the "print left margin" setting to obtain double and
triple spaced text in most cases. If you have your printer set up so that it
prints 80 characters on a line, then set the "print left margin" to 80. This
will cause the editor to send 80 spaces before printing each line, so
effectively get double spaced lines. If you want triple spacing, then make
the setting 160.
QUESTION: I have the editor sending formfeeds to the printer, but am
getting parts of a page AND some blank pages on my printout.
ANSWER: Make sure that your text does not have some long lines that are
being wrapped by the printer. If your printer wraps at 80 characters on a
line, make sure that your file does not have lines longer than 80 characters.
CONFIGURATION
──────────────────────────────────────────────────────────────────────────────
QUESTION: I make some changes to The SemWare Junior using QConfig.exe
and they do not take effect.
ANSWER: Make sure that you are using the copy of the editor that you
just configured. If you are not in the current directory where your newly
configured copy of the editor is, then check your path to see if you are
getting a different copy. Be sure to look for batch files as well as EXEs
and COMs that share the same primary name; that is, look for Q.exe, Q.com,
Q.bat along your path.
THE SEMWARE EDITOR JUNIOR COMMANDS
──────────────────────────────────────────────────────────────────────────────
QUESTION: When I use the CenterLine command, my text is not centered on the
screen.
ANSWER: The centerline command uses column 1 and the right margin that you
have set as the basis for centering text. If you want the text centered on the
screen, assuming that your screen is 80 columns wide, you can set your right
margin to 80 and then issue the centerline command. If you do not want to
change your right margin, you can use column block marking to mark your left
and right hand margins, then issue the centerline command.
QUESTION: How do I get the Sort command to work?
ANSWER: In order to use the Sort command, you must be in a single,
non-zoomed window. You must use the MarkColumn command to mark the range of
lines to sort, and the width of the field to sort on as the key. If you use
any other type of blocking, the sort command will not work.
THE SEMWARE EDITOR JUNIOR COMMAND-LINE OPTIONS
──────────────────────────────────────────────────────────────────────────────
QUESTION: How can I run a macro on start-up?
ANSWER: The "-Emacroname" or "/Emacroname" command line switch, will
execute the first macro in macroname. Be sure to specify a path to macroname
if it is not in the current directory. E.G. Q ABC -Ec:\path\mymacro.mac will
load file ABC and execute the first macro in c:\path\mymacro.mac. Please note
that this switch does not load macroname. If you also want to load macroname,
then use the -L or /L option described in this section.
QUESTION: How can I pre-load a macro set?
ANSWER: The "-Lmacroname" or "/Lmacroname" command line switch, will load
macroname. Be sure to specify a path to macroname if it is not in the current
directory. E.G. Q ABC -Lc:\path\mymacro.mac will load file ABC and load the
macrofile c:\path\mymacro.mac.
QUESTION: I used to be able to load a file and then go to a certain line
number, but now it does not work.
ANSWER: In versions of TSE Jr. prior to version 2.1, going to a specified
line on startup was a configuration program option. This has been replaced
with a command line switch of the format -nLINE or /nLINE; that is, to load
file ABC and immediately go to line 35, type: Q ABC -n35
QUESTION: How can I toggle the 28-line mode ON/OFF in the editor?
ANSWER: In the editor, you can turn the 28-lines-per-screen mode on by
using the SetVGA28 command. To toggle 28-line mode ON/OFF, you need to use
the ToggleVGA28 command.
You may wish to assign these commands to keys in your QCONFIG.DAT file
to have them available all of the time:
F10 ToggleVGA28
^F10 SetVGA28
QUESTION: How can I have the editor come up in 28/43/50-line mode?
ANSWER: Set the appropriate option via the QCONFIG program. See the
Colors/Screen section.
QUESTION: How do I use an editor command that is not tied to a key?
ANSWER: If you would like to have the command available at all times, just
assign the command to a key in your keyboard definition file. Once you have
modified your keyboard file, be sure to run the QConfig.exe program. Select
the Keys option, supply the name of your Keyboard file, then save your changes
and quit the program.
You may use all the editor commands when creating macros.
QUESTION: I can have the editor change and use display lines other than 25
lines, but I would also like to use the editor with more than 80 columns
being shown on the screen. Is this possible?
ANSWER: Although there is not a command in the editor that can be issued
to change the video adapter to use a different number of columns on the
screen (due to there not being a "standard call" that will work on all video
adapters), there is a very good chance that the editor will be able to
recognize and use wider display modes (see note below) if your video adapter
includes a utility to allow setting different display modes. You can either
change the video display into the desired mode before starting the editor;
or, if the editor is already active, you can shell out, change the mode, and
return to the editor and begin using the new mode.
*Please note*
Video display adapters "work" in two different "modes". One is "text mode",
and the other is "graphic mode". The editor will only recognize and use
"text" mode (mode 3 or 7). If the current "mode" for the video display is a
"graphic mode" (a video mode other than 3 or 7), or if the editor "thinks"
it is a "graphic mode", the editor will not be able to use it. Consult your
video adapter documentation for details on how you can make use of these
additional modes.
132-column "text mode" with varying number of lines (depending on the video
adapter) are fairly common with many EGA and VGA adapters. If you set this
132-column mode with your video adapter's utility, there is a very good
chance that the editor will be able to use it.
UltraVision (by Personics Corporation) is a video display adapter utility
that allows many different display widths (80, 94, 108, 120, and 132
depending on the adapter) and heights (25, 36, 43, 50, 60, and 63 depending
on the adapter) that works well with The SemWare Editor Junior.