Skip to content

Several minor bugs when using sc #31

@mschuene7

Description

@mschuene7

I have written some scripts (ksh + awk) to convert output from a Db2 LUW database in a terminal into sc format. I created a frame to have the header and some leading columns (e.g. primary key columns) fixed. Also, I created advanced macros to change the number of fixed columns, or e.g. process a new SQL query, and import the result into the running sc.

I found the following behaviour:

  • Using sc with a frame + having the mouse turned on, when clicking the mouse the pointer activates a cell displaced by the space of fixed columns and rows. E.g. if I have the mouse pointer hovering ober cell f6, then the action activates cell h9.
  • Using advanced macros works well in most actions. I also can move the cursor up and down echoing "UP" and "DOWN" to sc. However, macro commands "LEFT", "RIGHT", "ENDLEFT", "ENDRIGHT" do not work at all. sc is simply not reacting on them.
  • I was not able to remove a frame. I do not know if that is simply not implemented, and I found my own workaround on that. However, deletion of a frame is definitely something I miss.

When calling sc, it tells me
sc 7.16_1.1.3-pre-alpha 180819 1113
BTW, I am missing a method to get the version displayed in a terminal (e.g. sc -V, or sc --version).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions