Changeset 2592441 in rtems-docs


Ignore:
Timestamp:
Oct 28, 2016, 5:56:11 PM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.11, master
Children:
23a5ce4
Parents:
53d00e6
Message:

shell: Fix code-block warnings.

Location:
shell
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • shell/file_and_directory.rst

    r53d00e6 r2592441  
    8282**SYNOPSYS:**
    8383
    84 .. code:: shell
     84.. code-block:: shell
    8585
    8686    blksync driver
     
    104104The following is an example of how to use ``blksync``:
    105105
    106 .. code:: c
     106.. code-block:: c
    107107
    108108    blksync /dev/hda1
     
    128128which has the following prototype:
    129129
    130 .. code:: c
     130.. code-block:: c
    131131
    132132    int rtems_shell_rtems_main_blksync(
     
    137137The configuration structure for the ``blksync`` has the following prototype:
    138138
    139 .. code:: c
     139.. code-block:: c
    140140
    141141    extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
     
    149149**SYNOPSYS:**
    150150
    151 .. code:: shell
     151.. code-block:: shell
    152152
    153153    cat file1 [file2 .. fileN]
     
    169169The following is an example of how to use ``cat``:
    170170
    171 .. code:: shell
     171.. code-block:: shell
    172172
    173173    SHLL [/] # cat /etc/passwd
     
    196196prototype:
    197197
    198 .. code:: c
     198.. code-block:: c
    199199
    200200    int rtems_shell_rtems_main_cat(
     
    205205The configuration structure for the ``cat`` has the following prototype:
    206206
    207 .. code:: c
     207.. code-block:: c
    208208
    209209    extern rtems_shell_cmd_t rtems_shell_CAT_Command;
     
    217217**SYNOPSYS:**
    218218
    219 .. code:: shell
     219.. code-block:: shell
    220220
    221221    cd directory
     
    238238The following is an example of how to use ``cd``:
    239239
    240 .. code:: shell
     240.. code-block:: shell
    241241
    242242    SHLL [/] $ cd etc
     
    272272prototype:
    273273
    274 .. code:: c
     274.. code-block:: c
    275275
    276276    int rtems_shell_rtems_main_cd(
     
    281281The configuration structure for the ``cd`` has the following prototype:
    282282
    283 .. code:: c
     283.. code-block:: c
    284284
    285285    extern rtems_shell_cmd_t rtems_shell_CD_Command;
     
    293293**SYNOPSYS:**
    294294
    295 .. code:: shell
     295.. code-block:: shell
    296296
    297297    chdir [dir]
     
    315315The following is an example of how to use ``chdir``:
    316316
    317 .. code:: shell
     317.. code-block:: shell
    318318
    319319    SHLL [/] $ pwd
     
    343343prototype:
    344344
    345 .. code:: c
     345.. code-block:: c
    346346
    347347    int rtems_shell_rtems_main_chdir(
     
    352352The configuration structure for the ``chdir`` has the following prototype:
    353353
    354 .. code:: c
     354.. code-block:: c
    355355
    356356    extern rtems_shell_cmd_t rtems_shell_CHDIR_Command;
     
    364364**SYNOPSYS:**
    365365
    366 .. code:: shell
     366.. code-block:: shell
    367367
    368368    chmod permissions file1 [file2...]
     
    387387The following is an example of how to use ``chmod``:
    388388
    389 .. code:: shell
     389.. code-block:: shell
    390390
    391391    SHLL [/] # cd etc
     
    438438prototype:
    439439
    440 .. code:: c
     440.. code-block:: c
    441441
    442442    int rtems_shell_rtems_main_chmod(
     
    447447The configuration structure for the ``chmod`` has the following prototype:
    448448
    449 .. code:: c
     449.. code-block:: c
    450450
    451451    extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
     
    459459**SYNOPSYS:**
    460460
    461 .. code:: shell
     461.. code-block:: shell
    462462
    463463    chroot [dir]
     
    482482the environment for subsequent command invocations:
    483483
    484 .. code:: c
     484.. code-block:: shell
    485485
    486486    SHLL [/] $ cat passwd
     
    515515prototype:
    516516
    517 .. code:: c
     517.. code-block:: c
    518518
    519519    int rtems_shell_rtems_main_chroot(
     
    524524The configuration structure for the ``chroot`` has the following prototype:
    525525
    526 .. code:: c
     526.. code-block:: c
    527527
    528528    extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
     
    536536**SYNOPSYS:**
    537537
    538 .. code:: shell
     538.. code-block:: shell
    539539
    540540    cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target
     
    635635in the current directory:
    636636
    637 .. code:: shell
     637.. code-block:: shell
    638638
    639639    SHLL [/] # cat joel
     
    654654use the same ``basename`` in the destination directory:
    655655
    656 .. code:: shell
     656.. code-block:: shell
    657657
    658658    SHLL [/] # mkdir tmp
     
    689689has the following prototype:
    690690
    691 .. code:: c
     691.. code-block:: c
    692692
    693693    int rtems_shell_main_cp(
     
    698698The configuration structure for the ``cp`` has the following prototype:
    699699
    700 .. code:: c
     700.. code-block:: c
    701701
    702702    extern rtems_shell_cmd_t rtems_shell_CP_Command;
     
    715715**SYNOPSYS:**
    716716
    717 .. code:: shell
     717.. code-block:: shell
    718718
    719719    dd [operands ...]
     
    923923The following is an example of how to use ``dd``:
    924924
    925 .. code:: shell
     925.. code-block:: shell
    926926
    927927    SHLL [/] $ dd if=/nfs/boot-image of=/dev/hda1
     
    947947following prototype:
    948948
    949 .. code:: c
     949.. code-block:: c
    950950
    951951    int rtems_shell_rtems_main_dd(
     
    956956The configuration structure for the ``dd`` has the following prototype:
    957957
    958 .. code:: c
     958.. code-block:: c
    959959
    960960    extern rtems_shell_cmd_t rtems_shell_DD_Command;
     
    968968**SYNOPSYS:**
    969969
    970 .. code:: shell
     970.. code-block:: shell
    971971
    972972    debugrfs [-hl] path command [options]
     
    10271027The following is an example of how to use ``debugrfs``:
    10281028
    1029 .. code:: shell
     1029.. code-block:: shell
    10301030
    10311031    SHLL [/] $ debugrfs /c data
     
    10511051has the following prototype:
    10521052
    1053 .. code:: c
     1053.. code-block:: c
    10541054
    10551055    int rtems_shell_rtems_main_debugrfs(
     
    10601060The configuration structure for ``debugrfs`` has the following prototype:
    10611061
    1062 .. code:: c
     1062.. code-block:: c
    10631063
    10641064    extern rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command;
     
    10721072**SYNOPSYS:**
    10731073
    1074 .. code:: shell
     1074.. code-block:: shell
    10751075
    10761076    df [-h] [-B block_size]
     
    10921092The following is an example of how to use ``df``:
    10931093
    1094 .. code:: c
     1094.. code-block:: shell
    10951095
    10961096    SHLL [/] $ df -B 4K
     
    11231123prototype:
    11241124
    1125 .. code:: c
     1125.. code-block:: c
    11261126
    11271127    int rtems_shell_main_df(
     
    11321132The configuration structure for the ``df`` has the following prototype:
    11331133
    1134 .. code:: c
     1134.. code-block:: c
    11351135
    11361136    extern rtems_shell_cmd_t rtems_shell_DF_Command;
     
    11441144**SYNOPSYS:**
    11451145
    1146 .. code:: shell
     1146.. code-block:: shell
    11471147
    11481148    dir [dir]
     
    11651165The following is an example of how to use ``dir``:
    11661166
    1167 .. code:: shell
     1167.. code-block:: shell
    11681168
    11691169    SHLL [/] $ dir
     
    11981198which has the following prototype:
    11991199
    1200 .. code:: c
     1200.. code-block:: c
    12011201
    12021202    int rtems_shell_rtems_main_dir(
     
    12071207The configuration structure for the ``dir`` has the following prototype:
    12081208
    1209 .. code:: c
     1209.. code-block:: c
    12101210
    12111211    extern rtems_shell_cmd_t rtems_shell_DIR_Command;
     
    12191219**SYNOPSYS:**
    12201220
    1221 .. code:: shell
     1221.. code-block:: shell
    12221222
    12231223    fdisk
     
    12441244**SYNOPSYS:**
    12451245
    1246 .. code:: shell
     1246.. code-block:: shell
    12471247
    12481248    hexdump [-bcCdovx] [-e format_string] [-f format_file] [-n length] [-s skip] file ...
     
    14561456The following is an example of how to use ``hexdump``:
    14571457
    1458 .. code:: shell
     1458.. code-block:: shell
    14591459
    14601460    SHLL [/] $ hexdump -C -n 512 /dev/hda1
     
    14801480following prototype:
    14811481
    1482 .. code:: c
     1482.. code-block:: c
    14831483
    14841484    int rtems_shell_rtems_main_hexdump(
     
    14891489The configuration structure for the ``hexdump`` has the following prototype:
    14901490
    1491 .. code:: c
     1491.. code-block:: c
    14921492
    14931493    extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command;
     
    15011501**SYNOPSYS:**
    15021502
    1503 .. code:: c
     1503.. code-block:: c
    15041504
    15051505    ln [-fhinsv] source_file [target_file]
     
    15721572**EXAMPLES:**
    15731573
    1574 .. code:: shell
     1574.. code-block:: shell
    15751575
    15761576    SHLL [/] ln -s /dev/console /dev/con1
     
    15951595following prototype:
    15961596
    1597 .. code:: c
     1597.. code-block:: c
    15981598
    15991599    int rtems_shell_rtems_main_ln(
     
    16041604The configuration structure for the ``ln`` has the following prototype:
    16051605
    1606 .. code:: c
     1606.. code-block:: c
    16071607
    16081608    extern rtems_shell_cmd_t rtems_shell_LN_Command;
     
    16211621**SYNOPSYS:**
    16221622
    1623 .. code:: shell
     1623.. code-block:: shell
    16241624
    16251625    ls [dir]
     
    16431643The following is an example of how to use ``ls``:
    16441644
    1645 .. code:: shell
     1645.. code-block:: shell
    16461646
    16471647    SHLL [/] $ ls
     
    16781678prototype:
    16791679
    1680 .. code:: c
     1680.. code-block:: c
    16811681
    16821682    int rtems_shell_rtems_main_ls(
     
    16871687The configuration structure for the ``ls`` has the following prototype:
    16881688
    1689 .. code:: c
     1689.. code-block:: c
    16901690
    16911691    extern rtems_shell_cmd_t rtems_shell_LS_Command;
     
    16991699**SYNOPSYS:**
    17001700
    1701 .. code:: shell
     1701.. code-block:: shell
    17021702
    17031703    md5 <files>
     
    17201720The following is an example of how to use ``md5``:
    17211721
    1722 .. code:: shell
     1722.. code-block:: shell
    17231723
    17241724    SHLL [/] $ md5 shell-init
     
    17451745prototype:
    17461746
    1747 .. code:: c
     1747.. code-block:: c
    17481748
    17491749    int rtems_shell_main_md5(
     
    17541754The configuration structure for the ``md5`` has the following prototype:
    17551755
    1756 .. code:: c
     1756.. code-block:: c
    17571757
    17581758    extern rtems_shell_cmd_t rtems_shell_MD5_Command;
     
    17661766**SYNOPSYS:**
    17671767
    1768 .. code:: c
     1768.. code-block:: c
    17691769
    17701770    mkdir  dir [dir1 .. dirN]
     
    17931793The following is an example of how to use ``mkdir``:
    17941794
    1795 .. code:: shell
     1795.. code-block:: shell
    17961796
    17971797    SHLL [/] # ls
     
    18271827prototype:
    18281828
    1829 .. code:: c
     1829.. code-block:: c
    18301830
    18311831    int rtems_shell_rtems_main_mkdir(
     
    18361836The configuration structure for the ``mkdir`` has the following prototype:
    18371837
    1838 .. code:: c
     1838.. code-block:: c
    18391839
    18401840    extern rtems_shell_cmd_t rtems_shell_MKDIR_Command;
     
    18481848**SYNOPSYS:**
    18491849
    1850 .. code:: shell
     1850.. code-block:: shell
    18511851
    18521852    mkdos [-V label] [-s sectors/cluster] [-r size] [-v] path
     
    18801880The following is an example of how to use ``mkdos``:
    18811881
    1882 .. code:: shell
     1882.. code-block:: shell
    18831883
    18841884    SHLL [/] $ mkdos /dev/rda1
     
    19041904prototype:
    19051905
    1906 .. code:: c
     1906.. code-block:: c
    19071907
    19081908    int rtems_shell_rtems_main_mkdos(
     
    19131913The configuration structure for the ``mkdos`` has the following prototype:
    19141914
    1915 .. code:: c
     1915.. code-block:: c
    19161916
    19171917    extern rtems_shell_cmd_t rtems_shell_MKDOS_Command;
     
    19251925**SYNOPSYS:**
    19261926
    1927 .. code:: shell
     1927.. code-block:: shell
    19281928
    19291929    mknod [-rR] [-F fmt] [-g gid] [-m mode] [-u uid] name [c | b] [driver | major] minor
     
    20052005**EXAMPLES:**
    20062006
    2007 .. code:: shell
     2007.. code-block:: shell
    20082008
    20092009    SHLL [/] mknod c 3 0 /dev/ttyS10
     
    20292029following prototype:
    20302030
    2031 .. code:: c
     2031.. code-block:: c
    20322032
    20332033    int rtems_shell_rtems_main_mknod(
     
    20382038The configuration structure for the ``mknod`` has the following prototype:
    20392039
    2040 .. code:: c
     2040.. code-block:: c
    20412041
    20422042    extern rtems_shell_cmd_t rtems_shell_MKNOD_Command;
     
    20552055**SYNOPSYS:**
    20562056
    2057 .. code:: shell
     2057.. code-block:: shell
    20582058
    20592059    mkrfs [-vsbiIo] device
     
    21082108The following is an example of how to use ``mkrfs``:
    21092109
    2110 .. code:: shell
     2110.. code-block:: shell
    21112111
    21122112    SHLL [/] $ mkrfs /dev/fdda
     
    21322132following prototype:
    21332133
    2134 .. code:: c
     2134.. code-block:: c
    21352135
    21362136    int rtems_shell_rtems_main_mkrfs(
     
    21412141The configuration structure for ``mkrfs`` has the following prototype:
    21422142
    2143 .. code:: c
     2143.. code-block:: c
    21442144
    21452145    extern rtems_shell_cmd_t rtems_shell_MKRFS_Command;
     
    21532153**SYNOPSYS:**
    21542154
    2155 .. code:: shell
     2155.. code-block:: shell
    21562156
    21572157    mount [-t fstype] [-r] [-L] device path
     
    21942194Mount the Flash Disk driver to the '/fd' mount point:
    21952195
    2196 .. code:: shell
     2196.. code-block:: shell
    21972197
    21982198    SHLL [/] $ mount -t msdos /dev/flashdisk0 /fd
     
    22002200Mount the NFS file system exported path 'bar' by host 'foo':
    22012201
    2202 .. code:: shell
     2202.. code-block:: shell
    22032203
    22042204    $ mount -t nfs foo:/bar /nfs
     
    22062206Mount the TFTP file system on '/tftp':
    22072207
    2208 .. code:: shell
     2208.. code-block:: shell
    22092209
    22102210    $ mount -t tftp /tftp
    22112211
    22122212To access the TFTP files on server '10.10.10.10':
    2213 .. code:: shell
     2213.. code-block:: shell
    22142214
    22152215    $ cat /tftp/10.10.10.10/test.txt
     
    22442244An example configuration is:
    22452245
    2246 .. code:: c
     2246.. code-block:: c
    22472247
    22482248    #define CONFIGURE_SHELL_MOUNT_MSDOS
     
    22612261prototype:
    22622262
    2263 .. code:: c
     2263.. code-block:: c
    22642264
    22652265    int rtems_shell_rtems_main_mount(
     
    22702270The configuration structure for the ``mount`` has the following prototype:
    22712271
    2272 .. code:: c
     2272.. code-block:: c
    22732273
    22742274    extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
     
    22822282**SYNOPSYS:**
    22832283
    2284 .. code:: shell
     2284.. code-block:: shell
    22852285
    22862286    mv [-fiv] source_file target_file
     
    23272327destination, and then remove the source.  The effect is roughly equivalent to:
    23282328
    2329 .. code:: shell
     2329.. code-block:: shell
    23302330
    23312331    rm -f destination_path && \
     
    23432343**EXAMPLES:**
    23442344
    2345 .. code:: shell
     2345.. code-block:: shell
    23462346
    23472347    SHLL [/] mv /dev/console /dev/con1
     
    23662366following prototype:
    23672367
    2368 .. code:: c
     2368.. code-block:: c
    23692369
    23702370    int rtems_shell_main_mv(
     
    23752375The configuration structure for the ``mv`` has the following prototype:
    23762376
    2377 .. code:: c
     2377.. code-block:: c
    23782378
    23792379    extern rtems_shell_cmd_t rtems_shell_MV_Command;
     
    23922392**SYNOPSYS:**
    23932393
    2394 .. code:: shell
     2394.. code-block:: shell
    23952395
    23962396    pwd
     
    24132413The following is an example of how to use ``pwd``:
    24142414
    2415 .. code:: shell
     2415.. code-block:: shell
    24162416
    24172417    SHLL [/] $ pwd
     
    24412441prototype:
    24422442
    2443 .. code:: c
     2443.. code-block:: c
    24442444
    24452445    int rtems_shell_rtems_main_pwd(
     
    24502450The configuration structure for the ``pwd`` has the following prototype:
    24512451
    2452 .. code:: c
     2452.. code-block:: c
    24532453
    24542454    extern rtems_shell_cmd_t rtems_shell_PWD_Command;
     
    24622462**SYNOPSYS:**
    24632463
    2464 .. code:: shell
     2464.. code-block:: shell
    24652465
    24662466    rmdir  [dir1 .. dirN]
     
    24842484The following is an example of how to use ``rmdir``:
    24852485
    2486 .. code:: shell
     2486.. code-block:: shell
    24872487
    24882488    SHLL [/] # mkdir joeldir
     
    25112511prototype:
    25122512
    2513 .. code:: c
     2513.. code-block:: c
    25142514
    25152515    int rtems_shell_rtems_main_rmdir(
     
    25202520The configuration structure for the ``rmdir`` has the following prototype:
    25212521
    2522 .. code:: c
     2522.. code-block:: c
    25232523
    25242524    extern rtems_shell_cmd_t rtems_shell_RMDIR_Command;
     
    25322532**SYNOPSYS:**
    25332533
    2534 .. code:: shell
     2534.. code-block:: shell
    25352535
    25362536    rm file1 [file2 ... fileN]
     
    25592559The following is an example of how to use ``rm``:
    25602560
    2561 .. code:: c
     2561.. code-block:: shell
    25622562
    25632563    SHLL [/] # cp /etc/passwd tmpfile
     
    25892589prototype:
    25902590
    2591 .. code:: c
     2591.. code-block:: c
    25922592
    25932593    int rtems_shell_main_rm(
     
    25982598The configuration structure for the ``rm`` has the
    25992599following prototype:
    2600 .. code:: c
     2600.. code-block:: c
    26012601
    26022602    extern rtems_shell_cmd_t rtems_shell_RM_Command;
     
    26102610**SYNOPSYS:**
    26112611
    2612 .. code:: shell
     2612.. code-block:: shell
    26132613
    26142614    umask [new_umask]
     
    26312631The following is an example of how to use ``umask``:
    26322632
    2633 .. code:: shell
     2633.. code-block:: shell
    26342634
    26352635    SHLL [/] $ umask
     
    26602660prototype:
    26612661
    2662 .. code:: c
     2662.. code-block:: c
    26632663
    26642664    int rtems_shell_rtems_main_umask(
     
    26692669The configuration structure for the ``umask`` has the following prototype:
    26702670
    2671 .. code:: c
     2671.. code-block:: c
    26722672
    26732673    extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
     
    26812681**SYNOPSYS:**
    26822682
    2683 .. code:: shell
     2683.. code-block:: shell
    26842684
    26852685    unmount path
     
    27012701The following is an example of how to use ``unmount``:
    27022702
    2703 .. code:: shell
     2703.. code-block:: shell
    27042704
    27052705    EXAMPLE_TBD
     
    27252725prototype:
    27262726
    2727 .. code:: c
     2727.. code-block:: c
    27282728
    27292729    int rtems_shell_rtems_main_unmount(
     
    27342734The configuration structure for the ``unmount`` has the following prototype:
    27352735
    2736 .. code:: c
     2736.. code-block:: c
    27372737
    27382738    extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
  • shell/general_commands.rst

    r53d00e6 r2592441  
    6464**SYNOPSYS:**
    6565
    66 .. code:: shell
     66.. code-block:: shell
    6767
    6868    help misc
     
    8888The following is an example of how to use ``alias``:
    8989
    90 .. code:: shell
     90.. code-block:: shell
    9191
    9292    SHLL [/] $ help
     
    143143**SYNOPSYS:**
    144144
    145 .. code:: shell
     145.. code-block:: shell
    146146
    147147    alias oldCommand newCommand
     
    163163The following is an example of how to use ``alias``:
    164164
    165 .. code:: shell
     165.. code-block:: shell
    166166
    167167    SHLL [/] $ me
     
    193193prototype:
    194194
    195 .. code:: c
     195.. code-block:: c
    196196
    197197    int rtems_shell_rtems_main_alias(
     
    202202The configuration structure for the ``alias`` has the following prototype:
    203203
    204 .. code:: c
     204.. code-block:: c
    205205
    206206    extern rtems_shell_cmd_t rtems_shell_ALIAS_Command;
     
    214214**SYNOPSYS:**
    215215
    216 .. code:: shell
     216.. code-block:: shell
    217217
    218218    cmdls COMMAND...
     
    234234The following is an example of how to use ``cmdls``:
    235235
    236 .. code:: shell
     236.. code-block:: shell
    237237
    238238    SHLL [/] # cmdls help shutdown
     
    257257The configuration structure for the ``cmdls`` has the following prototype:
    258258
    259 .. code:: c
     259.. code-block:: c
    260260
    261261    extern rtems_shell_cmd_t rtems_shell_CMDLS_Command;
     
    269269**SYNOPSYS:**
    270270
    271 .. code:: shell
     271.. code-block:: shell
    272272
    273273    cmdchown [OWNER][:[GROUP]] COMMAND...
     
    290290The following is an example of how to use ``cmdchown``:
    291291
    292 .. code:: shell
     292.. code-block:: shell
    293293
    294294    [/] # cmdls help
     
    315315The configuration structure for the ``cmdchown`` has the following prototype:
    316316
    317 .. code:: c
     317.. code-block:: c
    318318
    319319    extern rtems_shell_cmd_t rtems_shell_CMDCHOWN_Command;
     
    327327**SYNOPSYS:**
    328328
    329 .. code:: shell
     329.. code-block:: shell
    330330
    331331    cmdchmod OCTAL-MODE COMMAND...
     
    348348The following is an example of how to use ``cmdchmod``:
    349349
    350 .. code:: shell
     350.. code-block:: shell
    351351
    352352    [/] # cmdls help
     
    373373The configuration structure for the ``cmdchmod`` has the following prototype:
    374374
    375 .. code:: c
     375.. code-block:: c
    376376
    377377    extern rtems_shell_cmd_t rtems_shell_CMDCHMOD_Command;
     
    385385**SYNOPSYS:**
    386386
    387 .. code:: shell
     387.. code-block:: shell
    388388
    389389    date
     
    411411The following is an example of how to use ``date``:
    412412
    413 .. code:: shell
     413.. code-block:: shell
    414414
    415415    SHLL [/] $ date
     
    439439prototype:
    440440
    441 .. code:: c
     441.. code-block:: c
    442442
    443443    int rtems_shell_rtems_main_date(
     
    448448The configuration structure for the ``date`` has the following prototype:
    449449
    450 .. code:: c
     450.. code-block:: c
    451451
    452452    extern rtems_shell_cmd_t rtems_shell_DATE_Command;
     
    460460**SYNOPSYS:**
    461461
    462 .. code:: shell
     462.. code-block:: shell
    463463
    464464    echo [-n | -e] args ...
     
    522522The following is an example of how to use ``echo``:
    523523
    524 .. code:: shell
     524.. code-block:: shell
    525525
    526526    SHLL [/] $ echo a b c
     
    548548prototype:
    549549
    550 .. code:: c
     550.. code-block:: c
    551551
    552552    int rtems_shell_rtems_main_echo(
     
    557557The configuration structure for the ``echo`` has the following prototype:
    558558
    559 .. code:: c
     559.. code-block:: c
    560560
    561561    extern rtems_shell_cmd_t rtems_shell_ECHO_Command;
     
    574574**SYNOPSYS:**
    575575
    576 .. code:: shell
     576.. code-block:: shell
    577577
    578578    sleep seconds
     
    600600The following is an example of how to use ``sleep``:
    601601
    602 .. code:: shell
     602.. code-block:: shell
    603603
    604604    SHLL [/] $ sleep 10
     
    630630prototype:
    631631
    632 .. code:: c
     632.. code-block:: c
    633633
    634634    int rtems_shell_rtems_main_sleep(
     
    639639The configuration structure for the ``sleep`` has the following prototype:
    640640
    641 .. code:: c
     641.. code-block:: c
    642642
    643643    extern rtems_shell_cmd_t rtems_shell_SLEEP_Command;
     
    651651**SYNOPSYS:**
    652652
    653 .. code:: shell
     653.. code-block:: shell
    654654
    655655    id
     
    675675in as the normal user ``rtems``:
    676676
    677 .. code:: shell
     677.. code-block:: shell
    678678
    679679    SHLL [/] # id
     
    683683``root`` user:
    684684
    685 .. code:: shell
     685.. code-block:: shell
    686686
    687687    SHLL [/] # id
     
    707707prototype:
    708708
    709 .. code:: c
     709.. code-block:: c
    710710
    711711    int rtems_shell_rtems_main_id(
     
    716716The configuration structure for the ``id`` has the following prototype:
    717717
    718 .. code:: c
     718.. code-block:: c
    719719
    720720    extern rtems_shell_cmd_t rtems_shell_ID_Command;
     
    728728**SYNOPSYS:**
    729729
    730 .. code:: shell
     730.. code-block:: shell
    731731
    732732    tty
     
    748748The following is an example of how to use ``tty``:
    749749
    750 .. code:: shell
     750.. code-block:: shell
    751751
    752752    SHLL [/] $ tty
     
    773773prototype:
    774774
    775 .. code:: c
     775.. code-block:: c
    776776
    777777    int rtems_shell_rtems_main_tty(
     
    782782The configuration structure for the ``tty`` has the following prototype:
    783783
    784 .. code:: c
     784.. code-block:: c
    785785
    786786    extern rtems_shell_cmd_t rtems_shell_TTY_Command;
     
    794794**SYNOPSYS:**
    795795
    796 .. code:: shell
     796.. code-block:: shell
    797797
    798798    whoami
     
    815815The following is an example of how to use ``whoami``:
    816816
    817 .. code:: shell
     817.. code-block:: shell
    818818
    819819    SHLL [/] $ whoami
     
    840840prototype:
    841841
    842 .. code:: c
     842.. code-block:: c
    843843
    844844    int rtems_shell_rtems_main_whoami(
     
    849849The configuration structure for the ``whoami`` has the following prototype:
    850850
    851 .. code:: c
     851.. code-block:: c
    852852
    853853    extern rtems_shell_cmd_t rtems_shell_WHOAMI_Command;
     
    861861**SYNOPSYS:**
    862862
    863 .. code:: shell
     863.. code-block:: shell
    864864
    865865    getenv variable
     
    882882The following is an example of how to use ``getenv``:
    883883
    884 .. code:: shell
     884.. code-block:: shell
    885885
    886886    SHLL [/] $ getenv BASEPATH
     
    907907prototype:
    908908
    909 .. code:: c
     909.. code-block:: c
    910910
    911911    int rtems_shell_rtems_main_getenv(
     
    916916The configuration structure for the ``getenv`` has the following prototype:
    917917
    918 .. code:: c
     918.. code-block:: c
    919919
    920920    extern rtems_shell_cmd_t rtems_shell_GETENV_Command;
     
    928928**SYNOPSYS:**
    929929
    930 .. code:: shell
     930.. code-block:: shell
    931931
    932932    setenv variable [value]
     
    951951The following is an example of how to use ``setenv``:
    952952
    953 .. code:: shell
     953.. code-block:: shell
    954954
    955955    SHLL [/] $ setenv BASEPATH /mnt/hda1
     
    975975prototype:
    976976
    977 .. code:: c
     977.. code-block:: c
    978978
    979979    int rtems_shell_rtems_main_setenv(
     
    984984The configuration structure for the ``setenv`` has the following prototype:
    985985
    986 .. code:: c
     986.. code-block:: c
    987987
    988988    extern rtems_shell_cmd_t rtems_shell_SETENV_Command;
     
    996996**SYNOPSYS:**
    997997
    998 .. code:: shell
     998.. code-block:: shell
    999999
    10001000    unsetenv variable
     
    10161016The following is an example of how to use ``unsetenv``:
    10171017
    1018 .. code:: shell
     1018.. code-block:: shell
    10191019
    10201020    SHLL [/] $ unsetenv BASEPATH
     
    10401040following prototype:
    10411041
    1042 .. code:: c
     1042.. code-block:: c
    10431043
    10441044    int rtems_shell_rtems_main_unsetenv(
     
    10491049The configuration structure for the ``unsetenv`` has the following prototype:
    10501050
    1051 .. code:: c
     1051.. code-block:: c
    10521052
    10531053    extern rtems_shell_cmd_t rtems_shell_UNSETENV_Command;
     
    10611061**SYNOPSYS:**
    10621062
    1063 .. code:: c
     1063.. code-block:: c
    10641064
    10651065    time command [argument ...]
     
    10821082The following is an example of how to use ``time``:
    10831083
    1084 .. code:: shell
     1084.. code-block:: shell
    10851085
    10861086    SHLL [/] $ time cp -r /nfs/directory /c
     
    11061106prototype:
    11071107
    1108 .. code:: c
     1108.. code-block:: c
    11091109
    11101110    int rtems_shell_rtems_main_time(
     
    11151115The configuration structure for the ``time`` has the following prototype:
    11161116
    1117 .. code:: c
     1117.. code-block:: c
    11181118
    11191119    extern rtems_shell_cmd_t rtems_shell_TIME_Command;
     
    11271127**SYNOPSYS:**
    11281128
    1129 .. code:: shell
     1129.. code-block:: shell
    11301130
    11311131    logoff
     
    11501150The following is an example of how to use ``logoff``:
    11511151
    1152 .. code:: shell
     1152.. code-block:: shell
    11531153
    11541154    SHLL [/] $ logoff
     
    11751175prototype:
    11761176
    1177 .. code:: c
     1177.. code-block:: c
    11781178
    11791179    int rtems_shell_rtems_main_logoff(
     
    11841184The configuration structure for the ``logoff`` has the following prototype:
    11851185
    1186 .. code:: c
     1186.. code-block:: c
    11871187
    11881188    extern rtems_shell_cmd_t rtems_shell_LOGOFF_Command;
     
    11961196**SYNOPSYS:**
    11971197
    1198 .. code:: shell
     1198.. code-block:: shell
    11991199
    12001200    rtc
     
    12211221**SYNOPSYS:**
    12221222
    1223 .. code:: shell
     1223.. code-block:: shell
    12241224
    12251225    exit
     
    12421242The following is an example of how to use ``exit``:
    12431243
    1244 .. code:: shell
     1244.. code-block:: shell
    12451245
    12461246    SHLL [/] $ exit
  • shell/memory_commands.rst

    r53d00e6 r2592441  
    4343**SYNOPSYS:**
    4444
    45 .. code:: shell
     45.. code-block:: shell
    4646
    4747    mdump [address [length [size]]]
     
    7474The following is an example of how to use ``mdump``:
    7575
    76 .. code:: shell
     76.. code-block:: shell
    7777
    7878    SHLL [/] $ mdump 0x10000 32
     
    106106prototype:
    107107
    108 .. code:: c
     108.. code-block:: c
    109109
    110110    int rtems_shell_rtems_main_mdump(
     
    115115The configuration structure for the ``mdump`` has the following prototype:
    116116
    117 .. code:: c
     117.. code-block:: c
    118118
    119119    extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
     
    127127**SYNOPSYS:**
    128128
    129 .. code:: shell
     129.. code-block:: shell
    130130
    131131    wdump [address [length]]
     
    156156The following is an example of how to use ``wdump``:
    157157
    158 .. code:: shell
     158.. code-block:: shell
    159159
    160160    SHLL [/] $ wdump 0x02010000 32
     
    182182prototype:
    183183
    184 .. code:: c
     184.. code-block:: c
    185185
    186186    int rtems_shell_rtems_main_wdump(
     
    191191The configuration structure for the ``wdump`` has the following prototype:
    192192
    193 .. code:: c
     193.. code-block:: c
    194194
    195195    extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
     
    203203**SYNOPSYS:**
    204204
    205 .. code:: shell
     205.. code-block:: shell
    206206
    207207    ldump [address [length]]
     
    232232The following is an example of how to use ``ldump``:
    233233
    234 .. code:: shell
     234.. code-block:: shell
    235235
    236236    SHLL [/] $ ldump 0x02010000 32
     
    258258prototype:
    259259
    260 .. code:: c
     260.. code-block:: c
    261261
    262262    int rtems_shell_rtems_main_ldump(
     
    267267The configuration structure for the ``ldump`` has the following prototype:
    268268
    269 .. code:: c
     269.. code-block:: c
    270270
    271271    extern rtems_shell_cmd_t rtems_shell_LDUMP_Command;
     
    279279**SYNOPSYS:**
    280280
    281 .. code:: shell
     281.. code-block:: shell
    282282
    283283    medit address value1 [value2 ... valueN]
     
    302302The following is an example of how to use ``medit``:
    303303
    304 .. code:: shell
     304.. code-block:: shell
    305305
    306306    SHLL [/] $ mdump 0x02000000 32
     
    332332prototype:
    333333
    334 .. code:: c
     334.. code-block:: c
    335335
    336336    int rtems_shell_rtems_main_medit(
     
    341341The configuration structure for the ``medit`` has the following prototype:
    342342
    343 .. code:: c
     343.. code-block:: c
    344344
    345345    extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
     
    353353**SYNOPSYS:**
    354354
    355 .. code:: shell
     355.. code-block:: shell
    356356
    357357    mfill address length value
     
    383383detect the pattern has been corrupted and generates a fatal error.
    384384
    385 .. code:: shell
     385.. code-block:: shell
    386386
    387387    SHLL [/] $ mdump 0x23d89a0 16
     
    412412prototype:
    413413
    414 .. code:: c
     414.. code-block:: c
    415415
    416416    int rtems_shell_rtems_main_mfill(
     
    422422following prototype:
    423423
    424 .. code:: c
     424.. code-block:: c
    425425
    426426    extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
     
    434434**SYNOPSYS:**
    435435
    436 .. code:: shell
     436.. code-block:: shell
    437437
    438438    mmove dst src length
     
    455455The following is an example of how to use ``mmove``:
    456456
    457 .. code:: shell
     457.. code-block:: shell
    458458
    459459    SHLL [/] $ mdump 0x023d99a0 16
     
    485485prototype:
    486486
    487 .. code:: c
     487.. code-block:: c
    488488
    489489    int rtems_shell_rtems_main_mmove(
     
    494494The configuration structure for the ``mmove`` has the following prototype:
    495495
    496 .. code:: c
     496.. code-block:: c
    497497
    498498    extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
     
    506506**SYNOPSYS:**
    507507
    508 .. code:: shell
     508.. code-block:: shell
    509509
    510510    malloc [walk]
     
    565565The following is an example of how to use the ``malloc`` command.
    566566
    567 .. code:: shell
     567.. code-block:: shell
    568568
    569569    SHLL [/] $ malloc
     
    626626which has the following prototype:
    627627
    628 .. code:: c
     628.. code-block:: c
    629629
    630630    int rtems_shell_rtems_main_malloc(
     
    635635The configuration structure for the ``malloc`` has the following prototype:
    636636
    637 .. code:: c
     637.. code-block:: c
    638638
    639639    extern rtems_shell_cmd_t rtems_shell_MALLOC_Command;
  • shell/network_commands.rst

    r53d00e6 r2592441  
    3636**SYNOPSYS:**
    3737
    38 .. code:: shell
     38.. code-block:: shell
    3939
    4040    netstats [-Aimfpcut]
     
    8383routing table:
    8484
    85 .. code:: shell
     85.. code-block:: shell
    8686
    8787    [/] $ netstats -i
     
    9696statistics:
    9797
    98 .. code:: shell
     98.. code-block:: shell
    9999
    100100    [/] $ netstats -m
     
    110110print the interface statistics:
    111111
    112 .. code:: shell
     112.. code-block:: shell
    113113
    114114    [/] $ netstats -f
     
    128128print IP statistics:
    129129
    130 .. code:: shell
     130.. code-block:: shell
    131131
    132132    [/] $ netstats -p
     
    140140statistics:
    141141
    142 .. code:: shell
     142.. code-block:: shell
    143143
    144144    [/] $ netstats -c
     
    151151statistics:
    152152
    153 .. code:: shell
     153.. code-block:: shell
    154154
    155155    [/] $ netstats -u
     
    159159statistics:
    160160
    161 .. code:: shell
     161.. code-block:: shell
    162162
    163163    [/] $ netstats -t
     
    200200which has the following prototype:
    201201
    202 .. code:: c
     202.. code-block:: c
    203203
    204204    int rtems_shell_rtems_main_netstats(
     
    209209The configuration structure for the ``netstats`` has the following prototype:
    210210
    211 .. code:: c
     211.. code-block:: c
    212212
    213213    extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
     
    221221**SYNOPSYS:**
    222222
    223 .. code:: shell
     223.. code-block:: shell
    224224
    225225    ifconfig
     
    246246The following is an example of how to use ``ifconfig``:
    247247
    248 .. code:: shell
     248.. code-block:: shell
    249249
    250250    ************ INTERFACE STATISTICS ************
     
    280280following prototype:
    281281
    282 .. code:: c
     282.. code-block:: c
    283283
    284284    int rtems_shell_rtems_main_ifconfig(
     
    289289The configuration structure for the ``ifconfig`` has the following prototype:
    290290
    291 .. code:: c
     291.. code-block:: c
    292292
    293293    extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
     
    301301**SYNOPSYS:**
    302302
    303 .. code:: shell
     303.. code-block:: shell
    304304
    305305    route [subcommand] [args]
     
    314314Command templates include the following:
    315315
    316 .. code:: shell
     316.. code-block:: shell
    317317
    318318    route [add|del] -net IP_ADDRESS gw GATEWAY_ADDRESS [netmask MASK]
     
    335335a new route:
    336336
    337 .. code:: c
     337.. code-block:: shell
    338338
    339339    [/] $ route
     
    382382prototype:
    383383
    384 .. code:: c
     384.. code-block:: c
    385385
    386386    int rtems_shell_rtems_main_route(
     
    391391The configuration structure for the ``route`` has the following prototype:
    392392
    393 .. code:: c
     393.. code-block:: c
    394394
    395395    extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
     
    403403**SYNOPSYS:**
    404404
    405 .. code:: shell
     405.. code-block:: shell
    406406
    407407    ping [-AaDdfnoQqRrv] [-c count] [-G sweepmaxsize] [-g sweepminsize]
     
    602602The following is an example of how to use ``oing`` to ping:
    603603
    604 .. code:: shell
     604.. code-block:: shell
    605605
    606606    [/] # ping 10.10.10.1
     
    641641prototype:
    642642
    643 .. code:: c
     643.. code-block:: c
    644644
    645645    int rtems_shell_rtems_main_ping(
     
    650650The configuration structure for the ``ping`` has the following prototype:
    651651
    652 .. code:: c
     652.. code-block:: c
    653653
    654654    extern rtems_shell_cmd_t rtems_shell_PING_Command;
    655 
  • shell/rtems_specific_commands.rst

    r53d00e6 r2592441  
    6565**SYNOPSYS:**
    6666
    67 .. code:: shell
     67.. code-block:: shell
    6868
    6969    shutdown
     
    8383The following is an example of how to use ``shutdown``:
    8484
    85 .. code:: shell
     85.. code-block:: shell
    8686
    8787    SHLL [/] $ shutdown
     
    107107The configuration structure for the ``shutdown`` has the following prototype:
    108108
    109 .. code:: c
     109.. code-block:: c
    110110
    111111    extern rtems_shell_cmd_t rtems_shell_SHUTDOWN_Command;
     
    119119**SYNOPSYS:**
    120120
    121 .. code:: shell
     121.. code-block:: shell
    122122
    123123    cpuuse [-r]
     
    145145The following is an example of how to use ``cpuuse``:
    146146
    147 .. code:: shell
     147.. code-block:: shell
    148148
    149149    SHLL [/] $ cpuuse
     
    191191prototype:
    192192
    193 .. code:: c
     193.. code-block:: c
    194194
    195195    int rtems_shell_rtems_main_cpuuse(
     
    200200The configuration structure for the ``cpuuse`` has the following prototype:
    201201
    202 .. code:: c
     202.. code-block:: c
    203203
    204204    extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
     
    212212**SYNOPSYS:**
    213213
    214 .. code:: shell
     214.. code-block:: shell
    215215
    216216    stackuse
     
    236236The following is an example of how to use ``stackuse``:
    237237
    238 .. code:: shell
     238.. code-block:: shell
    239239
    240240    SHLL [/] $ stackuse
     
    266266following prototype:
    267267
    268 .. code:: c
     268.. code-block:: c
    269269
    270270    int rtems_shell_rtems_main_stackuse(
     
    275275The configuration structure for the ``stackuse`` has the following prototype:
    276276
    277 .. code:: c
     277.. code-block:: c
    278278
    279279    extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
     
    287287**SYNOPSYS:**
    288288
    289 .. code:: shell
     289.. code-block:: shell
    290290
    291291    perioduse [-r]
     
    314314The following is an example of how to use ``perioduse``:
    315315
    316 .. code:: shell
     316.. code-block:: shell
    317317
    318318    SHLL [/] $ perioduse
     
    361361which has the following prototype:
    362362
    363 .. code:: c
     363.. code-block:: c
    364364
    365365    int rtems_shell_rtems_main_perioduse(
     
    370370The configuration structure for the ``perioduse`` has the following prototype:
    371371
    372 .. code:: c
     372.. code-block:: c
    373373
    374374    extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
     
    382382**SYNOPSYS:**
    383383
    384 .. code:: shell
     384.. code-block:: shell
    385385
    386386    profreport
     
    404404The following is an example of how to use ``profreport``:
    405405
    406 .. code:: shell
     406.. code-block:: shell
    407407
    408408    SHLL [/] $ profreport
     
    474474The configuration structure for the ``profreport`` has the following prototype:
    475475
    476 .. code:: c
     476.. code-block:: c
    477477
    478478    extern rtems_shell_cmd_t rtems_shell_PROFREPORT_Command;
     
    486486**SYNOPSYS:**
    487487
    488 .. code:: shell
     488.. code-block:: shell
    489489
    490490    wkspace
     
    519519The following is an example of how to use ``wkspace``:
    520520
    521 .. code:: shell
     521.. code-block:: shell
    522522
    523523    SHLL [/] $ wkspace
     
    549549prototype:
    550550
    551 .. code:: c
     551.. code-block:: c
    552552
    553553    int rtems_shell_rtems_main_wkspace(
     
    558558The configuration structure for the ``wkspace`` has the following prototype:
    559559
    560 .. code:: c
     560.. code-block:: c
    561561
    562562    extern rtems_shell_cmd_t rtems_shell_WKSPACE_Command;
     
    570570**SYNOPSYS:**
    571571
    572 .. code:: shell
     572.. code-block:: shell
    573573
    574574    config
     
    592592The following is an example of how to use ``config``:
    593593
    594 .. code:: shell
     594.. code-block:: shell
    595595
    596596    SHLL [/] $ config
     
    622622prototype:
    623623
    624 .. code:: c
     624.. code-block:: c
    625625
    626626    int rtems_shell_rtems_main_config(
     
    631631The configuration structure for the ``config`` has the following prototype:
    632632
    633 .. code:: c
     633.. code-block:: c
    634634
    635635    extern rtems_shell_cmd_t rtems_shell_CONFIG_Command;
     
    643643**SYNOPSYS:**
    644644
    645 .. code:: shell
     645.. code-block:: shell
    646646
    647647    itask
     
    666666The following is an example of how to use ``itask``:
    667667
    668 .. code:: shell
     668.. code-block:: shell
    669669
    670670    SHLL [/] $ itask
     
    693693prototype:
    694694
    695 .. code:: c
     695.. code-block:: c
    696696
    697697    int rtems_shell_rtems_main_itask(
     
    702702The configuration structure for the ``itask`` has the following prototype:
    703703
    704 .. code:: c
     704.. code-block:: c
    705705
    706706    extern rtems_shell_cmd_t rtems_shell_ITASK_Command;
     
    714714**SYNOPSYS:**
    715715
    716 .. code:: shell
     716.. code-block:: shell
    717717
    718718    extension [id [id ...]]
     
    739739on a system with no user extensions.
    740740
    741 .. code:: shell
     741.. code-block:: shell
    742742
    743743    SHLL [/] $ extension
     
    765765following prototype:
    766766
    767 .. code:: c
     767.. code-block:: c
    768768
    769769    int rtems_shell_rtems_main_extension(
     
    774774The configuration structure for the ``extension`` has the following prototype:
    775775
    776 .. code:: c
     776.. code-block:: c
    777777
    778778    extern rtems_shell_cmd_t rtems_shell_EXTENSION_Command;
     
    786786**SYNOPSYS:**
    787787
    788 .. code:: shell
     788.. code-block:: shell
    789789
    790790    task [id [id ...]]
     
    811811just two Classic API tasks:
    812812
    813 .. code:: shell
     813.. code-block:: shell
    814814
    815815    SHLL [/] $ task
     
    839839prototype:
    840840
    841 .. code:: shell
     841.. code-block:: shell
    842842
    843843    int rtems_shell_rtems_main_task(
     
    848848The configuration structure for the ``task`` has the following prototype:
    849849
    850 .. code:: c
     850.. code-block:: c
    851851
    852852    extern rtems_shell_cmd_t rtems_shell_TASK_Command;
     
    860860**SYNOPSYS:**
    861861
    862 .. code:: shell
     862.. code-block:: shell
    863863
    864864    queue [id [id ... ]]
     
    885885Classic API Message Queues.
    886886
    887 .. code:: shell
     887.. code-block:: shell
    888888
    889889    SHLL [/] $ queue
     
    911911prototype:
    912912
    913 .. code:: c
     913.. code-block:: c
    914914
    915915    int rtems_shell_rtems_main_queue(
     
    920920The configuration structure for the ``queue`` has the following prototype:
    921921
    922 .. code:: c
     922.. code-block:: c
    923923
    924924    extern rtems_shell_cmd_t rtems_shell_QUEUE_Command;
     
    932932**SYNOPSYS:**
    933933
    934 .. code:: shell
     934.. code-block:: shell
    935935
    936936    sema [id [id ... ]]
     
    956956The following is an example of how to use ``sema``:
    957957
    958 .. code:: shell
     958.. code-block:: shell
    959959
    960960    SHLL [/] $ sema
     
    990990prototype:
    991991
    992 .. code:: c
     992.. code-block:: c
    993993
    994994    int rtems_shell_rtems_main_sema(
     
    999999The configuration structure for the ``sema`` has the following prototype:
    10001000
    1001 .. code:: c
     1001.. code-block:: c
    10021002
    10031003    extern rtems_shell_cmd_t rtems_shell_SEMA_Command;
     
    10111011**SYNOPSYS:**
    10121012
    1013 .. code:: shell
     1013.. code-block:: shell
    10141014
    10151015    region [id [id ... ]]
     
    10361036user extensions.
    10371037
    1038 .. code:: shell
     1038.. code-block:: shell
    10391039
    10401040    SHLL [/] $ region
     
    10621062prototype:
    10631063
    1064 .. code:: c
     1064.. code-block:: c
    10651065
    10661066    int rtems_shell_rtems_main_region(
     
    10711071The configuration structure for the ``region`` has the following prototype:
    10721072
    1073 .. code:: c
     1073.. code-block:: c
    10741074
    10751075    extern rtems_shell_cmd_t rtems_shell_REGION_Command;
     
    10831083**SYNOPSYS:**
    10841084
    1085 .. code:: shell
     1085.. code-block:: shell
    10861086
    10871087    part [id [id ... ]]
     
    11081108user extensions.
    11091109
    1110 .. code:: shell
     1110.. code-block:: shell
    11111111
    11121112    SHLL [/] $ part
     
    11341134prototype:
    11351135
    1136 .. code:: c
     1136.. code-block:: c
    11371137
    11381138    int rtems_shell_rtems_main_part(
     
    11431143The configuration structure for the ``part`` has the following prototype:
    11441144
    1145 .. code:: c
     1145.. code-block:: c
    11461146
    11471147    extern rtems_shell_cmd_t rtems_shell_PART_Command;
     
    11551155**SYNOPSYS:**
    11561156
    1157 .. code:: shell
     1157.. code-block:: shell
    11581158
    11591159    object [id [id ...]]
     
    11761176The following is an example of how to use ``object``:
    11771177
    1178 .. code:: shell
     1178.. code-block:: shell
    11791179
    11801180    SHLL [/] $ object 0a010001 1a010002
     
    12061206prototype:
    12071207
    1208 .. code:: c
     1208.. code-block:: c
    12091209
    12101210    int rtems_shell_rtems_main_object(
     
    12161216following prototype:
    12171217
    1218 .. code:: c
     1218.. code-block:: c
    12191219
    12201220    extern rtems_shell_cmd_t rtems_shell_OBJECT_Command;
     
    12281228**SYNOPSYS:**
    12291229
    1230 .. code:: shell
     1230.. code-block:: shell
    12311231
    12321232    driver [major [major ...]]
     
    12521252The following is an example of how to use ``driver``:
    12531253
    1254 .. code:: shell
     1254.. code-block:: shell
    12551255
    12561256    SHLL [/] $ driver
     
    12851285prototype:
    12861286
    1287 .. code:: c
     1287.. code-block:: c
    12881288
    12891289    int rtems_shell_rtems_main_driver(
     
    12941294The configuration structure for the ``driver`` has the following prototype:
    12951295
    1296 .. code:: c
     1296.. code-block:: c
    12971297
    12981298    extern rtems_shell_cmd_t rtems_shell_DRIVER_Command;
     
    13061306**SYNOPSYS:**
    13071307
    1308 .. code:: shell
     1308.. code-block:: shell
    13091309
    13101310    dname
     
    13261326The following is an example of how to use ``dname``:
    13271327
    1328 .. code:: shell
     1328.. code-block:: shell
    13291329
    13301330    EXAMPLE_TBD
     
    13501350prototype:
    13511351
    1352 .. code:: c
     1352.. code-block:: c
    13531353
    13541354    int rtems_shell_rtems_main_dname(
     
    13591359The configuration structure for the ``dname`` has the following prototype:
    13601360
    1361 .. code:: c
     1361.. code-block:: c
    13621362
    13631363    extern rtems_shell_cmd_t rtems_shell_DNAME_Command;
     
    13711371**SYNOPSYS:**
    13721372
    1373 .. code:: shell
     1373.. code-block:: shell
    13741374
    13751375    pthread [id [id ...]]
     
    13961396four POSIX threads:
    13971397
    1398 .. code:: shell
     1398.. code-block:: shell
    13991399
    14001400    SHLL [/] $ pthread
Note: See TracChangeset for help on using the changeset viewer.