Ice: command history navigation like in ghci?

Hi, we are using cal/quark on the mac. But one thing we really miss is a good
command history in ice: (like in normal shells / or new ghci)
- navigate to previous/next enter data
- tab expansion of known strings, are even better functions in scope
Thx, Klaus

There is some support for command history in ICE . The commands can be seen by typing :h on the ICE command line.<br />:spc                               (Show previously executed commands in a numbered list)<br />:pc <command number>               (Execute a previous command indicated by the command number)<br />:npc <number of commands>          (Set the size of the command history)<br />:rr                                (Re-evaluate the last entered CAL expression.)<br /><br />One can also script ICE commands, editing the script in one&#39;s preferred editor. Note that script files support /*.. */ and // style comments and can also contain any other ICE commands, one per line.<br />:script <script file name>         (Run the specified script.)<br /><br />ICE itself just uses the standard Java console which doesn&#39;t support the functionality needed for some fancier shell-like features such as up-down arrow command histories. However, it is possible to write a custom shell (i.e. essentially a Java UI program), to get some of the features you suggest. <br /><br />

Similar Messages

  • ICE Command History

    <p>Hi,</p><p>One way of getting an easy to edit command history is to use JLine as a wrapper for ICE.</p><p>You can download JLine from:</p><p>http://jline.sourceforge.net/</p><p>After you have downloaded and unzipped JLine, copy the JLine.jar file to the Quark distribution directory.</p><p>Then on windows:</p><p>create a new file "set-javacp-extended.bat" in the Quark directory containing the following line:</p><p> set JAVACP_PATH=%JAVACP_PATH%;jline-0.9.9.jar</p><p>edit ICE.bat so that it looks like this:</p><p>@rem This starts ICE with the cal.samples.cws workspace.</p><p>@javacp -DCAL.workspace.spec="StandardVault cal.samples.cws"  jline.ConsoleRunner com.businessobjects.lang.cal.ICE %1 %2 %3 %4 %5 %6 %7 %8 %9</p><p> And then start ICE using ICE.bat as normal, and ICE will run with full command line editing thanks to Jline. </p><p>On UNIX/Mac:</p><p> create a new file "set-javacp-extended.sh" in the Quark directory containing the following line:</p><p>set JAVACP_PATH=$JAVACP_PATH:jline-0.9.9.jar </p><p>edit ICE.sh so that it looks like this:</p><p>#!/bin/sh</p><p># This starts ICE with the cal.samples.cws workspace.</p><p>cd "`dirname "$0"`"</p><p>./javacp-workspace.sh cal.samples.cws jline.ConsoleRunner com.businessobjects.lang.cal.ICE $*</p><p> </p><p>I&#39;m afraid this won&#39;t give you tab completion - that would require updating ICE to use jline directly and supplying some completers...  </p><p>Magnus.</p><p> </p><p> </p><p> </p><p> </p>

    There is some support for command history in ICE . The commands can be seen by typing :h on the ICE command line.<br />:spc                               (Show previously executed commands in a numbered list)<br />:pc <command number>               (Execute a previous command indicated by the command number)<br />:npc <number of commands>          (Set the size of the command history)<br />:rr                                (Re-evaluate the last entered CAL expression.)<br /><br />One can also script ICE commands, editing the script in one&#39;s preferred editor. Note that script files support /*.. */ and // style comments and can also contain any other ICE commands, one per line.<br />:script <script file name>         (Run the specified script.)<br /><br />ICE itself just uses the standard Java console which doesn&#39;t support the functionality needed for some fancier shell-like features such as up-down arrow command histories. However, it is possible to write a custom shell (i.e. essentially a Java UI program), to get some of the features you suggest. <br /><br />

  • Want to know where oracle stores its command history?

    Hi,
    I want to know that as one user execute a command(sql/PL?SQL)...where this command history is stored in oracle....
    like a table is truncate by user...i just wann to know the detail of user who fired it,timestamp.......
    Thanks in advance

    Hi,
    I am also facing a similar situation where I need to get information as to who changed data last month.
    Can anyone please point me to some documents as to how I can get this information or how can I develop an auditing strategy so that next time I can get this info.
    Thanks

  • Command History

    I use TELNET to connect to a Solaris server. I have the following doubts:
    1. I would like to know how to get the command history from the prompt. For example in dos, if we hit the Up Arrow, we get the previous command. I am not getting this in my telnet session at the prompt.
    2. My OS version is SunOS 5.9. Is that equivalent to Solaris9 ?
    3. I usually face the problem of typo error. If I had to type a very big command, and if i made a typing error, I am not able to use backspace button. That adds another control character onto the command. How do we achieve the backspace functionality at the command prompt ?
    Thanks in advance,
    - Prasad P

    1) It depends on which shell you are using, the default shell if you login as root is bourne-shell, which do not have command history. What you should do if you want to have command history is to switch to "bash", "tcsh" or "ksh". (Just type "bash" and you will enter the more feature-rich bash shell).
    2) Yes.
    3) Switch to bash, tcsh, ksh or type "stty erase <backspace>".
    7/M.

  • I5 OS command history

    Hi,
    I am wondering if there is a way to see commands entered by a user in Iseries.
    Something like "history" command in unix and linux.
    We need something like this. Does anybody know how to see command history?
    Best Regards

    You can see the command history (and their associated system messages) in the job log. When you log on to an i5/OS telnet session, the job log is automatically active. To see the job log, you have at least two choices:
    1) At i5/OS command line, type the command DSPJOBLOG+Enter, then press F10 to include detailed messages and page up-down to see the job log contents. If there is too much information, press F10 again to filter out details.
    2) At i5/OS command line, type CALL QCMD+Enter. Then press F10 to include detailed messages. From now on, you will always see the job log's contents on the screen. Use Page Up-Down to scan the log.
    To save the job log of the session, use SIGNOFF LOG(*LIST).
    To force all sessions' job log to be saved (in spooled files named QPJOBLOG), you can modify the job description in R3<sid>400 library to include LOG(4 0 SECLVL) and LOGCLPGM(YES).  Use the command WRKJOBD JOBD(R3<sid>400/*ALL) to do the modification.
    You should also run GO CLEANUP and select option 1 (you will not see it if you do not have sufficient authority) and specify how long (in days) to keep "Job logs and other system output" with "Allow automatic cleanup" = Y.
    Hope this help.
    Satid S.
    IBM Thailand

  • View command history

    Hi-   Is there a way to view your history in script format? What I mean is, view a print-out of your command history like it would appear as if you were executing a series of script commands (in order to view the correct script syntax for whatever you're doing).  The 3D software Maya has this, and it is extremely useful.  I'm guessing Photoshop doesn't have this - ?
    thanks,
    -d

    As far as I know, there is no mask object in photoshop's DOM. Therefore there are no methods to delete it.
    So the only way to do it is using action manager comands. And that is what script listener does.
    Fortunately, there is a library, that already has all the nessesary code: http://www.ps-scripts.com/bb/viewtopic.php?t=318 And it is defenetly more readable then script listener's one.
    You can just copy the functions you need to your script and use them as any other photoshop functions.

  • Run command doesn't remember command history

    Hi All,
    I'm running Windows 8.1, my Run dialog ox is always empty as shown below. Could anyone guide as how to enable Run command history?

    Hi aniruddha.jagdale,
    Is this a domain environment ?Did the run history work correctly before ?Have you made any modification to this machines before ?Will the other history recorded for example the jump list ,windows explorer ?
    According to my experience ,the run history will be recorded by default and it is usually recorded in the following registry keys .
    HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ RunMRU
    For the options in the task and navigation properties ,please check the following options to have a check.
    We can try to login with another account to have a check .
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How history tables like MBEWH applied to Inventory cube 0IC_C03

    Hi BW Gurus,
    Need your advice on this. How actually we can applied history tables like MBEWH, MARCH, MCHBH, MKOLH, MSKUH link with the cube? Is it create as master data or create customer exist to 2LIS_03_BF data source?
    As my concern is how actually MonthYear data in this history table can map to transaction cube.
    Appreciate your help. Thanks.
    Regards,
    Jeff ([email protected])

    HI  Ramanjaneyulu ,
    Follow these steps & PDF FILE AT THE END.
    1. Activation:
    Activate the extract structure MC03BF0 for the corresponding DataSources
    2LIS_03_BX/2LIS_03_BF in the LO cockpit (transaction code in R/3: LBWE).
    2. Initialization:
    Initialization of the current stock (opening balance) in the R/3 source system with
    DataSource 2LIS_03_BX (transaction code in R/3: MCNB)
    Data is added to the setup table MC03BX0SETUP.
    3. Setup of statistical data:
    You can find the setup of statistical data under transaction SBIW in the R/3 system or use transaction code OLI1BW for material movement and transaction OLIZBW revolutions.
    4. Loading the opening stock balance (2LIS_03_BX):
    In the InfoPackage, choose the upload mode “Create opening balance”.
    5. Compressing the request:
    Compress the request containing the opening stock that was just uploaded. Make sure the "No marker update" indicator is not set. Please consider note very carefully 643687 before you carry out the compression of requests in stock InfoCubes.
    6. Loading the historical movements:
    Choose the upload mode "Initializing the delta process".
    7. Compress the request:
    After successfully uploading the historical material movements, the associated request has to be compressed. You must make sure the "No marker update"
    indicator is set.
    8. Start the unserialized V3 update or queued delta control run:
    Transaction code: SBIW. Data is written from the extraction queue or central update table into the delta queue (transaction code in R/3: RSA7). Data is now available for extraction for BI system.
    9. Start delta uploads:
    Successive (for example, daily) delta uploads can be started with the DataSource
    2LIS_03_BF from this point in time on.
    <b>PDF ON INVENTORY:</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Thanks,
    kiran

  • Equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT

    Hi,
    What is the equivalent command in Reports like Sapscripts's PROTECT and ENDPROTECT?
    - Selva

    Hi,
    I don't think you have any particular command for that in reports. but if you are talking about headers / footers then you may use the events TOP-OF-PAGE and END-OF-PAGE.
    Regards,
    Anand Mandalika.

  • How to Clean the Command History in SAP Logon Screen

    Hi
    Can any one let me know on how to clean the Command History (Where we generally enter the T Codes) in SAP Logon Screen.
    I dont want to List/see all the Previous command Hits in drop down box.
    Thanks
    Dan

    Hi Eric and Markus,
    We found the Solution and off course we did good R & D, Finally I am able to implement the fix to Clear the Command Line History.
    All I did is I Disabled the Permissions for Code Folder (Right Click > Permissions > Deny) in Regedit.
    Thats It, The Commands stopped storing in the History.
    Thank you Erick and Markus.
    Rg
    Dan

  • Command history in sh

    Hello all,
    do I understand this right ... that in solaris 10 only csh ksh have this command history feature, sh does not have it?
    if I m wrong, then how to enable command history in sh. thanks.
    Regards!

    You are partially right.
    sh doesn't do command history, but most of the other shells available in Solaris 10 do; ksh, tcsh, bash probably csh and maybe some others which i might have forgotten.
    //Magnus

  • Where can I find the LOG file for bash/command history typed into Terminal?

    Where can I find the LOG file for bash/command history typed into Terminal?
    For 2 weeks ago I was searching for a log file on my server. Somehow I opend a file where I could see a list of all bash-commands I had ever entered into OSX Terminal.
    Now I need this file.. but cant find it.
    What is the official location for this LOG file?
    Thank you so much for helping.

    cat .bash_history

  • Sqlplus command history

    Hi,
    is there any command history available inside of sqlplus (or svrmgrl)?
    Thank you.

    <flame>
    i don't think sqlplus has been updated since oracle 5. after all what would separate dba's from the rest of us if we could just the up arrow instead of 1c/this/that blah
    next thing your'll be asking for intellegent column widths instead of the set a10 rubbish
    what do you think this is postgres?
    </flame>

  • Solaris10 Command history in $HISTFILE

    Solaris 10 Experts
    Recently we upgraded our Solaris8 boxes to Solaris 10 ( all except our nfs box which is still Sol8). I have noticed that on the Sol10 boxes the command history is being written to $HOME/.sh_history instead of $HOME/$HISTFILE in a particular scenario.
    ==== This is what I have in .profile ( home dir is nfs mounted )====
    export HISTFILE="$HOME/.history.`logname`"
    export HISTSIZE=2000
    We use op command to login as the applicatin id. Here are the sequence of events that will give a better understanding of the problem
    e.g my id is "jsmith", application id is "catprod", app is a distributed application on "app1", "app2" , one nfs box "appnfs" and one dbbox "appdb".
    1. Login to box app1( Solaris 10)
    2. op in as the application id
    3. HISTFILE is .history.myid
    ( no issues so far , commands are written to the above file as expected )
    4. ssh to box app2 (Solaris 10)
    5 HISTFILE is .history.catprod
    ( But the commands are always beting written to $HOME/.sh_history file)
    6. ssh to box appnfs ( Solaris 8)
    7. HISTFILE is .history.catprod
    ( no issues , commands are always written to the above file as expected )
    We have the same application running in a UAT environment on Solaris 8 boxes. No issues here always writes to whatever $HISTFILE points to.
    My Questions:
    Why is not always writing to whatever $HISTFILE points to?
    Is this because of the home directory mounted from a nfs box which is on Solaris8.?
    Any pointers will be greatly appreciated. Thanks for your valuable time in advance.

    We just found that if I invoke another shell after I log in it starts to write to the file whatever $HISTFILE points to.
    A workaround may be, but not a acceptable solution.

  • Prevent a command to show up in the command history

    Can I prevent a command to show up in the command history?
    ITextModelCmds::TypeTextCmd does what I want but since I'm calling that command to update some text in order to stay synced with a change the user did, I don't want it to show up in the command history as an entry.
    A command sequence is not the solution as the command is executed in an observer which is notified on the users change.
    I want to circumvent reimplementing TypeTextCmd on my own.
    Regards,
    Martin

    I resolved the problem by regenerating the PDF -- by printing to Postscript and then distilling. I'm now in the process of adding the file information in Properties and making bookmarks again. I trust these additional things don't break the store again.
    Apparently there was some problem somewhere that my store was aware of but that InDesign, Acrobat, and ACS were unaware of.

Maybe you are looking for

  • Remove name of the item on display!!!

    Hello I have created a text item and when I show it the name is display above the content of the item. I don't want the name of the item to be display. How can I remove that??. There is also a line that is display between the name of the item and its

  • No sound in photobooth or imovie!?

    I just tried recording a video using photobooth and when i played it back the sound didn't work. It has definitely worked before and i tried it again and it didn't work so it's not random there must be something wrong with it. I looked online to see

  • My Wifi connection is fine and will connect to safari, but my apps wont connect, they say no internet connection, please help me

    Using my wifi, i can connect to safari fine, but my apps like; twitter, youtube, facebook and other apps that require internet connecton wont connect at all, i have tried resetting my network but that has not helped, please help me!

  • How do I seperate code in BSP ?

    Hi, How do I seperate code in BSP ? (I do not want to make classes or "external" FM.) In abap I can use the form-statement. form ShowConfirmedPO. endform //Martin

  • Propagate JTree.

    I am very new to JAVA. I am building a GUI where I need each of a set of menu buttons to build a tree. I am having problems with the event handling part of JAVA because I need to build not a static tree but on that's built as a result of clicking the