%++++++++ % Copyright: (C) 2008-2017 UDS/CNRS % License: GNU General Public License %.IDENTIFICATION aclient.tex %.PURPOSE Definition of macros related to Man Pages %.AUTHOR Francois Ochsenbein %.VERSION 1.0 26-Aug-1992 %---------- %============================================================= \begin{manpage}{1}{aclient} {A standard Client} {05-March-2010} {client} ef\pgm{{{\bf aclient}\ }} ef\aserver{{{\bf aserver}}} \syntax { \pgm [{\bf --\%}] [{\bf --b} {\em blocksize}] [{\bf --bsk} {\em socket\_size}] [{\bf --p} {\em prompt}] {\m host} {\m service} [{\bf --U}{\em name}] [{\bf --P}{\em password}] [{\m command}$
  } \mansec{Description} \pgm is a client application of the {\bf sk}(3) functions. It transmits {\m commands} to \aserver(1) running the specified {\m service} on the specified {\m host}, and receives the result. \mansec{Options} \option {--\% } asks to encode the shell-specific characters {\bf < > \& ? * [ ] ( ) ;} {\em(see also the {\bf Escaping conventions} below)} \option {--b {\em blocksize}} defines the size of logical blocks read from the standard input and transferred to the server. The default is {\bf 4k}. \option {--bsk {\em socket\_size}} defines the physical size of socket blocks used in data transmission. The default can be specified via the {t SK\_bsk} environment variable; if {t SK\_bsk} is not defined, the default depends on the socket standards, generally 4K. \option {--p {\em prompt}} defines the prompt to be displayed in case of interactive mode. The default is  {t {\m host}/{\m service}}. \option {{\em host}} designates the name of the host where the specified {\m service} is available. \option {{\em service}} designates the service, either as a name appearing in the {t /etc/services}(5) file, or as a number in the 1024--2047 range. The same {\m service} must be used by \aserver. \option{--U{\em name}} specifies a name that can be recognized by the Server (see {\bf sk}(3), {\em authorisation file}). \option{--P{\em password}} specifies the password associated to the {\bf --U} name (see {\bf sk}(3), {\em authorisation file}). \option{{\em command}} specifies what has to be executed by {\m service} at {\m host}; a semi-colon ({\bf;}) may be used as a separate argument to delimit commands. When no {\m command} is given as arguments, \pgm waits for commands in the {\em standard input}. \mansec{ Sending or Capturing the Data } Data are normally transferred via the {\m standard} input and output. A first solution therefore consists in specifying the command for data transfer as {\m options}, e.g. \pgm {\tt {\em host} {\em service\_file} Write /tmp/copy < myinput} There are redirection possibilities but unlike {\bf sh}(1) these redirections must be specified {\m before} the command. The example above could be executed as: \begin{raggedright} \pgm {\tt {\em host} {\em service\_file} }\\ {t{\m host}/{\m service\_file}$>$} {\tt <myinput Write /tmp/copy}\\ {t{\m host}/{\m service\_file}$>$} \dots \nd{raggedright} Note that file names may be replaced by pipes for names starting with the $|$ character; if blanks are embedded, the command have to be quoted. For instance, to write the list of files to a foreign file: \begin{raggedright} \pgm {\tt {\em host} {\em service\_file} }\\ {t{\m host}/{\m service\_file}$>$}{\tt <"|ls -l" Write /tmp/copy}\\ {t{\m host}/{\m service\_file}$>$} \dots \nd{raggedright} \mansec{Escaping conventions} Since {\bf aclient} connects to {\bf aserver} where a shell is executed, a special convention (similar to http queries) is available to {\m escape} special characters and define arguments with special characters to the server parameters with special characters (like blank, asterisks, etc). \mansec{Environment Variables} {t SK\_bsk} is used by \pgm as the default {\bf --bsk} option. \mansec{Examples} \begin{enumerate} \itemQuery a catalog on {\em cocat1}:\\ {t\bf\fg{red4}aclient cocat1 1660 gsc1.2 -c 123.12-78.12 -r 1.5 -sr} \itemCopy a file to cocat1\\ {t\bf\fg{red4}aclient cocat1 1660 save < /etc/passwd} \\ returns the name of the remote file \itemList remote files having a name wich contains an asterisk: \\ \itemFind the star {\bf\fg{blue3} ** STT 82AA'} in the last version of edited simbad:  {t\bf\fg{red4} aclient -\% newviz 1660 sim.arg 0 "** STT 82AA'"} \\ which gives the same result as  {t\bf\fg{red4} aclient newviz 1660 sim.arg 0 "\%{** STT 82AA'}"} \itemRewind the tape {\tt/dev/nrst0} and get its status on the {t foreign} host using the {t rtape}(4) service. \begin{verbatim} aclient foreign rtape setenv TAPE /dev/nrst0 \; mt stat \; mt rew \; mt stat \nd{verbatim} \nd{enumerate} \seealso{ aserver(1) pipe(2) sk(3) services(5) } \nd{manpage}
0
Johanes Gumabo
Data Size   :   18,356 byte
man-aclient.texBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,786
Visitor ID   :     :  
Visitor IP   :   3.145.43.92   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_escape_sequence|91|aclient.tex|11|\begin{manpage}{1}{aclient} {A standard Client} {05-March-2010} |\begin{manpage}{1}{aclient} {A standard Client} {05-March-2010} )         (rof_escape_sequence|91|aclient.tex|13|\pgm{{{\bf aclient}\ }} |\def\pgm{{{\bf aclient}\ }} )         (rof_escape_sequence|91|aclient.tex|14|\aserver{{{\bf aserver}}} |\def\aserver{{{\bf aserver}}} )         (rof_ps_xd|38|aclient.tex|15|\syntax { \pgm |\syntax { \pgm )         (rof_escape_sequence|91|aclient.tex|16|\bf --\%}] | [{\bf --\%}] )         (rof_escape_sequence|91|aclient.tex|17|\bf --b} {\em blocksize}] | [{\bf --b} {\em blocksize}] )         (rof_escape_sequence|91|aclient.tex|18|\bf --bsk} {\em socket\_size}] | [{\bf --bsk} {\em socket\_size}] )         (rof_escape_sequence|91|aclient.tex|19|\bf --p} {\em prompt}] | [{\bf --p} {\em prompt}] )         (rof_escape_sequence|91|aclient.tex|21|\bf --U}{\em name}] | [{\bf --U}{\em name}] )         (rof_escape_sequence|91|aclient.tex|22|\bf --P}{\em password}] | [{\bf --P}{\em password}] )         (rof_escape_sequence|91|aclient.tex|26|\mansec{Description} |\mansec{Description} )         (rof_escape_sequence|91|aclient.tex|27|\pgm is a client application of the {\bf sk}(3) functions. |\pgm is a client application of the {\bf sk}(3) functions. )         (rof_escape_sequence|91|aclient.tex|28|\aserver(1) running the specified |It transmits {\em commands} to \aserver(1) running the specified )         (rof_escape_sequence|91|aclient.tex|31|\mansec{Options} |\mansec{Options} )         (rof_escape_sequence|91|aclient.tex|33|\bf < > \& ? * [ ] ( ) ;} {\em(see also the {\bf Escaping | {\bf < > \& ? * [ ] ( ) ;} {\em(see also the {\bf Escaping )         (rof_escape_sequence|91|aclient.tex|37|\bf 4k}. | The default is {\bf 4k}. )         (rof_escape_sequence|91|aclient.tex|40|\_bsk} environment | The default can be specified via the {\tt SK\_bsk} environment )         (rof_escape_sequence|91|aclient.tex|41|\_bsk} is not defined, the default | variable; if {\tt SK\_bsk} is not defined, the default )         (rof_escape_sequence|91|aclient.tex|50|\aserver. | 1024--2047 range. The same {\em service} must be used by \aserver. )         (rof_escape_sequence|91|aclient.tex|52|\bf sk}(3), {\em authorisation file}). | by the Server (see {\bf sk}(3), {\em authorisation file}). )         (rof_escape_sequence|91|aclient.tex|54|\bf --U} name (see {\bf sk}(3), {\em authorisation file}). | the {\bf --U} name (see {\bf sk}(3), {\em authorisation file}). )         (rof_escape_sequence|91|aclient.tex|56|\bf;}) may be | {\em service} at {\em host}; a semi-colon ({\bf;}) may be )         (rof_escape_sequence|91|aclient.tex|59|\pgm waits for commands in the {\em standard input}. | as arguments, \pgm waits for commands in the {\em standard input}. )         (rof_escape_sequence|91|aclient.tex|61|\mansec{ Sending or Capturing the Data } |\mansec{ Sending or Capturing the Data } )         (rof_escape_sequence|91|aclient.tex|66|\pgm {\tt {\em host} {\em service\_file} Write /tmp/copy < myinput} | \pgm {\tt {\em host} {\em service\_file} Write /tmp/copy < myinput} )         (rof_escape_sequence|91|aclient.tex|68|\bf sh}(1) | There are redirection possibilities but unlike {\bf sh}(1) )         (rof_escape_sequence|91|aclient.tex|72|\begin{raggedright} | \begin{raggedright} )         (rof_escape_sequence|91|aclient.tex|73|\pgm {\tt {\em host} {\em service\_file} }\\ | \pgm {\tt {\em host} {\em service\_file} }\\ )         (rof_escape_sequence|91|aclient.tex|74|\_file}$>$} {\tt | {\tt{\em host}/{\em service\_file}$>$} {\tt )         (rof_escape_sequence|91|aclient.tex|75|\_file}$>$} \dots | {\tt{\em host}/{\em service\_file}$>$} \dots )         (rof_escape_sequence|91|aclient.tex|82|\begin{raggedright} | \begin{raggedright} )         (rof_escape_sequence|91|aclient.tex|83|\pgm {\tt {\em host} {\em service\_file} }\\ | \pgm {\tt {\em host} {\em service\_file} }\\ )         (rof_escape_sequence|91|aclient.tex|84|\_file}$>$}{\tt <"|ls -l" Write /tmp/copy}\\ | {\tt{\em host}/{\em service\_file}$>$}{\tt <"|ls -l" Write /tmp/copy}\\ )         (rof_escape_sequence|91|aclient.tex|85|\_file}$>$} \dots | {\tt{\em host}/{\em service\_file}$>$} \dots )         (rof_escape_sequence|91|aclient.tex|88|\mansec{Escaping conventions} |\mansec{Escaping conventions} )         (rof_escape_sequence|91|aclient.tex|89|\bf aclient} connects to {\bf aserver} where a shell | Since {\bf aclient} connects to {\bf aserver} where a shell )         (rof_escape_sequence|91|aclient.tex|93|\bf\%══─{─══...══─}─══} to define | program. This convention uses {\bf\%══─{─══...══─}─══} to define )         (htmlprn|149|aclient.tex|93| program. This convention uses {\bf\%══─{─══...══─}─══} to define | program. This convention uses {\bf\%══─{─══...══─}─══} to define )         (rof_escape_sequence|91|aclient.tex|97|\mansec{Environment Variables} |\mansec{Environment Variables} )         (rof_escape_sequence|91|aclient.tex|98|\_bsk} is used by \pgm as the default {\bf --bsk} option. | {\tt SK\_bsk} is used by \pgm as the default {\bf --bsk} option. )         (rof_escape_sequence|91|aclient.tex|100|\mansec{Examples} |\mansec{Examples} )         (rof_escape_sequence|91|aclient.tex|101|\begin{enumerate} |\begin{enumerate} )         (rof_escape_sequence|91|aclient.tex|102|\item Query a catalog on {\em cocat1}:\\ |\item Query a catalog on {\em cocat1}:\\ )         (rof_escape_sequence|91|aclient.tex|103|\bf\fg{red4}aclient cocat1 1660 gsc1.2 -c 123.12-78.12 -r 1.5 -sr} | {\tt\bf\fg{red4}aclient cocat1 1660 gsc1.2 -c 123.12-78.12 -r 1.5 -sr} )         (rof_escape_sequence|91|aclient.tex|104|\item Copy a file to cocat1\\ |\item Copy a file to cocat1\\ )         (rof_escape_sequence|91|aclient.tex|105|\bf\fg{red4}aclient cocat1 1660 save < /etc/passwd} \\ | {\tt\bf\fg{red4}aclient cocat1 1660 save < /etc/passwd} \\ )         (rof_escape_sequence|91|aclient.tex|107|\item List remote files having a name wich contains an asterisk: \\ |\item List remote files having a name wich contains an asterisk: \\ )         (rof_escape_sequence|91|aclient.tex|108|\bf\fg{red4} aclient cocat1 1660 ls *\%══─{─══*══─}─══*} | {\tt\bf\fg{red4} aclient cocat1 1660 ls *\%══─{─══*══─}─══*} )         (htmlprn|149|aclient.tex|108| { t\bf\fg{red4} aclient cocat1 1660 ls *\%══─{─══*══─}─══*} | {\tt\bf\fg{red4} aclient cocat1 1660 ls *\%══─{─══*══─}─══*} )         (rof_escape_sequence|91|aclient.tex|109|\item Find the star {\bf\fg{blue3} ** STT 82AA'} in the last |\item Find the star {\bf\fg{blue3} ** STT 82AA'} in the last )         (rof_escape_sequence|91|aclient.tex|111|\bf\fg{red4} aclient -\% newviz 1660 sim.arg 0 "** STT 82AA'"} \\ | {\tt\bf\fg{red4} aclient -\% newviz 1660 sim.arg 0 "** STT 82AA'"} \\ )         (rof_escape_sequence|91|aclient.tex|113|\bf\fg{red4} aclient newviz 1660 sim.arg 0 "\%{** STT 82AA'}"} | {\tt\bf\fg{red4} aclient newviz 1660 sim.arg 0 "\%{** STT 82AA'}"} )         (rof_escape_sequence|91|aclient.tex|114|\item Rewind the tape {\tt/dev/nrst0} and get its status on the |\item Rewind the tape {\tt/dev/nrst0} and get its status on the )         (rof_escape_sequence|91|aclient.tex|116|\begin{verbatim} |\begin{verbatim} )         (rof_escape_sequence|91|aclient.tex|117|\; mt stat \; mt rew \; mt stat |aclient foreign rtape setenv TAPE /dev/nrst0 \; mt stat \; mt rew \; mt stat )         (rof_ps_xd|38|aclient.tex|121|\seealso{ aserver(1) ══a─══pipe══─⧽─══pipe(2)══─a══ ══a─══sk══─⧽─══sk(3)══─a══ ══a─══services══─⧽─══services(5)══─a══ } |\seealso{ aserver(1) pipe(2) sk(3) services(5) } )