Tags:
tag this topic
create new tag
view all tags
---+ APPX/Linux Client <p align="left">Here's how to set up an APPX/Linux Client (character-based, and as opposed to a Windows or Java Client) to run against an NT APPX/Server, and how to map its keymap:</p> 1) Set up four environment variables under Linux: <small></small> <small></small> <small><span style="font-family: 'Courier New';">APPX_USER=UserID<br />APPX_PSWD=password<br />APPX_HOST=ip-address or name<br />APPX_PORT=port# </span></small> 2) Copy the 0SA/keymap files from NT to Linux. Run 'appx -k' under Linux to set up the desired keymap. Copy them back to NT. <strong><span style="text-decoration: underline;">Important Note:</span> </strong>The keymap name that you define must be all UPPER CASE. 3) Run 'appx -c'. It should use the just-entered keymap, plus the four environment variables (in lieu of the interactive dialog box), to log into APPX/NT as a client. --- Following is a script Bruce Johnston (thanks, Bruce!) posted to APPX-List for coding this so that you didn't have to hard-code his !UserID/Passwords, and another problem he ran into you may want to keep an eye out for: The .profile in each /home/userid contains the following: <blockquote> <pre>cd /root/appx ./appx.sh exit</pre> </blockquote> /root/appx/appx.sh contains: <blockquote> <pre>echo -n "APPX UID : " ; read A_UID stty -echo echo -n "APPX PWD : " ; read A_PWD stty echo export APPX_HOST=1.2.3.4 export APPX_PORT=8061 export APPX_USER=$A_UID export APPX_PSWD=$A_PWD ./appx -c</pre> </blockquote> What is nice in this situation is that I only need one generic user id on the Linux box. Everything in the directories is read and execute only. Note that I use a different port number. Very important 'cause I set up another !WinAppxD using that port which actually runs a batch file to set the APPX_KEYMAP for everyone coming through that port. I did have to rewrite a bunch of screens and some of my own SCAN routines to compensate for the smaller screen. --- _Possible problem with APPX_UID:_ It is correctly picking up env vars; APPX_USER, APPX_PSWD, APPX_HOST, APPX_PORT and APPX_DATA_SERVER. Instead of accepting APPX_UID however, it is grabbing the userid logged into the LINUX console. ---++ Comments: _Read what other users have said about this page or add your own comments._ --- <br />%COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2012-03-10
-
ChrisBrower
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback